/external/iproute2/tc/ |
tc_qdisc.c | 201 FILE *fp = (FILE*)arg; local 230 fprintf(fp, "deleted "); 232 fprintf(fp, "qdisc %s %x: ", (char*)RTA_DATA(tb[TCA_KIND]), t->tcm_handle>>16); 234 fprintf(fp, "dev %s ", ll_index_to_name(t->tcm_ifindex)); 236 fprintf(fp, "root "); 239 fprintf(fp, "parent %s ", abuf); 242 fprintf(fp, "refcnt %d ", t->tcm_info); 253 q->print_qopt(q, fp, tb[TCA_OPTIONS]); 255 fprintf(fp, "[cannot parse qdisc parameters]"); 257 fprintf(fp, "\n") [all...] |
/external/ipsec-tools/src/racoon/ |
backupsa.c | 101 FILE *fp; local 179 (fp = fopen(lcconf->pathinfo[LC_PATHTYPE_BACKUPSA], "a")) == NULL) { 185 fprintf(fp, "%s\n", buf); 186 fclose(fp); 199 FILE *fp; local 211 fp = fopen(lcconf->pathinfo[LC_PATHTYPE_BACKUPSA], "r"); 213 fp = NULL; 214 if (fp == NULL) { 223 for(line = 1; fgets(buf, sizeof(buf), fp) != NULL; line++) { 325 fclose(fp); 341 FILE *fp; local [all...] |
localconf.c | 179 FILE *fp; local 187 fp = fopen(lcconf->pathinfo[LC_PATHTYPE_PSK], "r"); 189 fp = NULL; 190 if (fp == NULL) { 197 while (fgets(buf, sizeof(buf), fp) != NULL) { 246 fclose(fp);
|
/external/libppp/src/ |
auth.c | 164 FILE *fp; local 169 fp = OpenSecret(SECRETFILE); 170 if (fp != NULL) { 173 while (fgets(buff, sizeof buff, fp)) { 184 CloseSecret(fp); 196 rewind(fp); 200 CloseSecret(fp); 209 FILE *fp; local 230 fp = OpenSecret(SECRETFILE); 231 if (fp != NULL) 292 FILE *fp; local 343 FILE *fp; local [all...] |
/external/libsepol/src/ |
genusers.c | 37 FILE *fp; local 46 fp = fopen(path, "r"); 47 if (fp == NULL) 56 while(fgets(buffer, 255, fp) != NULL) { 58 __fsetlocking(fp, FSETLOCKING_BYCALLER); 59 while ((nread = getline(&buffer, &len, fp)) > 0) { 97 fclose(fp); 108 fclose(fp); 120 fclose(fp); 176 fclose(fp); [all...] |
/external/libvpx/libvpx/third_party/googletest/src/test/ |
gtest-filepath_test.cc | 612 FilePath fp; local 613 EXPECT_STREQ("", fp.c_str()); 617 const FilePath fp("spicy"); 618 EXPECT_STREQ("spicy", fp.c_str()); 620 const FilePath fp_copy(fp); 625 const FilePath fp(String("cider")); 626 EXPECT_STREQ("cider", fp.c_str());
|
/external/linux-tools-perf/util/ |
cgroup.c | 14 FILE *fp; local 19 fp = fopen("/proc/mounts", "r"); 20 if (!fp) 28 while (fscanf(fp, "%*s %"STR(MAX_PATH)"s %"STR(MAX_PATH)"s %" 47 fclose(fp);
|
debugfs.c | 47 FILE *fp; local 63 fp = fopen("/proc/mounts", "r"); 64 if (fp == NULL) 67 while (fscanf(fp, "%*s %" 74 fclose(fp);
|
strlist.c | 76 FILE *fp = fopen(filename, "r"); local 78 if (fp == NULL) 81 while (fgets(entry, sizeof(entry), fp) != NULL) { 95 fclose(fp);
|
/external/openssh/ |
auth2-hostbased.c | 147 char *fp; local 199 fp = key_fingerprint(key->cert->signature_key, 203 key_type(key->cert->signature_key), fp, 206 fp = key_fingerprint(key, SSH_FP_MD5, SSH_FP_HEX); 208 key_type(key), fp, cuser, lookup); 210 xfree(fp);
|
/external/openssl/crypto/bio/ |
bss_file.c | 276 FILE *fp=(FILE *)b->ptr; local 287 ret=(long)fseek(fp,num,0); 291 ret=(long)UP_feof(fp); 293 ret=(long)feof(fp); 300 ret=ftell(fp); 395 fp=fopen(ptr,p); 396 if (fp == NULL) 404 b->ptr=fp;
|
/external/openssl/crypto/x509v3/ |
v3_addr.c | 1273 IPAddressFamily *fp = sk_IPAddressFamily_value(x->rfc3779_addr, k); local 1299 IPAddressFamily *fp = sk_IPAddressFamily_value(x->rfc3779_addr, j); local [all...] |
/external/oprofile/daemon/liblegacy/ |
opd_parse_proc.c | 94 FILE * fp; local 107 fp = op_try_open_file(mapsfile, "r"); 108 if (!fp) 120 line = op_get_line(fp); 161 op_close_file(fp); 169 FILE * fp; local 176 fp = op_try_open_file(status_file, "r"); 177 if (!fp) 181 line = op_get_line(fp); 187 op_close_file(fp); [all...] |
/external/protobuf/gtest/test/ |
gtest-filepath_test.cc | 526 FilePath fp; local 527 EXPECT_STREQ("", fp.c_str()); 531 const FilePath fp("spicy"); 532 EXPECT_STREQ("spicy", fp.c_str()); 534 const FilePath fp_copy(fp); 539 const FilePath fp(String("cider")); 540 EXPECT_STREQ("cider", fp.c_str());
|
/external/qemu/ |
loadpng.c | 14 FILE *fp = 0; local 36 fp = fopen(fn, "rb"); 37 if(fp == 0) { 42 if(fread(header, 8, 1, fp) != 1) { 56 if(fp != 0) fclose(fp); 62 png_init_io(p, fp); 117 fclose(fp);
|
/external/webrtc/src/system_wrappers/source/ |
cpu_linux.cc | 113 FILE* fp = fopen("/proc/stat", "r"); local 114 if (!fp) 120 if (fgets(line, 100, fp) == NULL) { 121 fclose(fp); 126 fclose(fp); 130 fclose(fp); 139 fclose(fp); 151 if (fgets(line, 100, fp) == NULL) { 152 fclose(fp); 157 fclose(fp); 173 FILE* fp = fopen("\/proc\/stat", "r"); local [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
EvaluationTestBench.c | 278 FILE *fp; local 280 fp = fopen("dec_api.trc", "at"); 282 if (!fp) 285 fwrite(string, 1, strlen(string), fp); 286 fwrite("\n", 1,1, fp); 288 fclose(fp);
|
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicColorMatrix.cpp | 38 float fp[16]; member in class:android::renderscript::RsdCpuScriptIntrinsicColorMatrix 59 memcpy (fp, data, dataLength); 61 ip[ct] = (short)(fp[ct] * 255.f + 0.5f); 132 One(p, out++, in++, cp->fp); 159 One(p, out++, in++, cp->fp); 186 One(p, out++, in++, cp->fp);
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
ScriptIntrinsicColorMatrix.java | 64 FieldPacker fp = new FieldPacker(16*4); local 65 fp.addMatrix(mMatrix); 66 setVar(0, fp);
|
/hardware/invensense/libsensors_iio/software/core/mllite/linux/ |
ml_stored_data.c | 42 FILE *fp; local 46 fp = fopen(MLCAL_FILE,"rb"); 47 if (fp == NULL) { 53 fseek (fp, 0 , SEEK_END); 54 fsize = ftell (fp); 55 rewind (fp); 61 fclose(fp); 65 *bytesRead = fread(*calData, 1, fsize, fp); 77 fclose(fp); 83 FILE *fp; local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/ |
invoke.pass.cpp | 53 void (*fp)(int) = f_void_1; 54 std::function<void (int)> r1(fp); 71 void (A_void_1::*fp)() = &A_void_1::mem1; 72 std::function<void (A_void_1)> r1(fp); 78 std::function<void (A_void_1*)> r2 = fp; 85 void (A_void_1::*fp)() const = &A_void_1::mem2; 86 std::function<void (A_void_1)> r1(fp); 91 std::function<void (A_void_1*)> r2(fp); 130 int (*fp)(int) = f_int_1; 131 std::function<int (int)> r1(fp); 164 int A_int_1::*fp = &A_int_1::data_; member in class:A_int_1 [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/function.objects/refwrap/refwrap.invoke/ |
invoke.pass.cpp | 56 void (*fp)(int) = f_void_1; 57 std::reference_wrapper<void (*)(int)> r1(fp); 74 void (A_void_1::*fp)() = &A_void_1::mem1; 75 std::reference_wrapper<void (A_void_1::*)()> r1(fp); 87 void (A_void_1::*fp)() const = &A_void_1::mem2; 88 std::reference_wrapper<void (A_void_1::*)() const> r1(fp); 131 int (*fp)(int) = f_int_1; 132 std::reference_wrapper<int (*)(int)> r1(fp); 145 int (A_int_1::*fp)() = &A_int_1::mem1; 146 std::reference_wrapper<int (A_int_1::*)()> r1(fp); 163 int A_int_1::*fp = &A_int_1::data_; member in class:A_int_1 [all...] |
/sdk/emulator/opengl/host/tools/emugen/ |
TypeFactory.cpp | 71 FILE *fp = fopen(filename.c_str(), "rt"); local 72 if (fp == NULL) { 78 while(fgets(line, sizeof(line), fp) != NULL) {
|
/system/core/debuggerd/ |
backtrace.c | 41 FILE* fp; local 44 if ((fp = fopen(path, "r"))) { 45 procname = fgets(procnamebuf, sizeof(procnamebuf), fp); 46 fclose(fp); 70 FILE* fp; local 73 if ((fp = fopen(path, "r"))) { 74 threadname = fgets(threadnamebuf, sizeof(threadnamebuf), fp); 75 fclose(fp);
|
/bootable/recovery/minui/ |
resources.c | 58 FILE* fp = fopen(resPath, "rb"); local 59 if (fp == NULL) { 64 size_t bytesRead = fread(header, 1, sizeof(header), fp); 92 png_init_io(png_ptr, fp); 171 if (fp != NULL) { 172 fclose(fp); 211 FILE* fp = fopen(resPath, "rb"); local 212 if (fp == NULL) { 217 size_t bytesRead = fread(header, 1, sizeof(header), fp); 245 png_init_io(png_ptr, fp); [all...] |