Searched refs:entry (Results 1 - 25 of 37) sorted by relevance

12

/system/core/libzipfile/
H A Dzipfile.c33 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 Dcentraldir.c64 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 Dtest_zipfile.c16 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 Dzipfile.h35 // 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/wlan/ti/wilink_6_1/TWD/Data_Service/
H A DtxCtrlBlk.c43 * This module allocates and frees table entry for each packet in the Tx
129 TI_UINT8 entry; local
134 /* For all entries, write the entry index in the descriptor and the next entry address
136 for(entry = 0; entry < CTRL_BLK_ENTRIES_NUM; entry++)
138 pTxCtrlBlk->aTxCtrlBlkTbl[entry].tTxDescriptor.descID = entry;
139 pTxCtrlBlk->aTxCtrlBlkTbl[entry]
264 TI_UINT8 entry; local
[all...]
/system/core/libcutils/
H A Dhashmap.c115 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
330 Entry* entry = map->buckets[i]; local
[all...]
/system/wlan/ti/sta_dk_4_0_4_32/common/src/TNETW_Driver/Data_Srv/Tx_Ctrl_Blk/
H A DtxCtrlBlk.c44 * This module allocates and frees table entry for each packet in the Tx
140 UINT8 entry; local
143 /* For all entries, write the entry index in the descriptor and the next entry address
145 for(entry = 0; entry < CTRL_BLK_ENTRIES_NUM; entry++)
147 pTxCtrlBlk->TxCtrlBlkTbl[entry].txDescriptor.descID = entry;
148 pTxCtrlBlk->TxCtrlBlkTbl[entry]
267 UINT8 entry; local
[all...]
H A DTNETW_Driver_Tx.c166 /* If null entry (not expected to happen) return ERROR. */
327 /* If the pointed entry is already free, print error and exit (not expected to happen). */
392 /* If the pointed entry is already free, print error and exit (not expected to happen). */
458 UINT32 entry; local
461 for (entry = 0; entry < MAX_CTRL_BLK_ENTRY-1; entry++)
464 pPktCtrlBlk = TnetwDrv_txCtrlBlk_GetPointer(pTnetwDrv, entry);
/system/wlan/ti/wilink_6_1/platforms/os/common/src/
H A Dtracebuf.c44 unsigned long loc;/* trace entry identification */
58 tb_entry_t entry[1]; /* Array of entries */ member in struct:__anon1469
65 return TI_FIELD_OFFSET(tb_control_t, entry) + sizeof(tb_entry_t)*TB_NUM_ENTRIES;
86 tb_control->self_delay = tb_control->entry[1].ts - tb_control->entry[0].ts;
109 tb_control->entry[tb_control->pos].ts =
110 tb_control->entry[tb_control->pos].loc=
111 tb_control->entry[tb_control->pos].p1 =
112 tb_control->entry[tb_control->pos].p2 = 0xffffffff;
132 /* Add trace entry
[all...]
/system/core/liblog/
H A Dlogprint.c345 * 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)
355 entry->tv_sec = buf->sec;
356 entry->tv_nsec = buf->nsec;
357 entry->priority = buf->msg[0];
358 entry->pid = buf->pid;
359 entry->tid = buf->tid;
360 entry->tag = buf->msg + 1;
361 tag_len = strlen(entry
350 android_log_processLogBuffer(struct logger_entry *buf, AndroidLogEntry *entry) argument
558 android_log_processBinaryLogBuffer(struct logger_entry *buf, AndroidLogEntry *entry, const EventTagMap* map, char* messageBuf, int messageBufLen) argument
659 android_log_formatLogLine( AndroidLogFormat *p_format, char *defaultBuffer, size_t defaultBufferSize, const AndroidLogEntry *entry, size_t *p_outLength) argument
853 android_log_printLogLine( AndroidLogFormat *p_format, int fd, const AndroidLogEntry *entry) argument
[all...]
H A Dfake_log_device.c197 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 Dlog_service.c46 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/wlan/ti/sta_dk_4_0_4_32/pform/linux/src/
H A Dbmtrace.c51 unsigned long loc;/* trace entry identification */
64 bm_entry_t entry[1]; /* Array of entries */ member in struct:__anon978
71 return offsetof(bm_control_t, entry) + sizeof(bm_entry_t)*BM_NUM_ENTRIES;
111 bm_entry_t *bme= &bm_control->entry[i];
144 memset(bm_control, 0, offsetof(bm_control_t, entry) + sizeof(bm_entry_t)*BM_NUM_ENTRIES);
152 bm_control->self_delay = bm_control->entry[1].ts - bm_control->entry[0].ts;
168 /* Add trace entry. not safe, but will do */
178 bm_control->entry[pos].ts = os_timeStampUs(NULL);
179 bm_control->entry[po
[all...]
/system/core/sh/
H A Dexec.c90 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 Dlogprint.h104 * 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/logcat/
H A Dlogcat.cpp38 struct logger_entry entry __attribute__((aligned(4))); member in union:queued_entry_t::__anon141
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/wlan/ti/sta_dk_4_0_4_32/common/src/TNETW_Driver/FW_Transfer/Tx_Result/
H A DtxResult.c284 Also update numOfBuffers & entry (from, to) */
366 TxResultDescriptor_t *pCurrentEntry; /* Points to the current table entry */
367 UINT32 uIndex; /* The current table entry */
378 * Update current entry.
389 /* If the current entry contains fresh Tx-result information */
392 /* Call GWSI Tx-complete callback with current entry pointer. */
393 /* It is assumed that the entry is only accessed in this context and only for reading. */
396 /* Clear entry */
400 /* Increment the index to point to next entry (wrap around is handled below) */
423 pTxResult->entry[
[all...]
H A DtxResult.h97 TxResultEntry_t entry[2]; /* address of start-end points of the new entries */ member in struct:__anon501
/system/extras/tests/sdcard/
H A Dsysutil.cpp414 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 DCodeCache.cpp104 r = e.entry;
127 mCacheInUse -= e.entry->size();
H A DCodeCache.h94 : entry(a), when(w) { }
95 sp<Assembly> entry; member in struct:android::CodeCache::cache_entry_t
/system/core/init/
H A Dproperty_service.c453 struct dirent* entry; local
459 while ((entry = readdir(dir)) != NULL) {
460 if (strncmp("persist.", entry->d_name, strlen("persist.")))
463 if (entry->d_type != DT_REG)
467 snprintf(path, sizeof(path), "%s/%s", PERSISTENT_PROPERTY_DIR, entry->d_name);
473 property_set(entry->d_name, value);
H A Dbootchart.c245 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/wlan/ti/wilink_6_1/stad/src/Data_link/
H A DtxCtrl.c608 /* If the pointed entry is already free, print error and exit (not expected to happen). */
1300 TI_UINT32 entry; local
1306 for (entry = 0; entry < CTRL_BLK_ENTRIES_NUM-1; entry++)
1309 pPktCtrlBlk = TWD_txCtrlBlk_GetPointer(pTxCtrl->hTWD, entry);
1335 TI_UINT32 entry; local
1339 for (entry = 0; entry < CTRL_BLK_ENTRIES_NUM-1; entry
[all...]
/system/core/fastboot/
H A Dfastboot.c295 zipentry_t entry; local
298 entry = lookup_zipentry(zip, name);
299 if (entry == NULL) {
304 *sz = get_zipentry_size(entry);
314 if (decompress_zipentry(entry, data, datasz)) {

Completed in 2121 milliseconds

12