/external/oprofile/libutil/ |
op_fileio.c | 24 FILE * fp; local 26 fp = fopen(name, mode); 28 if (!fp) { 36 return fp; 52 void op_close_file(FILE * fp) 54 if (fclose(fp)) 59 void op_write_file(FILE * fp, void const * buf, size_t size) 66 written = fwrite(buf, size, 1, fp); 77 void op_write_u8(FILE * fp, u8 val) 79 op_write_file(fp, &val, sizeof(val)) 97 FILE * fp; local [all...] |
/frameworks/compile/libbcc/tests/data/src/ |
casts.c | 53 int fp = &f; local 54 int x = (*(int(*)()) fp)(10);
|
/ndk/sources/host-tools/nawk-20071023/ |
maketab.c | 118 FILE *fp; local 135 fp = stdin; 137 if ((fp = fopen(input, "rt")) == NULL) { 144 while (fgets(buf, sizeof buf, fp) != NULL) {
|
/system/core/libcutils/ |
open_memstream.c | 227 FILE* fp; local 239 fp = funopen(stream, 241 if (fp == NULL) { 251 return fp; 277 * fp = fopencookie(stream, "w", iofuncs);
|
/bionic/libc/stdio/ |
findfp.c | 104 FILE *fp; local 113 for (fp = g->iobs, n = g->niobs; --n >= 0; fp++) 114 if (fp->_flags == 0) 125 fp = g->iobs; 127 fp->_flags = 1; /* reserve this slot; caller sets real flags */ 129 fp->_p = NULL; /* no current pointer */ 130 fp->_w = 0; /* nothing to read or write */ 131 fp->_r = 0; 132 fp->_bf._base = NULL; /* no buffer * [all...] |
/dalvik/vm/mterp/cstubs/ |
stubdefs.cpp | 27 #define fp self->interpSave.curFrame macro 41 * InterpSave's pc and fp must be valid when breaking out to a
|
/dalvik/vm/native/ |
dalvik_system_VMStack.cpp | 76 void *fp = dvmThreadSelf()->interpSave.curFrame; local 77 size_t depth = dvmComputeExactFrameDepth(fp); 79 dvmFillStackTraceArray(fp, methods.get(), depth);
|
/development/tools/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) {
|
/external/blktrace/btt/ |
misc.c | 118 void add_file(FILE *fp, char *oname) 122 fip->ofp = fp; 157 FILE *fp; local 160 fp = fopen(path, mode); 161 } while (fp == NULL && handle_open_failure()); 163 return fp;
|
/external/chromium/testing/gtest/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/dbus/dbus/ |
dbus-nonce.c | 103 FILE *fp; local 114 fp = fopen (_dbus_string_get_const_data (fname), "rb"); 115 if (!fp) 117 nread = fread (buffer, 1, sizeof buffer - 1, fp); 118 fclose (fp);
|
/external/dropbear/ |
cli-kex.c | 117 char* fp = NULL; local 121 fp = sign_key_fingerprint(keyblob, keybloblen); 125 fp); 126 m_free(fp); 131 fp); 132 m_free(fp);
|
compat.c | 236 register FILE *fp; local 246 if ((fp = fopen("/etc/shells", "rc")) == NULL) 248 if (fstat(fileno(fp), &statb) == -1) { 249 (void)fclose(fp); 253 (void)fclose(fp); 258 (void)fclose(fp); 266 while (fgets(cp, flen - (cp - strings), fp) != NULL) { 277 (void)fclose(fp);
|
svr-authpubkey.c | 60 char* fp = NULL; local 103 fp = sign_key_fingerprint(keyblob, keybloblen); 108 ses.authstate.printableuser, fp, svr_ses.addrstring); 113 ses.authstate.printableuser, fp, svr_ses.addrstring); 116 m_free(fp);
|
/external/iproute2/ip/ |
ipaddrlabel.c | 59 FILE *fp = (FILE*)arg; local 81 fprintf(fp, "Deleted "); 84 fprintf(fp, "prefix %s/%u ", 93 fprintf(fp, "dev %s ", ll_index_to_name(ifal->ifal_index)); 98 fprintf(fp, "label %d ", label); 101 fprintf(fp, "\n"); 102 fflush(fp);
|
ipmroute.c | 56 FILE *fp = fopen("/proc/net/ip_mr_vif", "r"); local 58 if (!fp) 61 fgets(buf, sizeof(buf), fp); 63 while (fgets(buf, sizeof(buf), fp)) { 75 fclose(fp); 81 FILE *fp = fopen("/proc/net/ip_mr_cache", "r"); local 83 if (!fp) 86 fgets(buf, sizeof(buf), fp); 88 while (fgets(buf, sizeof(buf), fp)) { 158 fclose(fp); [all...] |
/external/iproute2/misc/ |
lnstat.h | 31 FILE *fp; member in struct:lnstat_file
|
/external/iproute2/tc/ |
tc_class.c | 154 FILE *fp = (FILE*)arg; local 185 fprintf(fp, "deleted "); 194 fprintf(fp, "class %s %s ", (char*)RTA_DATA(tb[TCA_KIND]), abuf); 197 fprintf(fp, "dev %s ", ll_index_to_name(t->tcm_ifindex)); 200 fprintf(fp, "root "); 206 fprintf(fp, "parent %s ", abuf); 209 fprintf(fp, "leaf %x: ", t->tcm_info>>16); 213 q->print_copt(q, fp, tb[TCA_OPTIONS]); 215 fprintf(fp, "[cannot parse class parameters]"); 217 fprintf(fp, "\n") [all...] |
tc_core.c | 186 FILE *fp; local 191 fp = fopen("/proc/net/psched", "r"); 192 if (fp == NULL) 195 if (fscanf(fp, "%08x%08x%08x", &t2us, &us2t, &clock_res) != 3) { 196 fclose(fp); 199 fclose(fp);
|
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 | 175 FILE *fp; local 183 fp = fopen(lcconf->pathinfo[LC_PATHTYPE_PSK], "r"); 185 fp = NULL; 186 if (fp == NULL) { 193 while (fgets(buf, sizeof(buf), fp) != NULL) { 242 fclose(fp);
|
plainrsa-gen.c | 122 print_rsa_key(FILE *fp, const RSA *key) 132 fprintf(fp, "# : PUB 0s%s\n", pubkey64->v); 133 fprintf(fp, ": RSA\t{\n"); 134 fprintf(fp, "\t# RSA %d bits\n", BN_num_bits(key->n)); 135 fprintf(fp, "\t# pubkey=0s%s\n", pubkey64->v); 136 fprintf(fp, "\tModulus: 0x%s\n", lowercase(BN_bn2hex(key->n))); 137 fprintf(fp, "\tPublicExponent: 0x%s\n", lowercase(BN_bn2hex(key->e))); 138 fprintf(fp, "\tPrivateExponent: 0x%s\n", lowercase(BN_bn2hex(key->d))); 139 fprintf(fp, "\tPrime1: 0x%s\n", lowercase(BN_bn2hex(key->p))); 140 fprintf(fp, "\tPrime2: 0x%s\n", lowercase(BN_bn2hex(key->q))) 223 FILE *fp = stdout, *fpin = NULL; local [all...] |
/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 | 1228 IPAddressFamily *fp = sk_IPAddressFamily_value(x->rfc3779_addr, k); local 1254 IPAddressFamily *fp = sk_IPAddressFamily_value(x->rfc3779_addr, j); local [all...] |