/bootable/recovery/minzip/ |
Hash.c | 182 HashEntry* pEntry; 191 pEntry = &pHashTable->pEntries[itemHash & (pHashTable->tableSize-1)]; 193 while (pEntry->data != NULL) { 194 if (pEntry->data != HASH_TOMBSTONE && 195 pEntry->hashValue == itemHash && 196 (*cmpFunc)(pEntry->data, item) == 0) 199 //LOGD("+++ match on entry %d\n", pEntry - pHashTable->pEntries); 203 pEntry++; 204 if (pEntry == pEnd) { /* wrap around to start */ 207 pEntry = pHashTable->pEntries [all...] |
Zip.h | 104 mzGetZipEntryIndex(const ZipArchive *pArchive, const ZipEntry *pEntry) { 105 return pEntry - pArchive->pEntries; 111 INLINE UnterminatedString mzGetZipEntryFileName(const ZipEntry* pEntry) { 113 ret.str = pEntry->fileName; 114 ret.len = pEntry->fileNameLen; 117 INLINE long mzGetZipEntryOffset(const ZipEntry* pEntry) { 118 return pEntry->offset; 120 INLINE long mzGetZipEntryUncompLen(const ZipEntry* pEntry) { 121 return pEntry->uncompLen; 123 INLINE long mzGetZipEntryModTime(const ZipEntry* pEntry) { [all...] |
Zip.c | 91 static void dumpEntry(const ZipEntry* pEntry) 93 LOGI(" %p '%.*s'\n", pEntry->fileName,pEntry->fileNameLen,pEntry->fileName); 94 LOGI(" off=%ld comp=%ld uncomp=%ld how=%d\n", pEntry->offset, 95 pEntry->compLen, pEntry->uncompLen, pEntry->compression); 146 static void addEntryToHashTable(HashTable* pHash, ZipEntry* pEntry) 148 unsigned int itemHash = computeHash(pEntry->fileName, pEntry->fileNameLen) [all...] |
/dalvik/vm/ |
Hash.cpp | 178 HashEntry* pEntry; 187 pEntry = &pHashTable->pEntries[itemHash & (pHashTable->tableSize-1)]; 189 while (pEntry->data != NULL) { 190 if (pEntry->data != HASH_TOMBSTONE && 191 pEntry->hashValue == itemHash && 192 (*cmpFunc)(pEntry->data, item) == 0) 195 //LOGD("+++ match on entry %d", pEntry - pHashTable->pEntries); 199 pEntry++; 200 if (pEntry == pEnd) { /* wrap around to start */ 203 pEntry = pHashTable->pEntries [all...] |
AtomicCache.cpp | 86 void dvmUpdateAtomicCache(u4 key1, u4 key2, u4 value, AtomicCacheEntry* pEntry, 111 (volatile s4*) &pEntry->version) != 0) 127 if (pEntry->key1 == 0) 141 pEntry->version = newVersion; 143 android_atomic_release_store(key1, (int32_t*) &pEntry->key1); 144 pEntry->key2 = key2; 145 pEntry->value = value; 148 android_atomic_release_store(newVersion, (int32_t*) &pEntry->version); 152 * pEntry->version, so if this fails the world is broken. 157 (volatile s4*) &pEntry->version) != 0 [all...] |
AtomicCache.h | 96 AtomicCacheEntry* pEntry; \ 103 pEntry = (_cache)->entries + hash; \ 105 firstVersion = android_atomic_acquire_load((int32_t*)&pEntry->version); \ 107 if (pEntry->key1 == (u4)(_key1) && pEntry->key2 == (u4)(_key2)) { \ 114 value = android_atomic_acquire_load((int32_t*) &pEntry->value); \ 115 secondVersion = pEntry->version; \ 139 dvmUpdateAtomicCache((u4) (_key1), (u4) (_key2), value, pEntry, \ 161 void dvmUpdateAtomicCache(u4 key1, u4 key2, u4 value, AtomicCacheEntry* pEntry,
|
Native.cpp | 264 static bool checkOnLoadResult(SharedLib* pEntry) 267 if (pEntry->onLoadThreadId == self->threadId) { 273 self->threadId, pEntry->pathName); 277 LOGV("+++ retrieving %s OnLoad status", pEntry->pathName); 280 dvmLockMutex(&pEntry->onLoadLock); 281 while (pEntry->onLoadResult == kOnLoadPending) { 283 self->threadId, pEntry->pathName); 285 pthread_cond_wait(&pEntry->onLoadCond, &pEntry->onLoadLock); 288 if (pEntry->onLoadResult == kOnLoadOkay) [all...] |
/build/tools/zipalign/ |
ZipAlign.cpp | 50 ZipEntry* pEntry; 58 pEntry = pZin->getEntryByIndex(i); 59 if (pEntry == NULL) { 64 if (pEntry->isCompressed()) { 67 // pEntry->getFileName(), (long) pEntry->getFileOffset(), 68 // (long) pEntry->getUncompressedLen()); 76 long newOffset = pEntry->getFileOffset() + bias; 80 // pEntry->getFileName(), (long) pEntry->getFileOffset() [all...] |
ZipFile.cpp | 161 ZipEntry* pEntry = mEntries[idx]; 162 if (!pEntry->getDeleted() && 163 strcmp(fileName, pEntry->getFileName()) == 0) 165 return pEntry; 309 ZipEntry* pEntry = new ZipEntry; 311 result = pEntry->initFromCDE(mZipFp); 314 delete pEntry; 318 mEntries.add(pEntry); 362 ZipEntry* pEntry = NULL; 394 pEntry = new ZipEntry [all...] |
ZipFile.h | 134 status_t remove(ZipEntry* pEntry); 148 //bool uncompress(const ZipEntry* pEntry, void* buf) const; 149 //bool uncompress(const ZipEntry* pEntry, FILE* fp) const; 150 void* uncompress(const ZipEntry* pEntry);
|
ZipEntry.cpp | 145 const ZipEntry* pEntry) 150 memcpy(&mCDE, &pEntry->mCDE, sizeof(mCDE)); 156 strcpy((char*) mCDE.mFileName, (char*)pEntry->mCDE.mFileName); 162 strcpy((char*) mCDE.mFileComment, (char*)pEntry->mCDE.mFileComment); 169 memcpy(mCDE.mExtraField, pEntry->mCDE.mExtraField, 181 mLFH.mExtraFieldLength = pEntry->mLFH.mExtraFieldLength; 186 memcpy(mLFH.mExtraField, pEntry->mLFH.mExtraField,
|
/frameworks/base/drm/libdrmframework/include/ |
PlugInManager.h | 205 struct dirent* pEntry; 207 while (NULL != pDir && NULL != (pEntry = readdir(pDir))) { 208 if (!isPlugIn(pEntry)) { 214 plugInPath += pEntry->d_name; 229 bool isPlugIn(const struct dirent* pEntry) const { 230 String8 sName(pEntry->d_name); 239 bool isDotOrDDot(const struct dirent* pEntry) const { 240 String8 sName(pEntry->d_name); 247 bool isDirectory(const struct dirent* pEntry) const { 248 return DT_DIR == pEntry->d_type [all...] |
/system/core/libdiskconfig/ |
config_mbr.c | 31 cfg_pentry(struct pc_partition *pentry, uint8_t status, uint8_t type, 37 memset(&pentry->start, 0xff, sizeof(struct chs)); 38 memset(&pentry->end, 0xff, sizeof(struct chs)); 41 memset(&pentry->start, 0, sizeof(struct chs)); 42 memset(&pentry->end, 0, sizeof(struct chs)); 45 pentry->status = status; 46 pentry->type = type; 47 pentry->start_lba = start; 48 pentry->len_lba = len; 50 LOGI("Configuring pentry. status=0x%x type=0x%x start_lba=%u len_lba=%u" 75 struct pc_partition *pentry; local [all...] |
/frameworks/base/tools/aapt/ |
ZipFile.cpp | 161 ZipEntry* pEntry = mEntries[idx]; 162 if (!pEntry->getDeleted() && 163 strcmp(fileName, pEntry->getFileName()) == 0) 165 return pEntry; 309 ZipEntry* pEntry = new ZipEntry; 311 result = pEntry->initFromCDE(mZipFp); 314 delete pEntry; 318 mEntries.add(pEntry); 362 ZipEntry* pEntry = NULL; 394 pEntry = new ZipEntry [all...] |
ZipFile.h | 134 status_t remove(ZipEntry* pEntry); 148 //bool uncompress(const ZipEntry* pEntry, void* buf) const; 149 //bool uncompress(const ZipEntry* pEntry, FILE* fp) const; 150 void* uncompress(const ZipEntry* pEntry);
|
ZipEntry.cpp | 145 const ZipEntry* pEntry) 150 memcpy(&mCDE, &pEntry->mCDE, sizeof(mCDE)); 156 strcpy((char*) mCDE.mFileName, (char*)pEntry->mCDE.mFileName); 162 strcpy((char*) mCDE.mFileComment, (char*)pEntry->mCDE.mFileComment); 169 memcpy(mCDE.mExtraField, pEntry->mCDE.mExtraField, 181 mLFH.mExtraFieldLength = pEntry->mLFH.mExtraFieldLength; 186 memcpy(mLFH.mExtraField, pEntry->mLFH.mExtraField,
|
/external/svox/pico/lib/ |
picoklex.c | 540 picoos_uint32 pentry; local 549 pentry = 0x000000ff & (ind[0]); 550 pentry |= ((picoos_uint32)(ind[1]) << 8); 551 pentry |= ((picoos_uint32)(ind[2]) << 16); 554 if (pentry >= ((picoos_uint32)klex->nrblocks * PICOKLEX_LEXBLOCK_SIZE)) { 558 pentry += (klex->lexblocks[pentry]); 559 *phonlen = (klex->lexblocks[pentry++]) - 2; 560 *pos = klex->lexblocks[pentry++]; 561 *phon = &(klex->lexblocks[pentry]); [all...] |
/external/e2fsprogs/lib/ext2fs/ |
dosio.c | 109 static PTABLE_ENTRY *scan_partition_table(PTABLE_ENTRY *pentry, 120 if(pentry[*pno].type == LINUX_EXT2FS) 121 return &pentry[*pno]; 124 if(!pentry[*pno].type) 126 else if(pentry[*pno].type == LINUX_SWAP) 133 if(pentry[i].type == LINUX_EXT2FS) 136 return &pentry[i];
|
/external/qemu/ |
elf_ops.h | 181 int must_swab, uint64_t *pentry, 213 if (pentry) 214 *pentry = (uint64_t)(elf_sword)ehdr.e_entry;
|
loader.c | 308 uint64_t *pentry, uint64_t *lowaddr, uint64_t *highaddr) 342 ret = load_elf64(fd, address_offset, must_swab, pentry, 345 ret = load_elf32(fd, address_offset, must_swab, pentry,
|
sysemu.h | 230 uint64_t *pentry, uint64_t *lowaddr, uint64_t *highaddr);
|
/dalvik/vm/jdwp/ |
JdwpSocket.cpp | 398 struct hostent* pEntry; 415 &pEntry, &h_errno); 424 pEntry = gethostbyname(state->params.host); 425 if (pEntry == NULL) { 433 memcpy(&addr.addrInet.sin_addr, pEntry->h_addr, pEntry->h_length); 434 addr.addrInet.sin_family = pEntry->h_addrtype;
|
/external/libvpx/mkvparser/ |
mkvparser.cpp | [all...] |
/external/icu4c/tools/tzcode/ |
zdump.c | 1001 listentry * pentry; local 1008 if ((pentry = malloc(sizeof(listentry))) == NULL) { 1012 pentry->name = pzonename; 1013 pentry->next = NULL; 1014 (*last)->next = pentry; 1015 *last = pentry;
|
/external/qemu/distrib/sdl-1.2.12/src/video/maccommon/ |
SDL_macwm.c | 178 unsigned char * pEntry = (unsigned char *) &pTableGammaTemp->gFormulaData + pTableGammaTemp->gFormulaSize; /* base of table */ 188 *(pEntry + indexChan * entries * bytesPerEntry + indexEntry * entries * bytesPerEntry / 256) >> shiftRightValue; 195 *(pEntry + indexEntry * entries * bytesPerEntry / 256) >> shiftRightValue;
|