/external/iproute2/ip/ |
ip6tunnel.c | 257 FILE *fp = fopen("/proc/net/dev", "r"); local 258 if (fp == NULL) { 264 fgets(buf, sizeof(buf), fp); 265 fgets(buf, sizeof(buf), fp); 267 while (fgets(buf, sizeof(buf), fp) != NULL) { 323 if (fp) 324 fclose(fp);
|
/external/openssl/crypto/ec/ |
ec.h | 669 #define d2i_ECPKParameters_fp(fp,x) (EC_GROUP *)ASN1_d2i_fp(NULL, \ 670 (char *(*)())d2i_ECPKParameters,(fp),(unsigned char **)(x)) 671 #define i2d_ECPKParameters_fp(fp,x) ASN1_i2d_fp(i2d_ECPKParameters,(fp), \ 678 int ECPKParameters_print_fp(FILE *fp, const EC_GROUP *x, int off); [all...] |
/external/openssl/include/openssl/ |
ec.h | 669 #define d2i_ECPKParameters_fp(fp,x) (EC_GROUP *)ASN1_d2i_fp(NULL, \ 670 (char *(*)())d2i_ECPKParameters,(fp),(unsigned char **)(x)) 671 #define i2d_ECPKParameters_fp(fp,x) ASN1_i2d_fp(i2d_ECPKParameters,(fp), \ 678 int ECPKParameters_print_fp(FILE *fp, const EC_GROUP *x, int off); [all...] |
/dalvik/vm/mterp/out/ |
InterpC-portdbg.c | 240 * Assumes the existence of "u4* fp". 247 (fp[(_idx)]) : (assert(!"bad reg"),1969) ) 250 (fp[(_idx)] = (u4)(_val)) : (assert(!"bad reg"),1969) ) 257 getLongFromArray(fp, (_idx)) : (assert(!"bad reg"),1969) ) 260 putLongToArray(fp, (_idx), (_val)) : (assert(!"bad reg"),1969) ) 263 (*((float*) &fp[(_idx)])) : (assert(!"bad reg"),1969.0f) ) 266 (*((float*) &fp[(_idx)]) = (_val)) : (assert(!"bad reg"),1969.0f) ) 269 getDoubleFromArray(fp, (_idx)) : (assert(!"bad reg"),1969.0) ) 272 putDoubleToArray(fp, (_idx), (_val)) : (assert(!"bad reg"),1969.0) ) 274 # define GET_REGISTER(_idx) (fp[(_idx)] 1454 u4* fp; \/\/ frame pointer local [all...] |
InterpC-portstd.c | 240 * Assumes the existence of "u4* fp". 247 (fp[(_idx)]) : (assert(!"bad reg"),1969) ) 250 (fp[(_idx)] = (u4)(_val)) : (assert(!"bad reg"),1969) ) 257 getLongFromArray(fp, (_idx)) : (assert(!"bad reg"),1969) ) 260 putLongToArray(fp, (_idx), (_val)) : (assert(!"bad reg"),1969) ) 263 (*((float*) &fp[(_idx)])) : (assert(!"bad reg"),1969.0f) ) 266 (*((float*) &fp[(_idx)]) = (_val)) : (assert(!"bad reg"),1969.0f) ) 269 getDoubleFromArray(fp, (_idx)) : (assert(!"bad reg"),1969.0) ) 272 putDoubleToArray(fp, (_idx), (_val)) : (assert(!"bad reg"),1969.0) ) 274 # define GET_REGISTER(_idx) (fp[(_idx)] 1204 u4* fp; \/\/ frame pointer local [all...] |
InterpAsm-armv5te-vfp.S | 35 r11 (fp) is used by gcc (unless -fomit-frame-pointer is set) 82 /* save/restore the PC and/or FP from the glue struct */ 94 * In C this is "SAVEAREA_FROM_FP(fp)->xtra.currentPc = pc", i.e. 95 * fp - sizeof(StackSaveArea) + offsetof(SaveArea, xtra.currentPc) 300 .save {r4-r10,fp,lr}; \ 301 stmfd sp!, {r4-r10,fp,lr} @ save 9 regs 408 LDMFD_PC "r4-r10,fp" @ restore 9 regs and return 450 GET_VREG(r2, r1) @ r2<- fp[B] 453 SET_VREG(r2, r0) @ fp[A]<- r2 465 GET_VREG(r2, r1) @ r2<- fp[BBBB [all...] |
InterpAsm-armv7-a-neon.S | 35 r11 (fp) is used by gcc (unless -fomit-frame-pointer is set) 82 /* save/restore the PC and/or FP from the glue struct */ 94 * In C this is "SAVEAREA_FROM_FP(fp)->xtra.currentPc = pc", i.e. 95 * fp - sizeof(StackSaveArea) + offsetof(SaveArea, xtra.currentPc) 310 .save {r4-r10,fp,lr}; \ 311 stmfd sp!, {r4-r10,fp,lr} @ save 9 regs 418 LDMFD_PC "r4-r10,fp" @ restore 9 regs and return 460 GET_VREG(r2, r1) @ r2<- fp[B] 462 SET_VREG(r2, r0) @ fp[A]<- r2 474 GET_VREG(r2, r1) @ r2<- fp[BBBB [all...] |
InterpAsm-armv7-a.S | 35 r11 (fp) is used by gcc (unless -fomit-frame-pointer is set) 82 /* save/restore the PC and/or FP from the glue struct */ 94 * In C this is "SAVEAREA_FROM_FP(fp)->xtra.currentPc = pc", i.e. 95 * fp - sizeof(StackSaveArea) + offsetof(SaveArea, xtra.currentPc) 310 .save {r4-r10,fp,lr}; \ 311 stmfd sp!, {r4-r10,fp,lr} @ save 9 regs 418 LDMFD_PC "r4-r10,fp" @ restore 9 regs and return 460 GET_VREG(r2, r1) @ r2<- fp[B] 462 SET_VREG(r2, r0) @ fp[A]<- r2 474 GET_VREG(r2, r1) @ r2<- fp[BBBB [all...] |
/external/chromium/base/ |
mime_util_linux.cc | 136 std::string ReadLine(FILE* fp); 249 FILE* fp = file_util::OpenFile(file, "r"); local 251 if (!fp) 255 while (!feof(fp) && !ferror(fp)) { 256 std::string buf = ReadLine(fp); 310 file_util::CloseFile(fp); 337 std::string IconTheme::ReadLine(FILE* fp) { 338 if (!fp) 344 while ((fgets(buffer, kBufferSize - 1, fp)) != NULL) [all...] |
process_util_unittest.cc | 57 FILE *fp; local 60 fp = fopen("SlowChildProcess.die", "r"); 61 } while (!fp); 62 fclose(fp); 72 FILE *fp = fopen("SlowChildProcess.die", "w"); local 73 fclose(fp);
|
/system/core/debuggerd/ |
debuggerd.c | 283 _LOG(tfd, only_in_tombstone, " r8 %08x r9 %08x 10 %08x fp %08x\n", 384 FILE *fp; local 387 fp = fopen(data, "r"); 388 if(fp) { 389 x = fgets(data, 1024, fp); 390 fclose(fp); 439 FILE *fp; local 457 fp = fopen(data, "r"); 458 if(fp) { 459 while(fgets(data, 1024, fp)) { [all...] |
/dalvik/vm/interp/ |
Interp.c | 522 void* fp; local 525 for (fp = thread->curFrame; fp != NULL; fp = saveArea->prevFrame) { 528 saveArea = SAVEAREA_FROM_FP(fp); 531 if (!dvmIsBreakFrame(fp) && !dvmIsNativeMethod(method)) 533 prevFp = fp; 535 if (fp == NULL) { 547 fp = prevFp; 548 assert(!dvmIsBreakFrame(fp)); [all...] |
/packages/inputmethods/PinyinIME/jni/share/ |
userdict.cpp | 1006 FILE *fp = fopen(file, "w+"); 1007 if (!fp) { 1011 size_t wred = fwrite(&version, 1, 4, fp); 1016 wred += fwrite(&info, 1, sizeof(info), fp); 1018 fclose(fp); 1022 fclose(fp); 1029 FILE *fp = fopen(file, "rb"); 1030 if (!fp) { 1040 int err = fseek(fp, 0, SEEK_END); 1045 size = ftell(fp); [all...] |
/external/chromium/third_party/icu/source/i18n/ |
dtptngen.cpp | 270 fp = new FormatParser(); 274 if (fp == NULL || dtMatcher == NULL || distanceInfo == NULL || patternMap == NULL) { 283 fp = new FormatParser(); 287 if (fp == NULL || dtMatcher == NULL || distanceInfo == NULL || patternMap == NULL) { 300 fp = new FormatParser(); 311 *fp = *(other.fp); 370 if (fp != NULL) delete fp; 396 dtMatcher->set(pattern, fp); [all...] |
/external/icu4c/i18n/ |
dtptngen.cpp | 265 fp = new FormatParser(); 269 if (fp == NULL || dtMatcher == NULL || distanceInfo == NULL || patternMap == NULL) { 278 fp = new FormatParser(); 282 if (fp == NULL || dtMatcher == NULL || distanceInfo == NULL || patternMap == NULL) { 295 fp = new FormatParser(); 306 *fp = *(other.fp); 365 if (fp != NULL) delete fp; 391 dtMatcher->set(pattern, fp); [all...] |
/external/chromium/third_party/icu/source/tools/tzcode/ |
zic.c | 164 static void puttzcode(long code, FILE * fp); 165 static void puttzcode64(zic_t code, FILE * fp); 942 register FILE * fp; local 953 fp = stdin; 954 } else if ((fp = fopen(name, "r")) == NULL) { 964 if (fgets(buf, (int) sizeof buf, fp) != buf) 1018 if (ferror(fp)) { 1023 if (fp != stdin && fclose(fp)) { 1606 register FILE * fp; local [all...] |
/external/icu4c/tools/tzcode/ |
zic.c | 164 static void puttzcode(long code, FILE * fp); 165 static void puttzcode64(zic_t code, FILE * fp); 942 register FILE * fp; local 953 fp = stdin; 954 } else if ((fp = fopen(name, "r")) == NULL) { 964 if (fgets(buf, (int) sizeof buf, fp) != buf) 1018 if (ferror(fp)) { 1023 if (fp != stdin && fclose(fp)) { 1606 register FILE * fp; local [all...] |
/external/srec/portable/src/ |
pstream.c | 855 FILE *fp = NULL; /* real file handle */ local 886 if ((fp = fopen(fullfname, mode)) != NULL) 892 fwrite(data, 1, size, fp); 894 fclose(fp); 906 FILE *fp; local 926 fp = fopen(filename, mode); 928 if (fp == NULL) /* do not have the file, it is fine */ 931 while ((size = fread(data, 1, 256, fp)) > 0) 934 fclose(fp);
|
/device/samsung/crespo/libcamera/ |
SecCamera.cpp | 200 static int fimc_v4l2_querycap(int fp) 205 ret = ioctl(fp, VIDIOC_QUERYCAP, &cap); 220 static const __u8* fimc_v4l2_enuminput(int fp, int index) 225 if (ioctl(fp, VIDIOC_ENUMINPUT, &input) != 0) { 235 static int fimc_v4l2_s_input(int fp, int index) 242 ret = ioctl(fp, VIDIOC_S_INPUT, &input); 251 static int fimc_v4l2_s_fmt(int fp, int width, int height, unsigned int fmt, int flag_capture) 272 ret = ioctl(fp, VIDIOC_S_FMT, &v4l2_fmt); 281 static int fimc_v4l2_s_fmt_cap(int fp, int width, int height, unsigned int fmt) 305 ret = ioctl(fp, VIDIOC_S_FMT, &v4l2_fmt) [all...] |
/dalvik/vm/compiler/ |
Compiler.c | 197 void *fp = thread->curFrame; local 208 while (fp != NULL) { 209 saveArea = SAVEAREA_FROM_FP(fp); 212 if (dvmIsBreakFrame(fp)) { 228 assert(fp != saveArea->prevFrame); 229 fp = saveArea->prevFrame; 426 * I/DEBUG ( 1638): r8 ad010f40 r9 46a37a12 10 001116b0 fp 42a78208
|
/external/clearsilver/util/ |
wdb.c | 215 static NEOERR *wdb_load_defn_v1 (WDB *wdb, FILE *fp) 224 while (fgets(line, sizeof(line), fp) != NULL) 328 static NEOERR *wdb_save_defn_v1 (WDB *wdb, FILE *fp) 339 r = fprintf (fp, "%s\n", DEFN_VERSION_1); 344 r = fprintf (fp, "name:%s\n", s); 350 r = fprintf (fp, "key:%s\n", s); 355 r = fprintf (fp, "ondisk:%d\n", wdb->last_ondisk); 358 r = fprintf (fp, "attributes\n"); 368 r = fprintf (fp, "%s:%s\n", k, v); 378 r = fprintf (fp, "columns\n") 409 FILE *fp; local 450 FILE *fp; local [all...] |
/external/stlport/src/details/ |
fstream_win32io.cpp | 177 for (FILE *fp = &_iob[0]; fp < &_iob[_NFILE]; fp++) { 178 if ((fileno(fp) == fd) && (fp->_flag & (_IOREAD | _IOWRT | _IORW))) { 179 const int osflags = fp->_flag;
|
/external/v8/test/cctest/ |
test-assembler-arm.cc | 185 __ stm(db_w, sp, r4.bit() | fp.bit() | lr.bit()); 186 __ sub(fp, ip, Operand(4)); 199 __ ldm(ia_w, sp, r4.bit() | fp.bit() | pc.bit()); 246 __ stm(db_w, sp, r4.bit() | fp.bit() | lr.bit()); 247 __ sub(fp, ip, Operand(4)); 259 __ ldm(ia_w, sp, r4.bit() | fp.bit() | pc.bit());
|
/ndk/sources/cxx-stl/stlport/src/details/ |
fstream_win32io.cpp | 177 for (FILE *fp = &_iob[0]; fp < &_iob[_NFILE]; fp++) { 178 if ((fileno(fp) == fd) && (fp->_flag & (_IOREAD | _IOWRT | _IORW))) { 179 const int osflags = fp->_flag;
|
/system/extras/tests/fstest/ |
perm_checker.c | 155 static int read_rules(FILE *fp) 165 while ((res = fscanf(fp, "%s %lo %lo %s %s %s %s\n", spec, 409 FILE *fp; local 422 if (!(fp = fopen(config_file, "r"))) { 426 read_rules(fp); 427 fclose(fp);
|