/bionic/tools/bionicbb/ |
bionicbb.py | 124 fh = logging.FileHandler('bionicbb.log') variable 125 fh.setLevel(logging.INFO) 126 logger.addHandler(fh)
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRReaderStream.h | 13 NSFileHandle *fh; variable 19 @property (retain) NSFileHandle *fh; variable
|
/system/extras/simpleperf/ |
generate_event_type_table.py | 194 fh = open('event_type_table.h', 'w') variable 195 fh.write(generated_str) 196 fh.close()
|
/external/iproute2/tc/ |
f_route.c | 41 __u32 fh = 0xFFFF8000; local 67 fh &= ~0x80FF; 68 fh |= id&0xFF; 78 fh &= 0xFFFF; 79 fh |= id<<16; 90 fh &= 0xFFFF; 91 fh |= (0x8000|id)<<16; 134 fh &= ~0x7F00; 135 fh |= (order<<8)&0x7F00; 138 t->tcm_handle = fh; [all...] |
/frameworks/native/opengl/tests/linetex/ |
linetex.cpp | 83 const GLfloat fh = h; local 87 { fw2, fh }
|
/bootable/recovery/otafault/ |
ota_io.cpp | 77 FILE* fh = fopen(path, mode); local 79 filename_cache[(intptr_t)fh] = path; 80 return fh; 98 static int __ota_fclose(FILE* fh) { 100 filename_cache.erase(reinterpret_cast<intptr_t>(fh)); 101 return fclose(fh); 108 int ota_fclose(unique_file& fh) { 109 return __ota_fclose(fh.release());
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_flag_parser.h | 114 FlagHandler<T> *fh = new (FlagParser::Alloc) FlagHandler<T>(var); // NOLINT local 115 parser->RegisterHandler(name, fh, desc);
|
/frameworks/native/opengl/tests/fillrate/ |
fillrate.cpp | 94 const GLfloat fh = h; local 98 { 0, fh }, 99 { fw, fh },
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
IccPhoneBookInterfaceManager.java | 265 IccFileHandler fh = mPhone.getIccFileHandler(); local 266 if (fh != null) { 267 fh.getEFLinearRecordSize(efid, response);
|
IccSmsInterfaceManager.java | 155 IccFileHandler fh = mPhone.getIccFileHandler(); local 156 if (fh == null) { 174 fh.updateEFLinearFixed(IccConstants.EF_SMS, i + 1, record, null, null); 232 IccFileHandler fh = mPhone.getIccFileHandler(); local 233 if (fh == null) { 238 fh.updateEFLinearFixed( 310 IccFileHandler fh = mPhone.getIccFileHandler(); local 311 if (fh == null) { 318 fh.loadEFLinearFixedAll(IccConstants.EF_SMS, response); [all...] |
/external/mesa3d/src/gallium/auxiliary/hud/ |
hud_cpufreq.c | 82 FILE *fh = fopen(fn, "r"); local 83 if (!fh) { 87 int ret = fscanf(fh, "%" PRIu64 "", KHz); 88 fclose(fh);
|
hud_diskstat.c | 103 FILE *fh = fopen(fn, "r"); local 104 if (!fh) 107 ret = fscanf(fh, 114 fclose(fh);
|
hud_nic.c | 88 FILE *fh = fopen(fname, "r"); local 89 if (!fh) 91 if (fscanf(fh, "%" PRIu64 "", value) != 0) { 94 fclose(fh);
|
/external/valgrind/tests/ |
s390x_features.c | 118 int n, fh; local 124 fh = open("/proc/cpuinfo", O_RDONLY, S_IRUSR); 125 if (fh < 0) return NULL; 136 n = read(fh, file_buf, file_buf_size); 147 lseek(fh, 0, SEEK_SET); 149 n = read(fh, file_buf, num_bytes); 154 close(fh);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/rpcsvc/ |
klm_prot.h | 28 netobj fh; member in struct:klm_lock
|
/external/google-breakpad/src/client/mac/handler/ |
breakpad_nlist_64.cc | 206 struct fat_header fh; local 210 if (read(fd, (char *)&fh, sizeof(fh)) != sizeof(fh)) { 215 fh.nfat_arch = CFSwapInt32BigToHost(fh.nfat_arch); 219 (struct fat_arch *)malloc(fh.nfat_arch * sizeof(struct fat_arch)); 224 sizeof(struct fat_arch) * fh.nfat_arch) != 225 (ssize_t)(sizeof(struct fat_arch) * fh.nfat_arch)) { 234 for (unsigned i = 0; i < fh.nfat_arch; i++) [all...] |
/external/ltp/testcases/cve/ |
stack_clash.c | 97 FILE *fh; local 101 fh = SAFE_FOPEN("/proc/self/maps", "r"); 103 while (!feof(fh)) { 104 if (fgets(buf, sizeof(buf), fh) == NULL) { 127 SAFE_FCLOSE(fh);
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_state_framebuffer.c | 367 float fh = flip * viewport->scale[1] * 2.0f; local 382 fh); 410 if (fh < 0.0) { 413 prescale.translate[1] = fh + fy * 2.0f; 417 prescale.translate[1] = fh - 1.0f + fy * 2.0f; 419 fh = -fh; 420 fy -= fh; 439 prescale.scale[1] *= fh / (fh + fy) [all...] |
/external/strace/tests/ |
file_handle.c | 100 struct file_handle *fh = local 105 fh->handle_bytes, fh->handle_type); 106 print_handle_data((unsigned char *) fh + 108 fh->handle_bytes); 129 struct file_handle *fh = local 132 printf("{handle_bytes=%u, handle_type=%d", fh->handle_bytes, 133 fh->handle_type); 137 print_handle_data((unsigned char *) fh + 139 fh->handle_bytes) [all...] |
/external/strace/tests-m32/ |
file_handle.c | 100 struct file_handle *fh = local 105 fh->handle_bytes, fh->handle_type); 106 print_handle_data((unsigned char *) fh + 108 fh->handle_bytes); 129 struct file_handle *fh = local 132 printf("{handle_bytes=%u, handle_type=%d", fh->handle_bytes, 133 fh->handle_type); 137 print_handle_data((unsigned char *) fh + 139 fh->handle_bytes) [all...] |
/external/strace/tests-mx32/ |
file_handle.c | 100 struct file_handle *fh = local 105 fh->handle_bytes, fh->handle_type); 106 print_handle_data((unsigned char *) fh + 108 fh->handle_bytes); 129 struct file_handle *fh = local 132 printf("{handle_bytes=%u, handle_type=%d", fh->handle_bytes, 133 fh->handle_type); 137 print_handle_data((unsigned char *) fh + 139 fh->handle_bytes) [all...] |
/external/valgrind/coregrind/ |
fixup_macho_loadcmds.c | 271 struct fat_header fh; local 285 fh.magic = ntohl(fh_be->magic); 286 fh.nfat_arch = ntohl(fh_be->nfat_arch); 287 if (fh.magic == FAT_MAGIC) { 293 + fh.nfat_arch * sizeof(struct fat_arch)) 297 f < fh.nfat_arch; 319 if (f == fh.nfat_arch)
|
launcher-darwin.c | 133 static int fat_has_cputype(struct fat_header *fh, cpu_type_t cputype) 135 struct fat_arch *fa = (struct fat_arch *)(fh+1); 136 uint32_t nfat_arch = ntohl(fh->nfat_arch); 174 struct fat_header *fh = (struct fat_header *)buf; local 175 if (ntohl(fh->magic) == FAT_MAGIC) { 176 uint32_t nfat_arch = ntohl(fh->nfat_arch); 180 struct fat_arch *fa = (struct fat_arch *)(fh+1); 184 if (fat_has_cputype(fh, default_cputype)) { 190 if (fat_has_cputype(fh, valid_archs[i].cputype)) {
|
/frameworks/native/cmds/rawbu/ |
backup.cpp | 173 static int write_int32(FILE* fh, int32_t val) 175 int res = fwrite(&val, 1, sizeof(val), fh); 184 static int write_int64(FILE* fh, int64_t val) 186 int res = fwrite(&val, 1, sizeof(val), fh); 235 static int write_header(FILE* fh, int type, const char* path, const struct stat* st) 238 if (!write_int32(fh, type)) return 0; 239 if (!write_int32(fh, pathLen)) return 0; 240 if (fwrite(path, 1, pathLen, fh) != (size_t)pathLen) { 245 if (!write_int32(fh, st->st_uid)) return 0; 246 if (!write_int32(fh, st->st_gid)) return 0 376 FILE* fh = fopen(destPath, "w"); local 506 FILE* fh = fopen(srcPath, "r"); local [all...] |
/packages/apps/Nfc/nci/jni/ |
RouteDataSet.cpp | 243 FILE* fh = NULL; local 250 fh = fopen(filename.c_str(), "w"); 251 if (fh == NULL) { 256 actualWritten = fwrite(routesXml, sizeof(char), strlen(routesXml), fh); 258 fclose(fh); 281 FILE* fh = NULL; local 287 fh = fopen(filename.c_str(), "r"); 288 if (fh == NULL) { 295 actual = fread(buffer, sizeof(char), sizeof(buffer), fh); 299 fclose(fh); [all...] |