/external/qemu/distrib/sdl-1.2.12/src/audio/esd/ |
SDL_esdaudio.c | 252 FILE *fp; local 256 fp = fopen(temp, "r"); 257 if ( fp != NULL ) { 258 if ( fgets(temp, sizeof(temp)-1, fp) ) { 266 fclose(fp);
|
/frameworks/base/tools/aapt/ |
ZipEntry.h | 161 status_t initFromCDE(FILE* fp); 240 status_t read(FILE* fp); 241 status_t write(FILE* fp); 298 status_t read(FILE* fp); 299 status_t write(FILE* fp);
|
/system/vold/ |
main.cpp | 145 FILE *fp; local 149 if (!(fp = fopen("/etc/vold.fstab", "r"))) { 153 while(fgets(line, sizeof(line), fp)) { 210 fclose(fp); 217 fclose(fp);
|
/external/qemu/ |
kqemu.c | 407 struct fpstate fp1, *fp = &fp1; local 409 fp->fpuc = env->fpuc; 410 fp->fpus = (env->fpus & ~0x3800) | (env->fpstt & 0x7) << 11; 420 fp->fptag = fptag; 423 memcpy(&fp->fpregs1[i * 10], &env->fpregs[j].d, 10); 426 asm volatile ("frstor %0" : "=m" (*fp)); 433 struct fpstate fp1, *fp = &fp1; local 435 asm volatile ("fsave %0" : : "m" (*fp)); 436 env->fpuc = fp->fpuc; 437 env->fpstt = (fp->fpus >> 11) & 7 456 struct fpxstate *fp = &fpx1; local 482 struct fpxstate *fp = &fpx1; local [all...] |
/external/dropbear/ |
keyimport.c | 145 FILE*fp; local 163 fp = fopen(filename, "w"); 164 if (!fp) { 172 1, buf->len - buf->pos, fp); 176 fclose(fp); 200 static void base64_encode_fp(FILE * fp, unsigned char *data, 216 fwrite(out, 1, outlen, fp); 217 fputc('\n', fp); 364 FILE *fp = NULL; local 377 fp = stdin 706 FILE *fp; local [all...] |
/external/iproute2/lib/ |
rt_names.c | 37 FILE *fp; local 39 fp = fopen(file, "r"); 40 if (!fp) 42 while (fgets(buf, sizeof(buf), fp)) { 68 fclose(fp); 74 FILE *fp; local 76 fp = fopen(file, "r"); 77 if (!fp) 79 while (fgets(buf, sizeof(buf), fp)) { 102 fclose(fp); [all...] |
/packages/inputmethods/PinyinIME/jni/share/ |
ngram.cpp | 160 bool NGram::save_ngram(FILE *fp) { 161 if (!initialized_ || NULL == fp) 167 if (fwrite(&idx_num_, sizeof(size_t), 1, fp) != 1) 170 if (fwrite(freq_codes_, sizeof(LmaScoreType), kCodeBookSize, fp) != 174 if (fwrite(lma_freq_idx_, sizeof(CODEBOOK_TYPE), idx_num_, fp) != idx_num_) 180 bool NGram::load_ngram(FILE *fp) { 181 if (NULL == fp) 186 if (fread(&idx_num_, sizeof(size_t), 1, fp) != 1 ) 203 if (fread(freq_codes_, sizeof(LmaScoreType), kCodeBookSize, fp) != 207 if (fread(lma_freq_idx_, sizeof(CODEBOOK_TYPE), idx_num_, fp) != idx_num_ [all...] |
/packages/apps/Email/tests/src/com/android/email/mail/store/ |
ImapStoreUnitTests.java | 626 final FetchProfile fp = new FetchProfile(); local 627 fp.add(FetchProfile.Item.FLAGS); 628 fp.add(FetchProfile.Item.ENVELOPE); 647 mFolder.fetch(new Message[] { message }, fp, null); 667 final FetchProfile fp = new FetchProfile(); local 668 fp.add(FetchProfile.Item.STRUCTURE); 675 mFolder.fetch(new Message[] { message }, fp, null); 706 final FetchProfile fp = new FetchProfile(); local 707 fp.add(FetchProfile.Item.STRUCTURE); 723 mFolder.fetch(new Message[] { message }, fp, null) 828 final FetchProfile fp = new FetchProfile(); local 851 final FetchProfile fp = new FetchProfile(); local 874 final FetchProfile fp = new FetchProfile(); local 925 FetchProfile fp = new FetchProfile();fp.clear(); local 984 FetchProfile fp = new FetchProfile(); local 1607 final FetchProfile fp = new FetchProfile(); local [all...] |
/external/libvpx/vp8/common/x86/ |
boolcoder.cxx | 105 bool_coder_spec::bool_coder_spec( FILE *fp) { 106 fscanf( fp, "%d", &w); 108 fscanf( fp, "%d", &v); 111 fscanf( fp, "%d", &ebits); 112 fscanf( fp, "%d", &mbits); 117 fscanf( fp, "%d", &v); 124 void bool_coder_spec::dump( FILE *fp) const { 125 fprintf( fp, "%d %d %d %d\n", w, (int) r, ebits, mbits); 128 int i=0; do { fprintf( fp, "%d\n", Ptbl[i]);} while( ++i < 256); 362 bool_coder_spec *vp8bc_spec_from_file( FILE *fp) { [all...] |
/external/v8/test/cctest/ |
test-serialize.cc | 223 FILE* fp = OS::FOpen(name.start(), "w"); local 224 fprintf(fp, "new %d\n", new_space_used); 225 fprintf(fp, "pointer %d\n", pointer_space_used); 226 fprintf(fp, "data %d\n", data_space_used); 227 fprintf(fp, "code %d\n", code_space_used); 228 fprintf(fp, "map %d\n", map_space_used); 229 fprintf(fp, "cell %d\n", cell_space_used); 230 fprintf(fp, "large %d\n", large_space_used); 231 fclose(fp); 411 FILE* fp = OS::FOpen(name.start(), "r") local [all...] |
/external/blktrace/ |
blkrawverify.c | 121 static int process(FILE **fp, char *devname, char *file, unsigned int cpu) 161 if (!*fp) { 162 *fp = fopen(ofname, "w"); 163 if (*fp == NULL) { 169 fprintf(*fp, "\n---------------\n" ); 170 fprintf(*fp, "Verifying %s\n", devname); 173 ofp = *fp;
|
/external/chromium/third_party/icu/source/tools/tzcode/ |
zdump.c | 179 static time_t huntICU(char * name, time_t lot, time_t hit, FILE *fp); 180 static void dumptimeICU(FILE * fp, time_t t); 181 static void showICU(FILE * fp, char * zone, time_t t1, time_t t2); 299 FILE * fp = stdout; local 461 fp = NULL; 482 if ((fp = fopen(path, "w")) == NULL) { 523 newt = huntICU(argv[i], t, newt, fp); 568 if (fp != NULL) { 569 fclose(fp); 871 huntICU(char *name, time_t lot, time_t hit, FILE * fp) [all...] |
/external/e2fsprogs/intl/ |
localcharset.c | 118 FILE *fp; local 138 if (file_name == NULL || (fp = fopen (file_name, "r")) == NULL) 153 c = getc (fp); 162 c = getc (fp); 168 ungetc (c, fp); 169 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2) 192 fclose (fp);
|
/external/icu4c/tools/tzcode/ |
zdump.c | 179 static time_t huntICU(char * name, time_t lot, time_t hit, FILE *fp); 180 static void dumptimeICU(FILE * fp, time_t t); 181 static void showICU(FILE * fp, char * zone, time_t t1, time_t t2); 299 FILE * fp = stdout; local 461 fp = NULL; 482 if ((fp = fopen(path, "w")) == NULL) { 523 newt = huntICU(argv[i], t, newt, fp); 568 if (fp != NULL) { 569 fclose(fp); 871 huntICU(char *name, time_t lot, time_t hit, FILE * fp) [all...] |
/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);
|
xfrm_policy.c | 416 FILE *fp = (FILE*)arg; local 470 fprintf(fp, "Deleted "); 472 fprintf(fp, "Updated "); 474 fprintf(fp, "Expired "); 489 xfrm_policy_info_print(xpinfo, tb, fp, NULL, NULL); 492 fprintf(fp, "\t"); 493 fprintf(fp, "hard %u", xpexp->hard); 494 fprintf(fp, "%s", _SL_); 498 fprintf(fp, "\n"); 499 fflush(fp); 815 FILE *fp = (FILE*)arg; local [all...] |
/packages/apps/Email/tests/src/com/android/email/ |
UtilityUnitTests.java | 95 Utility.FolderProperties fp = Utility.FolderProperties.getInstance(mContext); local 98 Drawable inbox = fp.getIconIds(Mailbox.TYPE_INBOX); 99 Drawable mail = fp.getIconIds(Mailbox.TYPE_MAIL); 100 Drawable parent = fp.getIconIds(Mailbox.TYPE_PARENT); 101 Drawable drafts = fp.getIconIds(Mailbox.TYPE_DRAFTS); 102 Drawable outbox = fp.getIconIds(Mailbox.TYPE_OUTBOX); 103 Drawable sent = fp.getIconIds(Mailbox.TYPE_SENT); 104 Drawable trash = fp.getIconIds(Mailbox.TYPE_TRASH); 105 Drawable junk = fp.getIconIds(Mailbox.TYPE_JUNK);
|
/external/kernel-headers/original/linux/ |
filter.h | 48 static inline unsigned int sk_filter_len(struct sk_filter *fp) 50 return fp->len*sizeof(struct sock_filter) + sizeof(*fp);
|
/external/libxml2/include/libxml/ |
xmlmemory.h | 145 xmlMemDisplay (FILE *fp); 147 xmlMemDisplayLast(FILE *fp, long nbBytes); 149 xmlMemShow (FILE *fp, int nr);
|
/external/openssl/crypto/bio/ |
bf_null.c | 74 static long nullf_callback_ctrl(BIO *h, int cmd, bio_info_cb *fp); 156 static long nullf_callback_ctrl(BIO *b, int cmd, bio_info_cb *fp) 164 ret=BIO_callback_ctrl(b->next_bio,cmd,fp);
|
/external/v8/src/ |
frames.h | 129 Address fp() const { return state_.fp; } function in class:v8::internal::BASE_EMBEDDED 164 Address fp; member in struct:v8::internal::BASE_EMBEDDED::State 279 static Type GetStateForFramePointer(Address fp, State* state); 323 static inline Address ComputePCAddress(Address fp); 338 static inline bool IsArgumentsAdaptorFrame(Address fp); 342 static inline bool IsConstructFrame(Address fp); 497 // An iterator that can start from a given FP address. 498 // If use_top, then work as usual, if fp isn't NULL, use it, 500 StackFrameIterator(bool use_top, Address fp, Address sp) [all...] |
/external/srec/srec/crec/ |
srec_context.c | 133 PFile* fp); 134 int FST_LoadParams(srec_context* context, PFile* fp); 160 PFile* fp; local 174 fp = file_must_open(NULL, buffer, L("r"), ESR_TRUE); 175 if (!fp) return FST_FAILED_ON_INVALID_ARGS; 176 rc = FST_LoadWordMap(&context->olabels, num_words_to_add, fp); 177 pfclose(fp); 181 fp = file_must_open(NULL, buffer, L("r"), ESR_TRUE); 182 if (!fp) return FST_FAILED_ON_INVALID_ARGS; 183 rc = FST_LoadGraph(context, context->ilabels, context->olabels, num_words_to_add, fp); [all...] |
/external/clearsilver/cgi/ |
rfc2388.c | 298 FILE *fp; local 314 fp = fdopen (fd, "w+"); 315 if (fp == NULL) 326 fclose(fp); 330 err = uListAppend (cgi->files, fp); 333 fclose (fp); 342 fclose(fp); 349 fclose (fp); 353 *fpw = fp; 362 FILE *fp = NULL local 588 FILE *fp; local [all...] |
/dalvik/vm/mterp/out/ |
InterpC-x86-atom.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)] 446 #define fp macro 2321 #undef fp macro [all...] |
InterpC-x86.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)] 446 #define fp macro 2258 #undef fp macro [all...] |