/system/core/libzipfile/ |
D | zipfile.c | 33 Zipentry* entry = file->entries; in release_zipfile() local 34 while (entry) { in release_zipfile() 35 Zipentry* next = entry->next; in release_zipfile() 36 free(entry); in release_zipfile() 37 entry = next; in release_zipfile() 46 Zipentry* entry = file->entries; in lookup_zipentry() local 47 while (entry) { in lookup_zipentry() 48 if (0 == memcmp(entryName, entry->fileName, entry->fileNameLength)) { in lookup_zipentry() 49 return entry; in lookup_zipentry() 51 entry = entry->next; in lookup_zipentry() [all …]
|
D | centraldir.c | 64 read_central_directory_entry(Zipfile* file, Zipentry* entry, in read_central_directory_entry() argument 105 entry->compressionMethod = read_le_short(&p[0x0a]); in read_central_directory_entry() 110 entry->uncompressedSize = read_le_int(&p[0x18]); in read_central_directory_entry() 111 entry->fileNameLength = read_le_short(&p[0x1c]); in read_central_directory_entry() 122 if (entry->fileNameLength != 0) { in read_central_directory_entry() 123 entry->fileName = p; in read_central_directory_entry() 125 entry->fileName = NULL; in read_central_directory_entry() 127 p += entry->fileNameLength; in read_central_directory_entry() 153 + entry->fileNameLength + extraFieldLength; in read_central_directory_entry() 154 entry->data = file->buf + dataOffset; in read_central_directory_entry() [all …]
|
D | test_zipfile.c | 16 zipentry_t entry; in main() local 62 entry = lookup_zipentry(zip, argv[3]); in main() 63 if (entry == NULL) { in main() 73 unsize = get_zipentry_size(entry); in main() 77 err = decompress_zipentry(entry, scratch, size); in main()
|
/system/core/libcutils/ |
D | hashmap.c | 115 Entry* entry = map->buckets[i]; in expandIfNecessary() local 116 while (entry != NULL) { in expandIfNecessary() 117 Entry* next = entry->next; in expandIfNecessary() 118 size_t index = calculateIndex(newBucketCount, entry->hash); in expandIfNecessary() 119 entry->next = newBuckets[index]; in expandIfNecessary() 120 newBuckets[index] = entry; in expandIfNecessary() 121 entry = next; in expandIfNecessary() 143 Entry* entry = map->buckets[i]; in hashmapFree() local 144 while (entry != NULL) { in hashmapFree() 145 Entry* next = entry->next; in hashmapFree() [all …]
|
/system/wlan/ti/sta_dk_4_0_4_32/common/src/TNETW_Driver/Data_Srv/Tx_Ctrl_Blk/ |
D | txCtrlBlk.c | 140 UINT8 entry; in txCtrlBlk_restart() local 145 for(entry = 0; entry < CTRL_BLK_ENTRIES_NUM; entry++) in txCtrlBlk_restart() 147 pTxCtrlBlk->TxCtrlBlkTbl[entry].txDescriptor.descID = entry; in txCtrlBlk_restart() 148 pTxCtrlBlk->TxCtrlBlkTbl[entry].pNextFreeEntry = &(pTxCtrlBlk->TxCtrlBlkTbl[entry + 1]); in txCtrlBlk_restart() 267 UINT8 entry; in txCtrlBlk_printTable() local 272 for(entry = 0; entry < CTRL_BLK_ENTRIES_NUM; entry++) in txCtrlBlk_printTable() 275 entry, in txCtrlBlk_printTable() 276 pTxCtrlBlk->TxCtrlBlkTbl[entry].txDescriptor.descID, in txCtrlBlk_printTable() 277 pTxCtrlBlk->TxCtrlBlkTbl[entry].pNextFreeEntry, in txCtrlBlk_printTable() 278 pTxCtrlBlk->TxCtrlBlkTbl[entry].txPktParams.packetId, in txCtrlBlk_printTable() [all …]
|
D | TNETW_Driver_Tx.c | 458 UINT32 entry; in TnetwDrv_RecoveryCtrlBlk() local 461 for (entry = 0; entry < MAX_CTRL_BLK_ENTRY-1; entry++) in TnetwDrv_RecoveryCtrlBlk() 464 pPktCtrlBlk = TnetwDrv_txCtrlBlk_GetPointer(pTnetwDrv, entry); in TnetwDrv_RecoveryCtrlBlk()
|
/system/core/liblog/ |
D | logprint.c | 352 AndroidLogEntry *entry) in android_log_processLogBuffer() argument 356 entry->tv_sec = buf->sec; in android_log_processLogBuffer() 357 entry->tv_nsec = buf->nsec; in android_log_processLogBuffer() 358 entry->priority = buf->msg[0]; in android_log_processLogBuffer() 359 entry->pid = buf->pid; in android_log_processLogBuffer() 360 entry->tid = buf->tid; in android_log_processLogBuffer() 361 entry->tag = buf->msg + 1; in android_log_processLogBuffer() 362 tag_len = strlen(entry->tag); in android_log_processLogBuffer() 363 entry->messageLen = buf->len - tag_len - 3; in android_log_processLogBuffer() 364 entry->message = entry->tag + tag_len + 1; in android_log_processLogBuffer() [all …]
|
D | fake_log_device.c | 197 int entry = 0; in configureInitialState() local 257 logState->tagSet[entry].minPriority = minPrio; in configureInitialState() 258 strcpy(logState->tagSet[entry].tag, tagName); in configureInitialState() 260 entry, in configureInitialState() 261 logState->tagSet[entry].tag, in configureInitialState() 262 logState->tagSet[entry].minPriority); in configureInitialState() 263 entry++; in configureInitialState()
|
/system/wlan/ti/sta_dk_4_0_4_32/pform/linux/src/ |
D | bmtrace.c | 64 bm_entry_t entry[1]; /* Array of entries */ member 71 return offsetof(bm_control_t, entry) + sizeof(bm_entry_t)*BM_NUM_ENTRIES; in bm_control_size() 111 bm_entry_t *bme= &bm_control->entry[i]; in bm_res_read_proc() 144 memset(bm_control, 0, offsetof(bm_control_t, entry) + sizeof(bm_entry_t)*BM_NUM_ENTRIES); in bm_init() 152 bm_control->self_delay = bm_control->entry[1].ts - bm_control->entry[0].ts; in bm_init() 178 bm_control->entry[pos].ts = os_timeStampUs(NULL); in bm_trace() 179 bm_control->entry[pos].loc= loc; in bm_trace() 180 bm_control->entry[pos].p1 = p1; in bm_trace() 181 bm_control->entry[pos].p2 = p2; in bm_trace()
|
/system/core/adb/ |
D | log_service.c | 46 struct logger_entry *entry = (struct logger_entry *) buf; in log_service() local 51 ret = unix_read(logfd, entry, LOGGER_ENTRY_MAX_LEN); in log_service() 65 entry->msg[entry->len] = '\0'; in log_service() 67 write_log_entry(fd, entry); in log_service()
|
/system/core/sh/ |
D | exec.c | 337 struct cmdentry entry; in hashcmd() local 362 find_command(name, &entry, DO_ERR, pathval()); in hashcmd() 364 if (entry.cmdtype != CMDUNKNOWN) { /* if no error msg */ in hashcmd() 427 find_command(char *name, struct cmdentry *entry, int act, const char *path) in find_command() argument 447 entry->cmdtype = CMDUNKNOWN; in find_command() 448 entry->u.index = -1; in find_command() 451 entry->cmdtype = CMDNORMAL; in find_command() 452 entry->u.index = -1; in find_command() 455 entry->cmdtype = CMDNORMAL; in find_command() 456 entry->u.index = 0; in find_command() [all …]
|
/system/wlan/ti/sta_dk_4_0_4_32/common/src/TNETW_Driver/FW_Transfer/Tx_Result/ |
D | txResult.c | 423 pTxResult->entry[0].from = pTxResult->TxCmpltStartPointIterator; in txResult_handleNewEntries() 424 pTxResult->entry[0].to = uIndex; in txResult_handleNewEntries() 430 pTxResult->entry[0].from = pTxResult->TxCmpltStartPointIterator; in txResult_handleNewEntries() 431 pTxResult->entry[0].to = FW_TX_CMPLT_BLOCK_SIZE; in txResult_handleNewEntries() 432 pTxResult->entry[1].from = 0; in txResult_handleNewEntries() 433 pTxResult->entry[1].to = uIndex; in txResult_handleNewEntries() 439 pTxResult->entry[0].from = 0; in txResult_handleNewEntries() 440 pTxResult->entry[0].to = FW_TX_CMPLT_BLOCK_SIZE; in txResult_handleNewEntries() 482 … pTxResult->txResultTableAddr + pTxResult->entry[currBuffer].from * sizeof(TxResultDescriptor_t), in txResult_writeNewEntries() 483 … PADWRITE (&pTxResult->TxCmpltAttr[pTxResult->entry[currBuffer].from]), in txResult_writeNewEntries() [all …]
|
D | txResult.h | 97 …TxResultEntry_t entry[2]; /* address of start-end points of … member
|
/system/core/include/zipfile/ |
D | zipfile.h | 41 size_t get_zipentry_size(zipentry_t entry); 44 char* get_zipentry_name(zipentry_t entry); 48 int decompress_zipentry(zipentry_t entry, void* buf, int bufsize);
|
/system/core/logcat/ |
D | logcat.cpp | 110 AndroidLogEntry entry; in processBuffer() local 114 err = android_log_processBinaryLogBuffer(buf, &entry, g_eventTagMap, in processBuffer() 119 err = android_log_processLogBuffer(buf, &entry); in processBuffer() 125 g_logformat, g_outFD, &entry); in processBuffer() 149 struct logger_entry *entry = (struct logger_entry *) buf; in readLogLines() local 152 ret = read(logfd, entry, LOGGER_ENTRY_MAX_LEN); in readLogLines() 168 entry->msg[entry->len] = '\0'; in readLogLines() 171 printBinary(entry); in readLogLines() 173 (void) processBuffer(entry); in readLogLines()
|
/system/core/include/cutils/ |
D | logprint.h | 110 AndroidLogEntry *entry); 119 AndroidLogEntry *entry, const EventTagMap* map, char* messageBuf, 148 const AndroidLogEntry *entry);
|
/system/extras/tests/sdcard/ |
D | sysutil.cpp | 414 struct dirent *entry; in resetDirectory() local 417 while((entry = readdir(dir))) in resetDirectory() 419 if (0 == strcmp(entry->d_name, ".") in resetDirectory() 420 || 0 == strcmp(entry->d_name, "..") in resetDirectory() 421 || 0 == strcmp(entry->d_name, "lost+found")) in resetDirectory() 427 strcat(name_buffer, entry->d_name); in resetDirectory()
|
/system/core/init/ |
D | property_service.c | 444 struct dirent* entry; in load_persistent_properties() local 450 while ((entry = readdir(dir)) != NULL) { in load_persistent_properties() 451 if (strncmp("persist.", entry->d_name, strlen("persist."))) in load_persistent_properties() 454 if (entry->d_type != DT_REG) in load_persistent_properties() 458 snprintf(path, sizeof(path), "%s/%s", PERSISTENT_PROPERTY_DIR, entry->d_name); in load_persistent_properties() 464 property_set(entry->d_name, value); in load_persistent_properties()
|
D | bootchart.c | 245 struct dirent* entry; in do_log_procs() local 249 while ((entry = readdir(dir)) != NULL) { in do_log_procs() 252 int pid = strtol( entry->d_name, &end, 10); in do_log_procs() 253 if (end != NULL && end > entry->d_name && *end == 0) { in do_log_procs()
|
D | init.c | 94 char *entry = malloc(len); in add_environment() local 95 snprintf(entry, len, "%s=%s", key, val); in add_environment() 96 ENV[n] = entry; in add_environment()
|
/system/core/libpixelflinger/codeflinger/ |
D | CodeCache.cpp | 104 r = e.entry; in lookup() 127 mCacheInUse -= e.entry->size(); in cache()
|
D | CodeCache.h | 94 : entry(a), when(w) { } in cache_entry_t() 95 sp<Assembly> entry; member
|
/system/core/fastboot/ |
D | fastboot.c | 286 zipentry_t entry; in unzip_file() local 289 entry = lookup_zipentry(zip, name); in unzip_file() 290 if (entry == NULL) { in unzip_file() 295 *sz = get_zipentry_size(entry); in unzip_file() 305 if (decompress_zipentry(entry, data, datasz)) { in unzip_file()
|
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/rsn/ |
D | rsn.c | 1895 rsn_siteBanEntry_t * entry; in rsn_isSiteBanned() local 1898 if ((entry = findBannedSiteAndCleanup(hRsn, siteBssid)) == NULL) in rsn_isSiteBanned() 1903 …[1], siteBssid.addr[2], siteBssid.addr[3], siteBssid.addr[4], siteBssid.addr[5], entry->banLevel)); in rsn_isSiteBanned() 1905 return (entry->banLevel == RSN_SITE_BAN_LEVEL_FULL); in rsn_isSiteBanned() 1935 rsn_siteBanEntry_t * entry; in rsn_banSite() local 1938 if ((entry = findBannedSiteAndCleanup(hRsn, siteBssid)) != NULL) in rsn_banSite() 1943 entry->banLevel = RSN_SITE_BAN_LEVEL_FULL; in rsn_banSite() 1950 entry = findEntryForInsert (hRsn); in rsn_banSite() 1952 entry->siteBssid = siteBssid; in rsn_banSite() 1953 entry->banLevel = banLevel; in rsn_banSite() [all …]
|
/system/core/toolbox/ |
D | powerd.c | 73 int (*handler)(struct notify_entry *entry, struct inotify_event *event); 77 int charging_state_notify_handler(struct notify_entry *entry, struct inotify_event *event) in charging_state_notify_handler() argument 86 fd = open(entry->filename, O_RDONLY); in charging_state_notify_handler()
|