/external/icu/icu4c/as_is/ |
bomlist.py | 31 fp = (path + "/" + file) variable 32 if not os.path.isfile(fp): 34 f = open(fp, 'rb') 37 print 'icu/'+fp[2::]
|
/external/iproute2/bridge/ |
monitor.c | 42 FILE *fp = arg; local 45 print_timestamp(fp); 51 fprintf(fp, "[LINK]"); 58 fprintf(fp, "[NEIGH]"); 64 fprintf(fp, "[MDB]"); 68 print_nlmsg_timestamp(fp, n); 123 FILE *fp; local 125 fp = fopen(file, "r"); 126 if (fp == NULL) { 130 err = rtnl_from_file(fp, accept_msg, stdout) [all...] |
/external/iproute2/ip/ |
ipprefix.c | 40 FILE *fp = (FILE*)arg; local 74 fprintf(fp, "prefix "); 83 fprintf(fp, "%s", rt_addr_n2a(family, 88 fprintf(fp, "/%u ", prefix->prefix_len); 90 fprintf(fp, "dev %s ", ll_index_to_name(prefix->prefix_ifindex)); 93 fprintf(fp, "onlink "); 95 fprintf(fp, "autoconf "); 101 fprintf(fp, "valid %u ", pc->valid_time); 102 fprintf(fp, "preferred %u ", pc->preferred_time); 105 fprintf(fp, "\n") [all...] |
/external/iproute2/netem/ |
stats.c | 18 stats(FILE *fp) 27 fstat(fileno(fp), &info); 36 fscanf(fp, "%lf", &x[i]); 37 if (feof(fp)) 64 FILE *fp; local 67 fp = fopen(argv[1], "r"); 68 if (!fp) { 73 fp = stdin; 75 stats(fp);
|
/external/libcxx/src/ |
chrono.cpp | 119 typedef steady_clock::rep (*FP)(); 122 FP 137 static FP fp = init_steady_clock(); variable 138 return time_point(duration(fp()));
|
/external/libcxx/test/std/experimental/utilities/tuple/tuple.apply/ |
constexpr_types.pass.cpp | 62 constexpr auto fp = &f_int_0; local 63 static_assert(1 == ex::apply(fp, t), ""); 84 constexpr int (*fp)(int) = f_int_1; 85 static_assert(2 == ex::apply(fp, t), ""); 106 constexpr auto fp = &f_int_2; local 107 static_assert(5 == ex::apply(fp, t), "");
|
/external/libdivsufsort/examples/ |
mksary.c | 70 FILE *fp, *ofp; local 87 if(fopen_s(&fp, fname = argv[1], "rb") != 0) { 89 if((fp = LFS_FOPEN(fname = argv[1], "rb")) == NULL) { 103 fp = stdin; 133 if(LFS_FSEEK(fp, 0, SEEK_END) == 0) { 134 n = LFS_FTELL(fp); 135 rewind(fp); 160 if(fread(T, sizeof(sauchar_t), (size_t)n, fp) != (size_t)n) { 163 (ferror(fp) || !feof(fp)) ? "Cannot read from" : "Unexpected EOF in" [all...] |
sasearch.c | 69 FILE *fp; local 87 if(fopen_s(&fp, argv[2], "rb") != 0) { 89 if((fp = LFS_FOPEN(argv[2], "rb")) == NULL) { 97 if(LFS_FSEEK(fp, 0, SEEK_END) == 0) { 98 n = LFS_FTELL(fp); 99 rewind(fp); 120 if(fread(T, sizeof(sauchar_t), (size_t)n, fp) != (size_t)n) { 123 (ferror(fp) || !feof(fp)) ? "Cannot read from" : "Unexpected EOF in", 128 fclose(fp); [all...] |
/external/libhevc/decoder/ |
ihevcd_trace.h | 50 * fp 52 FILE *fp; member in struct:__anon16639 71 fprintf( g_trace.fp, "%-40s u(%d) : %d\n", m_str, m_numbits, m_value ); \ 72 fflush ( g_trace.fp); \ 82 fprintf( g_trace.fp, "%-40s ue(v) : %d\n", m_str, m_value ); \ 83 fflush ( g_trace.fp); \ 91 fprintf( g_trace.fp, "%-40s se(v) : %d\n", m_str, m_value ); \ 92 fflush ( g_trace.fp); \ 105 fprintf( g_trace.fp, "%-40s: Range:%3d State:%3d MPS:%1d\n", \ 107 fflush ( g_trace.fp); \ [all...] |
/external/libselinux/src/ |
init.c | 30 FILE *fp=NULL; local 52 fp = fopen("/proc/filesystems", "r"); 53 if (!fp) 56 while ((bufp = fgets(buf, sizeof buf - 1, fp)) != NULL) { 66 fclose(fp); 70 fp = fopen("/proc/mounts", "r"); 71 if (!fp) 74 while ((bufp = fgets(buf, sizeof buf - 1, fp)) != NULL) { 94 if (fp) 95 fclose(fp); [all...] |
/external/libunwind/src/mips/ |
Gstep.c | 33 unw_word_t ra, fp; local 105 &fp)) < 0) 108 Debug (2, "SH (ip=0x%016llx, ra=0x%016llx, sp=0x%016llx, fp=0x%016llx)\n", 110 (unsigned long long)c->dwarf.cfa, (unsigned long long)fp);
|
/external/mesa3d/src/glsl/glcpp/ |
glcpp.c | 41 /* Read from fp until EOF and return a string of everything read. 44 load_text_fp (void *ctx, FILE *fp) 61 bytes = fread (text + total_read, 1, CHUNK, fp); 78 FILE *fp; local 83 fp = fopen (filename, "r"); 84 if (fp == NULL) { 90 text = load_text_fp (ctx, fp); 92 fclose(fp);
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
gen6_wm_state.c | 43 const struct brw_fragment_program *fp = local 50 _mesa_load_state_parameters(ctx, fp->program.Base.Parameters); 97 const struct brw_fragment_program *fp = local 178 if (fp->program.Base.InputsRead & FRAG_BIT_WPOS) 180 if (fp->program.Base.OutputsWritten & BITFIELD64_BIT(FRAG_RESULT_DEPTH)) 187 if (fp->program.UsesKill || ctx->Color.AlphaEnabled ||
|
gen7_wm_state.c | 39 const struct brw_fragment_program *fp = local 61 if (fp->program.Base.InputsRead & FRAG_BIT_WPOS) 63 if (fp->program.Base.OutputsWritten & BITFIELD64_BIT(FRAG_RESULT_DEPTH)) { 72 if (fp->program.UsesKill || ctx->Color.AlphaEnabled ||
|
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_constbuf.c | 141 struct st_fragment_program *fp = st->fp; local 142 struct gl_program_parameter_list *params = fp->Base.Base.Parameters;
|
/external/mesa3d/src/mesa/tnl/ |
t_context.c | 129 const struct gl_fragment_program *fp = ctx->FragmentProgram._Current; local 135 || !tnl->AllowPixelFog) && !fp; 145 if (!fp || (fp->Base.InputsRead & FRAG_BIT_COL0)) { 154 (fp && fp->Base.InputsRead & FRAG_BIT_TEX(i))) { 160 || (fp != NULL && (fp->Base.InputsRead & FRAG_BIT_FOGC) != 0)) {
|
/external/selinux/libselinux/src/ |
is_customizable_type.c | 14 FILE *fp; local 19 fp = fopen(selinux_customizable_types_path(), "r"); 20 if (!fp) 25 fclose(fp); 28 while (fgets_unlocked(buf, selinux_page_size, fp) && ctr < UINT_MAX) { 31 rewind(fp); 38 while (fgets_unlocked(buf, selinux_page_size, fp) 54 fclose(fp);
|
/external/selinux/policycoreutils/semodule_package/ |
semodule_unpackage.c | 45 FILE *fp; local 88 fp = fopen(fcfile, "w"); 89 if (!fp) { 94 if (fwrite(fcdata, 1, len, fp) != len) { 98 fclose(fp);
|
/external/tcpdump/ |
print-ap1394.c | 54 register const struct firewire_header *fp; local 57 fp = (const struct firewire_header *)bp; 60 linkaddr_string(ndo, fp->firewire_dhost, LINKADDR_IEEE1394, FIREWIRE_EUI64_LEN), 61 linkaddr_string(ndo, fp->firewire_shost, LINKADDR_IEEE1394, FIREWIRE_EUI64_LEN))); 63 firewire_type = EXTRACT_16BITS(&fp->firewire_type); 86 struct firewire_header *fp; local 99 fp = (struct firewire_header *)p; 102 ether_type = EXTRACT_16BITS(&fp->firewire_type); 106 ap1394_hdr_print(ndo, (u_char *)fp, length + FIREWIRE_HDRLEN);
|
/external/toybox/toys/other/ |
hwclock.c | 36 FILE *fp; local 41 fp = fopen(toybuf, "r"); 42 if (fp) { 43 int hctosys = 0, items = fscanf(fp, "%d", &hctosys); 45 fclose(fp); 68 FILE *fp; local 71 for (fp = fopen("/etc/adjtime", "r"); 72 fp && getline(&s, (void *)toybuf, fp)>0; 74 if (fp) fclose(fp) [all...] |
xxd.c | 76 FILE *fp = xfdopen(fd, "r"); local 78 while (!feof(fp)) { 86 if (fscanf(fp, "%llx: ", &pos) == 1) { 101 if ((n1 = n2 = dehex(fgetc(fp))) < 0 || (n2 = dehex(fgetc(fp))) < 0) { 112 tmp = fgetc(fp); 113 if (tmp != ' ') ungetc(tmp, fp); 117 while ((tmp = fgetc(fp)) != EOF && tmp != '\n') 120 if (ferror(fp)) perror_msg_raw(name); 122 fclose(fp); [all...] |
/external/vboot_reference/cgpt/ |
cgpt.c | 28 int (*fp)(int argc, char *argv[]); member in struct:__anon27246 91 return cmds[match_index].fp(argc, argv);
|
/external/webrtc/webrtc/modules/audio_coding/codecs/tools/ |
audio_codec_speed_test.cc | 46 FILE* fp = fopen(in_filename_.c_str(), "rb"); local 47 assert(fp != NULL); 50 fseek(fp, 0, SEEK_END); 51 loop_length_samples_ = ftell(fp) / sizeof(int16_t); 52 rewind(fp); 61 ASSERT_EQ(fread(&in_data_[0], sizeof(int16_t), loop_length_samples_, fp), 63 fclose(fp);
|
/frameworks/base/rs/java/android/renderscript/ |
ScriptIntrinsicConvolve3x3.java | 92 FieldPacker fp = new FieldPacker(9*4); local 95 fp.addF32(mValues[ct]); 97 setVar(0, fp);
|
ScriptIntrinsicConvolve5x5.java | 94 FieldPacker fp = new FieldPacker(25*4); local 97 fp.addF32(mValues[ct]); 99 setVar(0, fp);
|