/packages/inputmethods/PinyinIME/jni/share/ |
dicttrie.cpp | 112 bool DictTrie::save_dict(FILE *fp) { 113 if (NULL == fp) 116 if (fwrite(&lma_node_num_le0_, sizeof(size_t), 1, fp) != 1) 119 if (fwrite(&lma_node_num_ge1_, sizeof(size_t), 1, fp) != 1) 122 if (fwrite(&lma_idx_buf_len_, sizeof(size_t), 1, fp) != 1) 125 if (fwrite(&top_lmas_num_, sizeof(size_t), 1, fp) != 1) 128 if (fwrite(root_, sizeof(LmaNodeLE0), lma_node_num_le0_, fp) 132 if (fwrite(nodes_ge1_, sizeof(LmaNodeGE1), lma_node_num_ge1_, fp) 136 if (fwrite(lma_idx_buf_, sizeof(unsigned char), lma_idx_buf_len_, fp) != 153 FILE *fp = fopen(filename, "wb") local [all...] |
/system/core/debuggerd/ |
tombstone.c | 171 FILE *fp; local 174 if ((fp = fopen(path, "r"))) { 175 threadname = fgets(threadnamebuf, sizeof(threadnamebuf), fp); 176 fclose(fp); 190 if ((fp = fopen(path, "r"))) { 191 procname = fgets(procnamebuf, sizeof(procnamebuf), fp); 192 fclose(fp);
|
/system/core/libnetutils/ |
ifc_utils.c | 654 FILE *fp; local 657 fp = fopen("/proc/net/route", "r"); 658 if (fp == NULL) 661 if (fscanf(fp, "%*[^\n]\n") < 0) { 662 fclose(fp); 667 int nread = fscanf(fp, "%63s%X%X%X%d%d%d%X%d%d%d\n", 688 fclose(fp); 707 FILE *fp; local 709 fp = fopen("/proc/net/route", "r"); 710 if (fp == NULL [all...] |
/system/netd/ |
BandwidthController.cpp | 674 FILE *fp; local 679 fp = fopen(fname, "r"); 681 if (!fp) { 685 scanRes = fscanf(fp, "%lld", bytes); 687 fclose(fp); 725 FILE *fp; local 729 fp = fopen(fname, "w"); 731 if (!fp) { 735 fprintf(fp, "%lld\n", bytes); 736 fclose(fp); [all...] |
CommandListener.cpp | 939 FILE *fp = fopen("\/proc\/net\/dev", "r"); local [all...] |
/system/vold/ |
VolumeManager.cpp | 1120 FILE *fp; local 1123 if (!(fp = fopen("/proc/mounts", "r"))) { 1135 while(fgets(line, sizeof(line), fp)) { 1157 fclose(fp); 1243 FILE* fp; local 1294 FILE* fp; local 1456 FILE *fp; local [all...] |
/bionic/libc/bionic/ |
pthread_debug.c | 166 FILE *fp = fopen(data, "r"); local 167 if(fp) { 168 while(fgets(data, sizeof(data), fp)) { 175 fclose(fp);
|
/dalvik/vm/ |
Exception.cpp | 718 u4* fp = self->interpSave.curFrame; local 724 StackSaveArea* saveArea = SAVEAREA_FROM_FP(fp); 761 fp = saveArea->prevFrame; // this is the break frame 762 saveArea = SAVEAREA_FROM_FP(fp); 763 fp = saveArea->prevFrame; // this may be a good one 764 while (fp != NULL) { 765 if (!dvmIsBreakFrame((u4*)fp)) { 766 saveArea = SAVEAREA_FROM_FP(fp); 771 fp = SAVEAREA_FROM_FP(fp)->prevFrame 827 void* fp; local [all...] |
/dalvik/vm/interp/ |
Interp.cpp | 540 u4* fp; local 543 for (fp = thread->interpSave.curFrame; fp != NULL; 544 fp = saveArea->prevFrame) { 547 saveArea = SAVEAREA_FROM_FP(fp); 550 if (!dvmIsBreakFrame((u4*)fp) && !dvmIsNativeMethod(method)) 552 prevFp = fp; 554 if (fp == NULL) { 566 fp = prevFp; 567 assert(!dvmIsBreakFrame((u4*)fp)); [all...] |
/dalvik/vm/mterp/out/ |
InterpC-allstubs.cpp | 222 * Assumes the existence of "u4* fp". 229 (fp[(_idx)]) : (assert(!"bad reg"),1969) ) 232 (fp[(_idx)] = (u4)(_val)) : (assert(!"bad reg"),1969) ) 239 getLongFromArray(fp, (_idx)) : (assert(!"bad reg"),1969) ) 242 (void)putLongToArray(fp, (_idx), (_val)) : assert(!"bad reg") ) 245 (*((float*) &fp[(_idx)])) : (assert(!"bad reg"),1969.0f) ) 248 (*((float*) &fp[(_idx)]) = (_val)) : (assert(!"bad reg"),1969.0f) ) 251 getDoubleFromArray(fp, (_idx)) : (assert(!"bad reg"),1969.0) ) 254 (void)putDoubleToArray(fp, (_idx), (_val)) : assert(!"bad reg") ) 256 # define GET_REGISTER(_idx) (fp[(_idx)] 405 #define fp macro 4064 #undef fp macro [all...] |
InterpC-mips.cpp | 222 * Assumes the existence of "u4* fp". 229 (fp[(_idx)]) : (assert(!"bad reg"),1969) ) 232 (fp[(_idx)] = (u4)(_val)) : (assert(!"bad reg"),1969) ) 239 getLongFromArray(fp, (_idx)) : (assert(!"bad reg"),1969) ) 242 (void)putLongToArray(fp, (_idx), (_val)) : assert(!"bad reg") ) 245 (*((float*) &fp[(_idx)])) : (assert(!"bad reg"),1969.0f) ) 248 (*((float*) &fp[(_idx)]) = (_val)) : (assert(!"bad reg"),1969.0f) ) 251 getDoubleFromArray(fp, (_idx)) : (assert(!"bad reg"),1969.0) ) 254 (void)putDoubleToArray(fp, (_idx), (_val)) : assert(!"bad reg") ) 256 # define GET_REGISTER(_idx) (fp[(_idx)] 405 #define fp macro 2169 #undef fp macro [all...] |
InterpC-portable.cpp | 222 * Assumes the existence of "u4* fp". 229 (fp[(_idx)]) : (assert(!"bad reg"),1969) ) 232 (fp[(_idx)] = (u4)(_val)) : (assert(!"bad reg"),1969) ) 239 getLongFromArray(fp, (_idx)) : (assert(!"bad reg"),1969) ) 242 (void)putLongToArray(fp, (_idx), (_val)) : assert(!"bad reg") ) 245 (*((float*) &fp[(_idx)])) : (assert(!"bad reg"),1969.0f) ) 248 (*((float*) &fp[(_idx)]) = (_val)) : (assert(!"bad reg"),1969.0f) ) 251 getDoubleFromArray(fp, (_idx)) : (assert(!"bad reg"),1969.0) ) 254 (void)putDoubleToArray(fp, (_idx), (_val)) : assert(!"bad reg") ) 256 # define GET_REGISTER(_idx) (fp[(_idx)] 1128 u4* fp; \/\/ frame pointer local [all...] |
InterpC-x86.cpp | 222 * Assumes the existence of "u4* fp". 229 (fp[(_idx)]) : (assert(!"bad reg"),1969) ) 232 (fp[(_idx)] = (u4)(_val)) : (assert(!"bad reg"),1969) ) 239 getLongFromArray(fp, (_idx)) : (assert(!"bad reg"),1969) ) 242 (void)putLongToArray(fp, (_idx), (_val)) : assert(!"bad reg") ) 245 (*((float*) &fp[(_idx)])) : (assert(!"bad reg"),1969.0f) ) 248 (*((float*) &fp[(_idx)]) = (_val)) : (assert(!"bad reg"),1969.0f) ) 251 getDoubleFromArray(fp, (_idx)) : (assert(!"bad reg"),1969.0) ) 254 (void)putDoubleToArray(fp, (_idx), (_val)) : assert(!"bad reg") ) 256 # define GET_REGISTER(_idx) (fp[(_idx)] 405 #define fp macro 2245 #undef fp macro [all...] |
/external/bluetooth/bluedroid/btif/src/ |
btif_dm.c | 1774 FILE *fp; local 1813 FILE *fp; local [all...] |
btif_storage.c | 1224 FILE *fp; local [all...] |
/external/clang/test/SemaCXX/ |
functional-cast.cpp | 66 f fp = 0; local 69 f *fpp = fp_t(&fp); 277 fnptr fp = 0; local 278 (void)fnptr2(fp); 280 void *vp = voidp(fp);
|
overload-call.cpp | 7 float* fp = f(fv); local 126 float* fp = bitfields(bits.uint_bitfield, 0u); local
|
/external/dhcpcd/ |
dhcpcd.c | 142 FILE *fp; local 145 if ((fp = fopen(pidfile, "r")) == NULL) { 149 if (fscanf(fp, "%d", &pid) != 1) 151 fclose(fp); [all...] |
/external/dropbear/ |
scp.c | 1154 static FILE *fp; local 1158 if (fp == NULL && !(fp = fdopen(remout, "w"))) 1160 (void) fprintf(fp, "%c", 0x01); 1161 (void) fprintf(fp, "scp: "); 1163 (void) vfprintf(fp, fmt, ap); 1165 (void) fprintf(fp, "\n"); 1166 (void) fflush(fp);
|
/external/icu4c/extra/uconv/ |
uconv.cpp | 1065 FILE *fp = ecode ? stderr : stdout; local [all...] |
/external/icu4c/i18n/ |
rematch.cpp | 2796 REStackFrame *fp = resetStack(); local [all...] |
/external/icu4c/tools/tzcode/ |
zdump.c | 179 static time_t huntICU(char * name, time_t lot, time_t hit, FILE *fp); 180 static void dumptimeICU(FILE * fp, time_t t); 181 static void showICU(FILE * fp, char * zone, time_t t1, time_t t2); 299 FILE * fp = stdout; local 461 fp = NULL; 482 if ((fp = fopen(path, "w")) == NULL) { 523 newt = huntICU(argv[i], t, newt, fp); 568 if (fp != NULL) { 569 fclose(fp); 871 huntICU(char *name, time_t lot, time_t hit, FILE * fp) [all...] |
/external/libpcap/ |
optimize.c | 2241 struct bpf_insn *fp; local [all...] |
/external/libsepol/src/ |
services.c | 85 int sepol_set_policydb_from_file(FILE * fp) 90 pf.fp = fp; 933 int hidden next_entry(void *buf, struct policy_file *fp, size_t bytes) 937 switch (fp->type) { 939 nread = fread(buf, bytes, 1, fp->fp); 945 if (bytes > fp->len) 947 memcpy(buf, fp->data, bytes); 948 fp->data += bytes 1007 struct policy_file file, *fp; local [all...] |
write.c | 49 struct policy_file *fp; member in struct:policy_data 53 static int avrule_write_list(avrule_t * avrules, struct policy_file *fp); 55 static int ebitmap_write(ebitmap_t * e, struct policy_file *fp) 70 items = put_entry(buf, sizeof(uint32_t), 3, fp); 76 items = put_entry(&bit, sizeof(uint32_t), 1, fp); 80 items = put_entry(&map, sizeof(uint64_t), 1, fp); 100 avtab_ptr_t cur, struct policy_file *fp, 153 ERR(fp->handle, "null entry"); 157 ERR(fp->handle, "entry has both access " 183 ERR(fp->handle, "missing node") 417 struct policy_file *fp = pd->fp; local 445 struct policy_file *fp = pd->fp; local 609 struct policy_file *fp = pd->fp; local 812 struct policy_file *fp = pd->fp; local 837 struct policy_file *fp = pd->fp; local 917 struct policy_file *fp = pd->fp; local 988 struct policy_file *fp = pd->fp; local 1050 struct policy_file *fp = pd->fp; local 1128 struct policy_file *fp = pd->fp; local 1782 struct policy_file *fp = pd->fp; local [all...] |