HomeSort by relevance Sort by last modified time
    Searched defs:buf (Results 1 - 25 of 99) sorted by null

1 2 3 4

  /nv-g11n/g11n/src/lib/liblcl/
lcl_buf.c 31 LclBuffer *buf; local
33 buf = (LclBuffer *)malloc(sizeof(LclBuffer));
34 if(buf == (LclBuffer *)NULL)
37 buf->ptr = (char *)malloc(length);
38 if(buf->ptr == (char *)NULL){
39 free(buf);
43 buf->pos = 0;
44 buf->length = length;
46 return buf;
50 _LclBuffer_add(LclBuffer *buf, char *str, int len
    [all...]
  /nv-g11n/inputmethod/sunpinyin/slm/src/slm/
sim_sen.cpp 44 std::deque<TWCHAR> & buf = reader->buf; local
46 for (int i=buf.size(); i <= idx; ) {
53 buf.push_back(TWCHAR(0));
54 return buf.back();
60 buf.push_back(wch);
64 if (idx >= buf.size() && buf.back() == WCH_NULL)
65 return buf.back();
66 return buf[idx]
71 std::deque<TWCHAR>& buf = reader->buf; local
    [all...]
sim_sen.h 68 CSIMCharReader(FILE* afp) : fp(afp), buf() { }
73 std::deque<TWCHAR> buf; member in class:CSIMCharReader
  /nv-g11n/inputmethod/sunpinyin/slm/src/slm/tools/
clean_rmrb.cpp 54 bool processline(unsigned char * buf)
57 unsigned char *dst = buf;
58 while (*buf != 0) {
59 if ((unsigned int)*buf == 0xFF || (unsigned int)*buf == (unsigned int)'\n') {
60 ++buf; continue;
62 if ((unsigned int)*buf == 0x80 && (unsigned int)*(buf+1) == 0x20) {
63 ++buf; continue;
65 if (space && (unsigned int)*buf != (unsigned int)' ' && (unsigned int)*buf != (unsigned int)'\t'
75 unsigned char buf[10240]; local
    [all...]
  /nv-g11n/inputmethod/sunpinyin2/src/slm/
sim_sen.cpp 44 std::deque<TWCHAR> & buf = reader->buf; local
46 for (int i=buf.size(); i <= idx; ) {
53 buf.push_back(TWCHAR(0));
54 return buf.back();
60 buf.push_back(wch);
64 if (idx >= buf.size() && buf.back() == WCH_NULL)
65 return buf.back();
66 return buf[idx]
71 std::deque<TWCHAR>& buf = reader->buf; local
    [all...]
sim_sen.h 68 CSIMCharReader(FILE* afp) : fp(afp), buf() { }
73 std::deque<TWCHAR> buf; member in class:CSIMCharReader
  /nv-g11n/inputmethod/sunpinyin2/src/slm/tools/
clean_rmrb.cpp 54 bool processline(unsigned char * buf)
57 unsigned char *dst = buf;
58 while (*buf != 0) {
59 if ((unsigned int)*buf == 0xFF || (unsigned int)*buf == (unsigned int)'\n') {
60 ++buf; continue;
62 if ((unsigned int)*buf == 0x80 && (unsigned int)*(buf+1) == 0x20) {
63 ++buf; continue;
65 if (space && (unsigned int)*buf != (unsigned int)' ' && (unsigned int)*buf != (unsigned int)'\t'
75 unsigned char buf[10240]; local
    [all...]
  /nv-g11n/g11n/src/lib/iconv/utf-8/utils/
cp720_to_ucs4_generator.c 40 char buf[BUFSIZ], num[100]; local
61 while (fgets(buf, BUFSIZ, stdin)) {
63 while (buf[i] && isspace(buf[i]))
66 if (strncmp(buf + i, "<U", 2) != 0)
70 for (j = 0; isxdigit(buf[i]); i++, j++)
71 num[j] = buf[i];
76 while (!isxdigit(buf[i]))
79 for (j = 0; isxdigit(buf[i]); i++, j++)
80 num[j] = buf[i]
    [all...]
cp720_to_utf8_generator.c 40 char buf[BUFSIZ], num[100]; local
61 while (fgets(buf, BUFSIZ, stdin)) {
63 while (buf[i] && isspace(buf[i]))
66 if (strncmp(buf + i, "<U", 2) != 0)
70 for (j = 0; isxdigit(buf[i]); i++, j++)
71 num[j] = buf[i];
76 while (!isxdigit(buf[i]))
79 for (j = 0; isxdigit(buf[i]); i++, j++)
80 num[j] = buf[i]
    [all...]
sb_to_ucs4_generator.c 40 char buf[BUFSIZ], num[100]; local
61 while (fgets(buf, BUFSIZ, stdin)) {
63 while (buf[i] && isspace(buf[i]))
65 if (buf[i] == '#' || buf[i] == '\0')
68 for (j = 0; !isspace(buf[i]); i++, j++)
69 num[j] = buf[i];
74 while (isspace(buf[i]))
78 if (buf[i] == '#' || buf[i] == '\0')
    [all...]
sb_to_utf8_generator.c 40 char buf[BUFSIZ], num[100]; local
61 while (fgets(buf, BUFSIZ, stdin)) {
63 while (buf[i] && isspace(buf[i]))
65 if (buf[i] == '#' || buf[i] == '\0')
68 for (j = 0; !isspace(buf[i]); i++, j++)
69 num[j] = buf[i];
74 while (isspace(buf[i]))
78 if (buf[i] == '#' || buf[i] == '\0')
    [all...]
ucs4_to_cp720_generator.c 40 char buf[BUFSIZ], num[100]; local
61 while (fgets(buf, BUFSIZ, stdin)) {
63 while (buf[i] && isspace(buf[i]))
65 if (strncmp(buf + i, "<U", 2) != 0)
69 for (j = 0; isxdigit(buf[i]); i++, j++)
70 num[j] = buf[i];
75 while (!isxdigit(buf[i]))
78 for (j = 0; isxdigit(buf[i]); i++, j++)
79 num[j] = buf[i]
    [all...]
ucs4_to_sb_generator.c 45 char buf[BUFSIZ], num[100]; local
66 while (fgets(buf, BUFSIZ, stdin)) {
68 while (buf[i] && isspace(buf[i]))
70 if (buf[i] == '#' || buf[i] == '\0')
73 for (j = 0; !isspace(buf[i]); i++, j++)
74 num[j] = buf[i];
79 while (isspace(buf[i]))
82 if (buf[i] == '#' || buf[i] == '\0')
    [all...]
utf8_to_cp720_generator.c 40 char buf[BUFSIZ], num[100]; local
61 while (fgets(buf, BUFSIZ, stdin)) {
63 while (buf[i] && isspace(buf[i]))
65 if (strncmp(buf + i, "<U", 2) != 0)
69 for (j = 0; isxdigit(buf[i]); i++, j++)
70 num[j] = buf[i];
75 while (!isxdigit(buf[i]))
78 for (j = 0; isxdigit(buf[i]); i++, j++)
79 num[j] = buf[i]
    [all...]
utf8_to_sb_generator.c 45 char buf[BUFSIZ], num[100]; local
66 while (fgets(buf, BUFSIZ, stdin)) {
68 while (buf[i] && isspace(buf[i]))
70 if (buf[i] == '#' || buf[i] == '\0')
73 for (j = 0; !isspace(buf[i]); i++, j++)
74 num[j] = buf[i];
79 while (isspace(buf[i]))
82 if (buf[i] == '#' || buf[i] == '\0')
    [all...]
  /nv-g11n/inputmethod/sunpinyin/ime/src/
imi_data.cpp 53 char buf[512]; local
59 char *dst = buf;
64 memset(&buf[0], 0, sizeof(buf));
65 WCSTOMBS(&buf[0], wstr, sizeof(buf) - 1);
68 printf("%s", buf);
  /nv-g11n/inputmethod/sunpinyin2/src/ime-core/
imi_data.cpp 53 char buf[512]; local
59 char *dst = buf;
64 memset(&buf[0], 0, sizeof(buf));
65 WCSTOMBS(&buf[0], wstr, sizeof(buf) - 1);
68 printf("%s", buf);
  /nv-g11n/g11n/src/cmd/fsexam/src/
file-validate.c 100 struct stat buf; local
108 if (lstat(filename, &buf) < 0){
113 if (! S_ISREG(buf.st_mode)) {
118 if (buf.st_size == 0) {
fsexam-plaintext.c 46 gchar buf[50]; local
53 memset (buf, 0, sizeof (buf));
78 while (fgets (buf, sizeof (buf), fp) != NULL) {
79 if (buf[strlen (buf) - 1] == '\n')
80 buf[strlen (buf) -1] = '\0';
82 if (g_str_has_suffix (buf, "UTF-8"))
108 gchar buf[256]; local
    [all...]
  /nv-g11n/g11n/src/cmd/mp/
tp1.c 65 char buf[MAXLINE]; local
80 while ( fgets(buf, MAXLINE, fp) != NULL ) {
81 FPUTS(buf, stdout);
83 SSCANF(buf, "%s %s", tmpstr, tmpname);
116 while(fgets(buf,sizeof(buf),fp)) {
118 if (!ends_with_NL(buf)) {
125 zapNL(buf);
128 if ((t = strtok(buf, CFFS_STR)) == NULL) {
  /nv-g11n/g11n/src/openwin/lib/locale/iso8859-1/
omText.c 97 XChar2b xchar2b_buf[BUFSIZ], *buf; local
108 buf = xchar2b_buf;
112 (XPointer *) &buf, &left, args, 2) < 0)
omTextEsc.c 93 XChar2b xchar2b_buf[BUFSIZ], *buf; local
104 buf = xchar2b_buf;
108 (XPointer *) &buf, &left, args, 2) < 0)
omTextExt.c 96 XChar2b xchar2b_buf[BUFSIZ], *buf; local
113 buf = xchar2b_buf;
117 (XPointer *) &buf, &left, args, 2) < 0)
  /nv-g11n/locale/tools/
mysort.c 72 char buf[1024]; local
81 while (fgets(buf, 1023, stdin)) {
83 list[n++] = strdup(buf);
  /nv-g11n/g11n/src/lib/iconv/ko/
comb_to_byte.c 199 short buf[BUFSIZ]; local
210 while ((n = read(fd,buf,bufsize)) > 0){
212 write_21(buf[i]);

Completed in 420 milliseconds

1 2 3 4