/external/mdnsresponder/mDNSPosix/ |
Responder.c | 472 static mDNSBool ReadALine(char *buf, size_t bufSize, FILE *fp, mDNSBool skipBlankLines) 480 if (fgets(buf, bufSize, fp) == NULL) 505 FILE * fp = fopen(filePath, "r"); local 507 if (fp == NULL) { 527 if (! ReadALine(name, sizeof(nameBuf), fp, mDNStrue)) 543 if (! ReadALine(type, sizeof(type), fp, mDNSfalse)) 562 if (! ReadALine(port, sizeof(port), fp, mDNSfalse)) 575 if (!ReadALine(rawText, sizeof(rawText), fp, mDNSfalse)) break; 599 } while (!feof(fp)); 601 if (!feof(fp)) { 676 FILE *fp; local [all...] |
/external/mesa3d/src/gallium/drivers/nv30/ |
nvfx_fragprog.c | 20 struct nv30_fragprog *fp; member in struct:nvfx_fpc 80 struct nv30_fragprog *fp = fpc->fp; local 82 fp->insn_len += size; 83 fp->insn = realloc(fp->insn, sizeof(uint32_t) * fp->insn_len); 89 struct nv30_fragprog *fp = fpc->fp; local 90 uint32_t *hw = &fp->insn[fpc->inst_offset] 162 struct nv30_fragprog *fp = fpc->fp; local 191 struct nv30_fragprog *fp = fpc->fp; local [all...] |
/external/mesa3d/src/gallium/drivers/nv50/ |
nv50_surface.c | 435 struct nv50_program *fp; member in struct:nv50_blitctx::__anon25869 443 struct nv50_program fp; member in struct:nv50_blitctx 578 blit->fp.type = PIPE_SHADER_FRAGMENT; 579 blit->fp.translated = TRUE; 580 blit->fp.code = (uint32_t *)code; /* const_cast */ 581 blit->fp.code_size = sizeof(code); 582 blit->fp.max_gpr = 5; 583 blit->fp.max_out = 4; 584 blit->fp.in_nr = 1; 585 blit->fp.in[0].mask = 0x7; /* last component flat * [all...] |
/external/mesa3d/src/gallium/drivers/nvc0/ |
nvc0_surface.c | 456 struct nvc0_program *fp; member in struct:nvc0_blitctx::__anon25879 464 struct nvc0_program fp; member in struct:nvc0_blitctx 644 blit->fp.type = PIPE_SHADER_FRAGMENT; 645 blit->fp.translated = TRUE; 647 blit->fp.code = (uint32_t *)code_nve4; /* const_cast */ 648 blit->fp.code_size = sizeof(code_nve4); 650 blit->fp.code = (uint32_t *)code_nvc0; /* const_cast */ 651 blit->fp.code_size = sizeof(code_nvc0); 653 blit->fp.max_gpr = 4; 655 blit->fp.hdr[0] = 0x00021462; /* fragprog magic * [all...] |
/external/mesa3d/src/mesa/drivers/dri/i915/ |
i915_fragprog.c | 1318 struct i915_fragment_program *fp = local [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_program.c | 503 struct gl_fragment_program *fp; /* we free this temp program below */ local 506 &fp, &variant->bitmap_sampler); 508 variant->parameters = _mesa_clone_parameter_list(fp->Base.Parameters); 509 stfp = st_fragment_program(fp); 514 struct gl_fragment_program *fp; /* we free this temp program below */ local 517 fp = st_make_drawpix_z_stencil_program(st, key->drawpixels_z, 522 st_make_drawpix_fragment_program(st, &stfp->Base, &fp); 523 variant->parameters = _mesa_clone_parameter_list(fp->Base.Parameters); 526 stfp = st_fragment_program(fp); 761 struct gl_fragment_program *fp = &stfp->Base local [all...] |
/external/openssl/crypto/conf/ |
conf.h | 126 LHASH_OF(CONF_VALUE) *CONF_load_fp(LHASH_OF(CONF_VALUE) *conf, FILE *fp, variable 164 int NCONF_load_fp(CONF *conf, FILE *fp,long *eline);
|
/external/openssl/include/openssl/ |
conf.h | 126 LHASH_OF(CONF_VALUE) *CONF_load_fp(LHASH_OF(CONF_VALUE) *conf, FILE *fp, variable 164 int NCONF_load_fp(CONF *conf, FILE *fp,long *eline);
|
/external/qemu/android/utils/ |
ini.c | 261 FILE* fp = fopen(filepath, "rt"); local 267 if (fp == NULL) { 273 fseek(fp, 0, SEEK_END); 274 size = ftell(fp); 275 fseek(fp, 0, SEEK_SET); 290 len = fread(text, 1, size, fp); 297 fclose(fp); 314 FILE* fp = fopen(filepath, "wt"); local 319 if (fp == NULL) { 329 if (fwrite(temp, p - temp, 1, fp) != 1) [all...] |
/external/qemu/distrib/sdl-1.2.15/src/file/ |
SDL_rwops.c | 325 if ( fseek(context->hidden.stdio.fp, offset, whence) == 0 ) { 326 return(ftell(context->hidden.stdio.fp)); 336 nread = fread(ptr, size, maxnum, context->hidden.stdio.fp); 337 if ( nread == 0 && ferror(context->hidden.stdio.fp) ) { 346 nwrote = fwrite(ptr, size, num, context->hidden.stdio.fp); 347 if ( nwrote == 0 && ferror(context->hidden.stdio.fp) ) { 357 fclose(context->hidden.stdio.fp); 487 FILE *fp = NULL; local 488 (void) fp; 513 fp = fopen(mpath, mode) [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);
|
/external/srec/tools/test_g2g/ |
test_g2g.c | 200 FILE* fp; local 201 fp = fopen(base, "rb"); 202 if(!fp) g2gsize = 0; 204 fseek(fp, 0, SEEK_END); 205 g2gsize = ftell(fp); 206 fclose(fp); 479 FILE* fp; local 484 fp = fopen(filelist, "r"); 485 if(!fp) { 490 while( fgets(line, sizeof(line), fp)) { [all...] |
/external/v8/test/cctest/ |
test-serialize.cc | 219 FILE* fp = OS::FOpen(name.start(), "w"); local 221 fprintf(fp, "new %d\n", new_space_used); 222 fprintf(fp, "pointer %d\n", pointer_space_used); 223 fprintf(fp, "data %d\n", data_space_used); 224 fprintf(fp, "code %d\n", code_space_used); 225 fprintf(fp, "map %d\n", map_space_used); 226 fprintf(fp, "cell %d\n", cell_space_used); 227 fprintf(fp, "large %d\n", large_space_used); 228 fclose(fp); 404 FILE* fp = OS::FOpen(name.start(), "r") local [all...] |
/external/valgrind/main/coregrind/ |
m_stacktrace.c | 57 thread's IP SP, FP if that's meaningful, and LR if that's 91 when FP is not a reasonable stack location. */ 102 "fp_max=0x%lx ip=0x%lx fp=0x%lx\n", 122 /* fp is %ebp. sp is %esp. ip is %eip. */ 149 /* Try to derive a new (ip,sp,fp) triple from the current 162 /* fp looks sane, so use it. */ 247 when FP is not a reasonable stack location. */ 258 "fp_max=0x%lx ip=0x%lx fp=0x%lx\n", 278 /* fp is %rbp. sp is %rsp. ip is %rip. */ 305 /* Try to derive a new (ip,sp,fp) triple from the current set. * 413 Addr fp = sp; local [all...] |
/frameworks/av/media/libstagefright/yuv/ |
YUVImage.cpp | 387 FILE *fp = fopen(filename, "w"); local 388 if (fp == NULL) { 391 fprintf(fp, "P3\n"); 392 fprintf(fp, "%d %d\n", mWidth, mHeight); 393 fprintf(fp, "255\n"); 406 fprintf(fp, "%d %d %d\n", (int32_t)rValue, (int32_t)gValue, (int32_t)bValue); 409 fclose(fp);
|
/hardware/qcom/audio/legacy/alsa_sound/ |
AudioHardwareALSA.cpp | 80 FILE *fp; local 146 if((fp = fopen("/proc/asound/cards","r")) == NULL) { 149 while((fgets(soundCardInfo, sizeof(soundCardInfo), fp) != NULL)) { 162 fclose(fp); [all...] |
/hardware/qcom/audio/legacy/libalsa-intf/ |
arec.c | 488 FILE *fp; local
|
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera.c | 97 FILE *fp; local 98 if ((fp = fopen("/sys/devices/system/soc/soc0/id", "r")) != NULL) { 99 fscanf(fp, "%d", &id); 100 fclose(fp); [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
OldDateFormatTest.java | 111 FieldPosition fp = new FieldPosition(DateFormat.YEAR_FIELD); local 112 StringBuffer sb = format.format(current, toAppend, fp); 116 assertTrue("Incorrect beginIndex of filed position", fp 119 fp.getEndIndex() == sb.lastIndexOf("/") + 3);
|
/ndk/sources/host-tools/make-3.81/ |
file.c | 1016 struct file **fp = (struct file **) files.ht_vec; 1017 struct file **end = &fp[files.ht_size]; 1024 for (; fp < end; ++fp) 1025 if (!HASH_VACANT (*fp) && (*fp)->is_target) 1027 struct file *f = *fp; 1009 struct file **fp = (struct file **) files.ht_vec; local
|
getloadavg.c | 624 FILE *fp; 626 fp = fopen (NETBSD_LDAV_FILE, "r"); 627 if (fp == NULL) 629 count = fscanf (fp, "%lu %lu %lu %lu\n", 632 (void) fclose (fp); 622 FILE *fp; local
|
/packages/inputmethods/PinyinIME/jni/share/ |
dictbuilder.cpp | 226 FILE *fp = fopen(fn_validhzs, "rb"); local 227 if (NULL == fp) 231 if (fread(&utf16header, sizeof(char16), 1, fp) != 1 || 233 fclose(fp); 237 fseek(fp, 0, SEEK_END); 238 *num = ftell(fp) / sizeof(char16); 244 fclose(fp); 248 fseek(fp, 2, SEEK_SET); 250 if (fread(hzs, sizeof(char16), *num, fp) != *num) { 251 fclose(fp); [all...] |
/sdk/emulator/opengl/host/tools/emugen/ |
ApiGen.cpp | 47 void ApiGen::printHeader(FILE *fp) const 49 fprintf(fp, "// Generated Code - DO NOT EDIT !!\n"); 50 fprintf(fp, "// generated by 'emugen'\n"); 55 FILE *fp = fopen(filename.c_str(), "wt"); local 56 if (fp == NULL) { 60 printHeader(fp); 64 fprintf(fp, "#ifndef __%s_%s_proc_t_h\n", basename, sideString(side)); 65 fprintf(fp, "#define __%s_%s_proc_t_h\n", basename, sideString(side)); 66 fprintf(fp, "\n\n"); 67 fprintf(fp, "\n#include \"%s_types.h\"\n",basename) 99 FILE *fp = fopen(filename.c_str(), "wt"); local 131 FILE *fp = fopen(filename.c_str(), "wt"); local 199 FILE *fp = fopen(filename.c_str(), "wt"); local 270 FILE *fp = fopen(filename.c_str(), "wt"); local 290 FILE *fp = fopen(filename.c_str(), "wt"); local 309 FILE *fp = fopen(filename.c_str(), "wt"); local 451 FILE *fp = fopen(filename.c_str(), "wt"); local 684 FILE *fp = fopen(filename.c_str(), "wt"); local 716 FILE *fp = fopen(filename.c_str(), "wt"); local 749 FILE *fp = fopen(filename.c_str(), "wt"); local 979 FILE *fp = fopen(attribFilename.c_str(), "rt"); local [all...] |
/sdk/emulator/opengl/tests/translator_tests/GLES_V2/ |
triangleV2.cpp | 150 FILE *fp = fopen(fileName, "rb"); local 151 if (!fp) return NULL; 158 n = fread(&buf[0], 1, bSize, fp); 163 n = fread(&buf[len], 1, bSize, fp);
|
/system/core/logwrapper/ |
logwrap.c | 96 FILE *fp; member in struct:log_info 169 fprintf(log_info->fp, "%s\n", line); 347 log_info.fp = fdopen(fd, "a"); 459 fclose(log_info.fp); /* Also closes underlying fd */
|