/system/core/libzipfile/ |
H A D | zipfile.c | 33 Zipentry* entry = file->entries; local 34 while (entry) { 35 Zipentry* next = entry->next; 36 free(entry); 37 entry = next; 46 Zipentry* entry = file->entries; local 47 while (entry) { 48 if (0 == memcmp(entryName, entry->fileName, entry->fileNameLength)) { 49 return entry; 57 get_zipentry_size(zipentry_t entry) argument 63 get_zipentry_name(zipentry_t entry) argument 118 Zipentry* entry = (Zipentry*)e; local 135 Zipentry* entry = zip->entries; local 150 Zipentry* entry = (Zipentry*)*cookie; local [all...] |
H A D | centraldir.c | 64 read_central_directory_entry(Zipfile* file, Zipentry* entry,
argument 91 fprintf(stderr, "cde entry not large enough\n");
103 entry->compressionMethod = read_le_short(&p[0x0a]);
107 entry->compressedSize = read_le_int(&p[0x14]);
108 entry->uncompressedSize = read_le_int(&p[0x18]);
109 entry->fileNameLength = read_le_short(&p[0x1c]);
120 if (entry->fileNameLength != 0) {
121 entry->fileName = p;
123 entry->fileName = NULL;
125 p += entry 235 Zipentry* entry = malloc(sizeof(Zipentry)); local [all...] |
H A D | test_zipfile.c | 16 zipentry_t entry;
local 62 entry = lookup_zipentry(zip, argv[3]);
63 if (entry == NULL) {
73 unsize = get_zipentry_size(entry);
77 err = decompress_zipentry(entry, scratch, size);
|
/system/core/include/zipfile/ |
H A D | zipfile.h | 35 // Get a named entry object. Returns NULL if it doesn't exist 40 // Return the size of the entry. 41 size_t get_zipentry_size(zipentry_t entry); 43 // return the filename of this entry, you own the memory returned 44 char* get_zipentry_name(zipentry_t entry); 48 int decompress_zipentry(zipentry_t entry, void* buf, int bufsize);
|
/system/core/libcutils/ |
H A D | hashmap.c | 115 Entry* entry = map->buckets[i]; local 116 while (entry != NULL) { 117 Entry* next = entry->next; 118 size_t index = calculateIndex(newBucketCount, entry->hash); 119 entry->next = newBuckets[index]; 120 newBuckets[index] = entry; 121 entry = next; 143 Entry* entry = map->buckets[i]; local 144 while (entry != NULL) { 145 Entry* next = entry 167 Entry* entry = malloc(sizeof(Entry)); local 225 Entry* entry = map->buckets[index]; local 240 Entry* entry = map->buckets[index]; local 311 Entry* entry = map->buckets[i]; local 331 Entry* entry = map->buckets[i]; local [all...] |
/system/core/liblog/ |
H A D | logprint.c | 345 * entry allocated by caller. Pointers will point directly into buf 347 * Returns 0 on success and -1 on invalid wire format (entry will be 351 AndroidLogEntry *entry) 353 entry->tv_sec = buf->sec; 354 entry->tv_nsec = buf->nsec; 355 entry->pid = buf->pid; 356 entry->tid = buf->tid; 370 // An well-formed entry must consist of at least a priority 372 fprintf(stderr, "+++ LOG: entry too small\n"); 401 entry 350 android_log_processLogBuffer(struct logger_entry *buf, AndroidLogEntry *entry) argument 599 android_log_processBinaryLogBuffer(struct logger_entry *buf, AndroidLogEntry *entry, const EventTagMap* map, char* messageBuf, int messageBufLen) argument 700 android_log_formatLogLine( AndroidLogFormat *p_format, char *defaultBuffer, size_t defaultBufferSize, const AndroidLogEntry *entry, size_t *p_outLength) argument 893 android_log_printLogLine( AndroidLogFormat *p_format, int fd, const AndroidLogEntry *entry) argument [all...] |
H A D | fake_log_device.c | 197 int entry = 0; local 257 logState->tagSet[entry].minPriority = minPrio; 258 strcpy(logState->tagSet[entry].tag, tagName); 259 TRACE("+++ entry %d: %s:%d\n", 260 entry, 261 logState->tagSet[entry].tag, 262 logState->tagSet[entry].minPriority); 263 entry++;
|
/system/core/adb/ |
H A D | log_service.c | 46 struct logger_entry *entry = (struct logger_entry *) buf; local 51 ret = unix_read(logfd, entry, LOGGER_ENTRY_MAX_LEN); 63 /* NOTE: driver guarantees we read exactly one full entry */ 65 entry->msg[entry->len] = '\0'; 67 write_log_entry(fd, entry); 86 /* prints one log entry into the file descriptor fd */
|
/system/core/gpttool/ |
H A D | gpttool.c | 84 struct efi_entry entry[EFI_ENTRIES]; member in struct:ptable 121 struct efi_entry *entry = ptbl->entry; local 133 for (n = 0; n < EFI_ENTRIES; n++, entry++) { 134 if (entry->type_uuid[0]) 136 memcpy(entry->type_uuid, partition_type_uuid, 16); 137 get_uuid(entry->uniq_uuid); 138 entry->first_lba = first; 139 entry->last_lba = last; 141 entry 162 struct efi_entry *entry = ptbl->entry; local 183 struct efi_entry *entry = ptbl->entry; local 255 struct efi_entry *entry; local [all...] |
/system/media/mca/filterfw/java/android/filterfw/core/ |
H A D | FilterFunction.java | 67 for (Entry<String, Object> entry : inputMap.entrySet()) { 68 if (entry.getValue() instanceof Frame) { 69 mFilter.pushInputFrame(entry.getKey(), (Frame)entry.getValue()); 71 mFilter.pushInputValue(entry.getKey(), entry.getValue());
|
H A D | KeyValueMap.java | 69 for (Map.Entry<String, Object> entry : entrySet()) { 71 Object value = entry.getValue(); 77 writer.write(entry.getKey() + " = " + valueString + ";\n");
|
H A D | CachedFrameManager.java | 133 for (Map.Entry<Integer, Frame> entry : mAvailableFrames.entrySet()) { 134 Frame frame = entry.getValue(); 143 mAvailableFrames.remove(entry.getKey());
|
H A D | FrameFormat.java | 376 for (Entry<String, Object> entry : metaData.entrySet()) { 377 buffer.append(entry.getKey() + ": " + entry.getValue() + " ");
|
/system/core/logcat/ |
H A D | logcat.cpp | 38 struct logger_entry entry __attribute__((aligned(4))); member in union:queued_entry_t::__anon429 48 int n = a->entry.sec - b->entry.sec; 52 return a->entry.nsec - b->entry.nsec; 74 void enqueue(queued_entry_t* entry) { argument 76 this->queue = entry; 79 while (*e && cmp(entry, *e) >= 0) { 82 entry->next = *e; 83 *e = entry; 164 AndroidLogEntry entry; local 235 queued_entry_t* entry = dev->queue; local 280 queued_entry_t* entry = new queued_entry_t(); local [all...] |
/system/core/sh/ |
H A D | exec.c | 90 struct tblentry *next; /* next entry in hash chain */ 93 char rehash; /* if set, cd done since entry created */ 284 * a percent sign) appears in the path entry then the global variable 337 struct cmdentry entry; local 362 find_command(name, &entry, DO_ERR, pathval()); 364 if (entry.cmdtype != CMDUNKNOWN) { /* if no error msg */ 427 find_command(char *name, struct cmdentry *entry, int act, const char *path) argument 447 entry->cmdtype = CMDUNKNOWN; 448 entry->u.index = -1; 451 entry 869 getcmdentry(char *name, struct cmdentry *entry) argument 890 addcmdentry(char *name, struct cmdentry *entry) argument 914 struct cmdentry entry; local 950 struct cmdentry entry; local [all...] |
/system/core/include/cutils/ |
H A D | logprint.h | 104 * entry allocated by caller. Pointers will point directly into buf 106 * Returns 0 on success and -1 on invalid wire format (entry will be 110 AndroidLogEntry *entry); 119 AndroidLogEntry *entry, const EventTagMap* map, char* messageBuf, 148 const AndroidLogEntry *entry);
|
/system/core/debuggerd/ |
H A D | debuggerd.c | 452 struct logger_entry entry; member in union:__anon290 482 struct logger_entry* entry = &log_entry.entry; local 484 if (entry->pid != (int32_t) pid) { 505 unsigned char prio = entry->msg[0]; 506 char* tag = entry->msg + 1; 518 time_t sec = (time_t) entry->sec; 527 timeBuf, entry->nsec / 1000000, entry->pid, entry [all...] |
/system/extras/tests/sdcard/ |
H A D | sysutil.cpp | 414 struct dirent *entry; local 417 while((entry = readdir(dir))) 419 if (0 == strcmp(entry->d_name, ".") 420 || 0 == strcmp(entry->d_name, "..") 421 || 0 == strcmp(entry->d_name, "lost+found")) 427 strcat(name_buffer, entry->d_name);
|
/system/core/libpixelflinger/codeflinger/ |
H A D | CodeCache.h | 98 : entry(a), when(w) { } 99 sp<Assembly> entry; member in struct:android::CodeCache::cache_entry_t
|
H A D | CodeCache.cpp | 126 r = e.entry; 149 mCacheInUse -= e.entry->size();
|
/system/core/init/ |
H A D | property_service.c | 471 struct dirent* entry; local 477 while ((entry = readdir(dir)) != NULL) { 478 if (strncmp("persist.", entry->d_name, strlen("persist."))) 481 if (entry->d_type != DT_REG) 485 snprintf(path, sizeof(path), "%s/%s", PERSISTENT_PROPERTY_DIR, entry->d_name); 491 property_set(entry->d_name, value);
|
H A D | bootchart.c | 245 struct dirent* entry; local 249 while ((entry = readdir(dir)) != NULL) { 252 int pid = strtol( entry->d_name, &end, 10); 253 if (end != NULL && end > entry->d_name && *end == 0) {
|
/system/extras/fatblock/ |
H A D | fs.c | 102 static void fs_set_fat(struct fs *fs, cluster_t cluster, fat_entry_t entry) argument 106 fs->fat[cluster] = htole32(entry);
|
/system/core/fastboot/ |
H A D | fastboot.c | 300 zipentry_t entry; local 303 entry = lookup_zipentry(zip, name); 304 if (entry == NULL) { 309 *sz = get_zipentry_size(entry); 319 if (decompress_zipentry(entry, data, datasz)) {
|
/system/core/sdcard/ |
H A D | sdcard.c | 167 struct dirent* entry; local 175 while ((entry = readdir(dir))) { 176 if (!strcasecmp(entry->d_name, in_name)) { 179 memcpy(buf + PATH_BUFFER_SIZE - len - 1, entry->d_name, len); 259 struct dirent* entry; local 270 while ((entry = readdir(dir))) { 271 const char *test_name = entry->d_name;
|