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

1 2 3

  /nv-g11n/g11n/src/cmd/fsexam/src/
fsexam-log.h 71 FILE *fp; member in struct:_Log_info
file-validate.c 160 FILE *fp = NULL; local
163 fp = fopen (MNTFILENAME, "r");
165 if (fp == NULL) {
170 while (getmntent (fp, &mt) == 0) {
188 FILE *fp = NULL; local
191 fp = setmntent (MNTFILENAME, "r");
193 if (fp == NULL) {
198 while ((mt = getmntent (fp)) == 0) {
fsexam-history.h 58 FILE *fp; /* FILE stream pointer for ~/.fsexam.history */ member in struct:_History_info
fsexam-plaintext.c 47 FILE *fp = NULL; local
73 if ((fp = fdopen (child_stdout, "r")) == NULL) {
78 while (fgets (buf, sizeof (buf), fp) != NULL) {
92 if (fp != NULL)
93 fclose (fp);
109 FILE *fp = NULL; local
144 if ((fp = fdopen (child_stdout, "r")) == NULL) {
150 fgets (buf, sizeof (buf), fp);
186 if (fp != NULL)
187 fclose (fp);
    [all...]
file-filter.c 73 FILE *fp = NULL; local
104 if ((fp = fdopen (child_stdout, "r")) == NULL) {
114 while (fgets (buf, PATH_MAX, fp) != NULL) {
128 fclose (fp);
139 FILE *fp = NULL; local
189 if ((fp = fdopen (child_stdout, "r")) == NULL) {
241 while (fgets (buf, PATH_MAX, fp) != NULL) {
288 fclose (fp);
  /nv-g11n/g11n/src/cmd/xuctblgen/
cstream.h 35 FILE *fp; member in struct:_CStream
42 void CStream_initFile(CStream *stream, FILE *fp);
  /nv-g11n/inputmethod/sunpinyin/slm/src/slm/
sim_sen.cpp 43 FILE *fp = reader->fp; local
47 wint_t wch = fgetwc(fp);
52 if (feof(fp)) {
56 fprintf(stderr, "File read error %d\n", ferror(fp));
sim_sen.h 68 CSIMCharReader(FILE* afp) : fp(afp), buf() { }
72 FILE *fp; member in class:CSIMCharReader
sim_slm.cpp 46 FILE* fp = fopen(fname, "rb"); local
47 if (fp != NULL && fread(&N, sizeof(N), 1, fp)==1 &&
48 fread(&bUseLogPr, sizeof(bUseLogPr), 1, fp)==1) {
51 fread(sz, sizeof(int), N+1, fp);
55 fread(level[lvl], sizeof(TNode), sz[lvl], fp);
58 fread(level[lvl], sizeof(TLeaf), sz[lvl], fp);
63 fclose(fp);
sim_dict.cpp 83 FILE * fp = NULL; local
89 if ((fp = fopen(filename, "r")) == NULL)
91 while (fgets(buf, 1024, fp) != NULL) {
119 fclose(fp);
121 if (fp != NULL)
122 fclose(fp);
155 void CSIMDict::InnerPrint(FILE* fp, wstring & wstr, const TState* pnode)
160 fprintf(fp, "%s %d\n", buf, unsigned(pnode->word_id));
168 InnerPrint(fp, wstr, &(it->second));
  /nv-g11n/inputmethod/sunpinyin/slm/src/slm/tools/
clean_rmrb.cpp 77 FILE *fp = fopen(argv[i], "r"); local
78 while (fgets((char*)buf, sizeof(buf), fp) != NULL) {
87 fclose(fp);
  /nv-g11n/inputmethod/sunpinyin2/src/slm/
sim_sen.cpp 43 FILE *fp = reader->fp; local
47 wint_t wch = fgetwc(fp);
52 if (feof(fp)) {
56 fprintf(stderr, "File read error %d\n", ferror(fp));
sim_sen.h 68 CSIMCharReader(FILE* afp) : fp(afp), buf() { }
72 FILE *fp; member in class:CSIMCharReader
sim_slm.cpp 46 FILE* fp = fopen(fname, "rb"); local
47 if (fp != NULL && fread(&N, sizeof(N), 1, fp)==1 &&
48 fread(&bUseLogPr, sizeof(bUseLogPr), 1, fp)==1) {
51 fread(sz, sizeof(int), N+1, fp);
55 fread(level[lvl], sizeof(TNode), sz[lvl], fp);
58 fread(level[lvl], sizeof(TLeaf), sz[lvl], fp);
63 fclose(fp);
sim_dict.cpp 83 FILE * fp = NULL; local
89 if ((fp = fopen(filename, "r")) == NULL)
91 while (fgets(buf, 1024, fp) != NULL) {
119 fclose(fp);
121 if (fp != NULL)
122 fclose(fp);
155 void CSIMDict::InnerPrint(FILE* fp, wstring & wstr, const TState* pnode)
160 fprintf(fp, "%s %d\n", buf, unsigned(pnode->word_id));
168 InnerPrint(fp, wstr, &(it->second));
  /nv-g11n/inputmethod/sunpinyin2/src/slm/tools/
clean_rmrb.cpp 77 FILE *fp = fopen(argv[i], "r"); local
78 while (fgets((char*)buf, sizeof(buf), fp) != NULL) {
87 fclose(fp);
  /nv-g11n/g11n/src/cmd/mp/
tp1.c 64 FILE *fp; local
75 if( (fp = fopen ( pf->file, "r")) == NULL )
80 while ( fgets(buf, MAXLINE, fp) != NULL ) {
111 if( (fp = fopen ( fpath, "r")) != NULL ) {
116 while(fgets(buf,sizeof(buf),fp)) {
140 fclose(fp);
  /nv-g11n/inputmethod/sunpinyin/slm/src/lexicon/
genPYT.cpp 137 FILE *fp = fopen(argv[3], "w"); local
138 t.print(fp);
139 fclose(fp);
pytrie.cpp 132 CPinyinTrie::print(FILE *fp) const
135 print(getRootNode(), prefix, fp); local
139 CPinyinTrie::print(const TNode* pRoot, std::string& prefix, FILE *fp) const
143 fprintf(fp, "%s", prefix.c_str());
145 fprintf(fp, "(PureGBK)");
156 fprintf(fp, " %s", buf);
158 fprintf(fp, "[x]");
160 fprintf(fp, "[o]");
162 fprintf(fp, "\n");
170 print(pch, prefix, fp);
    [all...]
  /nv-g11n/inputmethod/sunpinyin/slm/src/slm/ids2ngram/
idngram_merge.cpp 116 FILE *fp = fopen(argv[optind++], "rb"); local
117 if (fp == NULL) {
121 idngram_files.push_back(fp);
  /nv-g11n/inputmethod/sunpinyin2/src/slm/ids2ngram/
idngram_merge.cpp 116 FILE *fp = fopen(argv[optind++], "rb"); local
117 if (fp == NULL) {
121 idngram_files.push_back(fp);
  /nv-g11n/inputmethod/sunpinyin2/src/lexicon/
genPYT.cpp 132 FILE *fp = fopen(argv[3], "w"); local
133 t.print(fp);
134 fclose(fp);
  /nv-g11n/g11n/src/cmd/mp/locale/ja_JP.UTF-8/
mktbl.c 59 FILE *fp; local
64 if ((fp = fopen(filename, "r")) == NULL) {
72 while (fgets(line, BUFF, fp)) {
83 fclose(fp);
  /nv-g11n/g11n/src/cmd/auto_ef/hashtable/
data_create.c 48 FILE *fp, *filelist; local
74 if ( (fp = fopen(filename, "r")) == NULL ){
79 while(fgets(fbuf, BUFSIZE, fp) != NULL){
95 fclose(fp);
  /nv-g11n/inputmethod/sunpinyin/ime/src/lexicon/
pytrie.cpp 132 CPinyinTrie::print(FILE *fp) const
135 print(getRootNode(), prefix, fp); local
139 CPinyinTrie::print(const TNode* pRoot, std::string& prefix, FILE *fp) const
143 fprintf(fp, "%s", prefix.c_str());
145 fprintf(fp, "(PureGBK)");
156 fprintf(fp, " %s", buf);
158 fprintf(fp, "[x]");
160 fprintf(fp, "[o]");
162 fprintf(fp, "\n");
170 print(pch, prefix, fp);
    [all...]

Completed in 840 milliseconds

1 2 3