/external/icu4c/common/ |
udatamem.c | 85 This->pHeader = UDataMemory_normalizeDataPointer(dataAddr); 103 if(pData!=NULL && pData->pHeader!=NULL) { 104 return (char *)(pData->pHeader)+udata_getHeaderSize(pData->pHeader); 132 if(pData!=NULL && pData->pHeader!=NULL && pData->length>=0) { 137 return pData->length-udata_getHeaderSize(pData->pHeader); 150 if(pData!=NULL && pData->pHeader!=NULL) { 151 return pData->pHeader; 158 return This->pHeader != NULL;
|
ucmndata.c | 71 const DataHeader *pHeader; 258 return pData->pHeader; 290 return UDataMemory_normalizeDataPointer(toc->entry[number].pHeader); 298 return pData->pHeader; 320 if(udm==NULL || udm->pHeader==NULL) { 322 } else if(!(udm->pHeader->dataHeader.magic1==0xda && 323 udm->pHeader->dataHeader.magic2==0x27 && 324 udm->pHeader->info.isBigEndian==U_IS_BIG_ENDIAN && 325 udm->pHeader->info.charsetFamily==U_CHARSET_FAMILY) 330 else if (udm->pHeader->info.dataFormat[0]==0x43 & [all...] |
udataswp.c | 238 const DataHeader *pHeader; 251 pHeader=(const DataHeader *)inData; 253 pHeader->dataHeader.magic1!=0xda || 254 pHeader->dataHeader.magic2!=0x27 || 255 pHeader->info.sizeofUChar!=2 262 headerSize=ds->readUInt16(pHeader->dataHeader.headerSize); 263 infoSize=ds->readUInt16(pHeader->info.size); 267 headerSize<(sizeof(pHeader->dataHeader)+infoSize) || 291 ds->swapArray16(ds, &pHeader->dataHeader.headerSize, 2, &outHeader->dataHeader.headerSize, pErrorCode); 294 ds->swapArray16(ds, &pHeader->info.size, 4, &outHeader->info.size, pErrorCode) [all...] |
umapfile.c | 140 pData->pHeader=(const DataHeader *)MapViewOfFile(map, FILE_MAP_READ, 0, 0, 0); 141 if(pData->pHeader==NULL) { 152 UnmapViewOfFile(pData->pHeader); 154 pData->pHeader=NULL; 195 pData->pHeader=(const DataHeader *)data; 209 pData->pHeader=NULL; 268 pData->pHeader=(const DataHeader *)p; 279 pData->pHeader = NULL; 365 const DataHeader *pHeader; 403 pData->pHeader=(const DataHeader *)data [all...] |
udatamem.h | 28 const DataHeader *pHeader; /* Header of the memory being described by this */
|
udata.cpp | 142 if ((gCommonICUDataArray[i] != NULL) && (gCommonICUDataArray[i]->pHeader == pData->pHeader)) { 181 } else if (gCommonICUDataArray[i]->pHeader == pData->pHeader) { 201 tData.pHeader = (const DataHeader *)pData; 683 if(gCommonICUDataArray[i]->pHeader == &U_ICUDATA_ENTRY_POINT) { [all...] |
ucnvsel.cpp | 482 const DataHeader *pHeader = (const DataHeader *)p; 484 pHeader->dataHeader.magic1==0xda && 485 pHeader->dataHeader.magic2==0x27 && 486 pHeader->info.dataFormat[0] == 0x43 && 487 pHeader->info.dataFormat[1] == 0x53 && 488 pHeader->info.dataFormat[2] == 0x65 && 489 pHeader->info.dataFormat[3] == 0x6c 495 if (pHeader->info.formatVersion[0] != 1) { 500 if (pHeader->info.isBigEndian != U_IS_BIG_ENDIAN || 501 pHeader->info.charsetFamily != U_CHARSET_FAMIL [all...] |
/frameworks/native/opengl/include/ETC1/ |
etc1.h | 88 void etc1_pkm_format_header(etc1_byte* pHeader, etc1_uint32 width, etc1_uint32 height); 92 etc1_bool etc1_pkm_is_valid(const etc1_byte* pHeader); 96 etc1_uint32 etc1_pkm_get_width(const etc1_byte* pHeader); 100 etc1_uint32 etc1_pkm_get_height(const etc1_byte* pHeader);
|
/sdk/emulator/opengl/host/libs/Translator/include/GLcommon/ |
etc1.h | 90 void etc1_pkm_format_header(etc1_byte* pHeader, etc1_uint32 width, etc1_uint32 height); 94 etc1_bool etc1_pkm_is_valid(const etc1_byte* pHeader); 98 etc1_uint32 etc1_pkm_get_width(const etc1_byte* pHeader); 102 etc1_uint32 etc1_pkm_get_height(const etc1_byte* pHeader);
|
/dalvik/vm/ |
DvmDex.cpp | 44 const DexHeader* pHeader; 47 pHeader = pDexFile->pHeader; 49 stringSize = pHeader->stringIdsSize * sizeof(struct StringObject*); 50 classSize = pHeader->typeIdsSize * sizeof(struct ClassObject*); 51 methodSize = pHeader->methodIdsSize * sizeof(struct Method*); 52 fieldSize = pHeader->fieldIdsSize * sizeof(struct Field*); 66 pDvmDex->pHeader = pHeader; 187 totalSize = pDvmDex->pHeader->stringIdsSize * sizeof(struct StringObject*) [all...] |
DvmDex.h | 41 /* clone of pDexFile->pHeader (it's used frequently enough) */ 42 const DexHeader* pHeader; 110 assert(stringIdx < pDvmDex->pHeader->stringIdsSize); 116 assert(classIdx < pDvmDex->pHeader->typeIdsSize); 122 assert(methodIdx < pDvmDex->pHeader->methodIdsSize); 128 assert(fieldIdx < pDvmDex->pHeader->fieldIdsSize); 139 assert(stringIdx < pDvmDex->pHeader->stringIdsSize); 145 assert(classIdx < pDvmDex->pHeader->typeIdsSize); 151 assert(methodIdx < pDvmDex->pHeader->methodIdsSize); 157 assert(fieldIdx < pDvmDex->pHeader->fieldIdsSize) [all...] |
/dalvik/libdex/ |
DexFile.cpp | 229 numEntries = dexRoundUpPower2(pDexFile->pHeader->classDefsSize * 2); 239 for (i = 0; i < (int)pDexFile->pHeader->classDefsSize; i++) { 257 pDexFile->pHeader->classDefsSize, numEntries, 258 (100 * pDexFile->pHeader->classDefsSize) / numEntries, 270 DexHeader *pHeader = (DexHeader*) data; 273 pDexFile->pHeader = pHeader; 274 pDexFile->pStringIds = (const DexStringId*) (data + pHeader->stringIdsOff); 275 pDexFile->pTypeIds = (const DexTypeId*) (data + pHeader->typeIdsOff); 276 pDexFile->pFieldIds = (const DexFieldId*) (data + pHeader->fieldIdsOff) [all...] |
DexClass.h | 63 DexClassDataHeader *pHeader); 122 DexClassDataHeader *pHeader) { 123 pHeader->staticFieldsSize = readUnsignedLeb128(pData); 124 pHeader->instanceFieldsSize = readUnsignedLeb128(pData); 125 pHeader->directMethodsSize = readUnsignedLeb128(pData); 126 pHeader->virtualMethodsSize = readUnsignedLeb128(pData);
|
DexSwapVerify.cpp | 72 const DexHeader* pHeader; 253 return (state->pHeader->typeIdsSize + 0x1f) >> 5; 273 static bool swapDexHeader(const CheckState* state, DexHeader* pHeader) 275 CHECK_PTR_RANGE(pHeader, pHeader + 1); 278 SWAP_FIELD4(pHeader->checksum); 280 SWAP_FIELD4(pHeader->fileSize); 281 SWAP_FIELD4(pHeader->headerSize); 282 SWAP_FIELD4(pHeader->endianTag); 283 SWAP_FIELD4(pHeader->linkSize) [all...] |
DexFile.h | 505 const DexHeader* pHeader; 574 bool dexHasValidMagic(const DexHeader* pHeader); 579 u4 dexComputeChecksum(const DexHeader* pHeader); 604 u4 mapOff = pDexFile->pHeader->mapOff; 625 assert(idx < pDexFile->pHeader->stringIdsSize); 641 assert(idx < pDexFile->pHeader->typeIdsSize); 656 assert(idx < pDexFile->pHeader->methodIdsSize); 662 assert(idx < pDexFile->pHeader->fieldIdsSize); 668 assert(idx < pDexFile->pHeader->protoIdsSize); 687 assert(idx < pDexFile->pHeader->classDefsSize) [all...] |
DexClass.cpp | 43 DexClassDataHeader *pHeader) { 48 dexReadClassDataHeader(pData, pHeader);
|
/hardware/ti/wlan/wl1271/stad/src/Data_link/ |
txCtrlServ.c | 72 dot11_header_t *pHeader; /* Note : there is no body for null frame */ 76 pHeader = (dot11_header_t*)(pFrame); 81 SET_WLAN_WORD(&pHeader->qosControl, 0); /* We are using user priority 0 (BE) so no need for shift and endianess */ 94 COPY_WLAN_WORD(&pHeader->fc, &fc); /* copy with endianess handling. */ 97 status = ctrlData_getParamBssid(pTxCtrl->hCtrlData, CTRL_DATA_CURRENT_BSSID_PARAM, pHeader->address3); 104 status = ctrlData_getParamBssid(pTxCtrl->hCtrlData, CTRL_DATA_MAC_ADDRESS, pHeader->address2); 111 MAC_COPY (pHeader->address1, pHeader->address3);
|
/dalvik/vm/jdwp/ |
JdwpHandler.h | 41 void dvmJdwpProcessRequest(JdwpState* state, const JdwpReqHeader* pHeader,
|
/hardware/ti/omap4xxx/security/tf_crypto_sst/ |
pkcs11_global.c | 128 PPKCS11_SESSION_CONTEXT_HEADER pHeader = (PPKCS11_SESSION_CONTEXT_HEADER)hSession; 131 if ((pHeader == NULL) || (pHeader->nMagicWord != PKCS11_SESSION_MAGIC)) 135 if (pHeader->nSessionTag == PKCS11_PRIMARY_SESSION_TAG) /* primary session */ 137 pSession = (PPKCS11_PRIMARY_SESSION_CONTEXT)pHeader; 144 else if (pHeader->nSessionTag == PKCS11_SECONDARY_SESSION_TAG) /*secondary session */ 146 PPKCS11_SECONDARY_SESSION_CONTEXT pSecSession = (PPKCS11_SECONDARY_SESSION_CONTEXT)pHeader;
|
/frameworks/av/media/libstagefright/codecs/aacdec/ |
get_adif_header.cpp | 181 RETURNING( pHeader->bitrate ) 303 ADIF_Header *pHeader = &pVars->scratch.adif_header; 375 pHeader->bitrate =
|
/dalvik/dexdump/ |
DexDump.cpp | 395 const DexHeader* pHeader = pDexFile->pHeader; 396 char sanitized[sizeof(pHeader->magic)*2 +1]; 398 assert(sizeof(pHeader->magic) == sizeof(pOptHeader->magic)); 420 asciify(sanitized, pHeader->magic, sizeof(pHeader->magic)); 422 printf("checksum : %08x\n", pHeader->checksum); 424 pHeader->signature[0], pHeader->signature[1], 425 pHeader->signature[kSHA1DigestLen-2] [all...] |
/frameworks/native/opengl/libs/ETC1/ |
etc1.cpp | 633 void etc1_pkm_format_header(etc1_byte* pHeader, etc1_uint32 width, etc1_uint32 height) { 634 memcpy(pHeader, kMagic, sizeof(kMagic)); 637 writeBEUint16(pHeader + ETC1_PKM_FORMAT_OFFSET, ETC1_RGB_NO_MIPMAPS); 638 writeBEUint16(pHeader + ETC1_PKM_ENCODED_WIDTH_OFFSET, encodedWidth); 639 writeBEUint16(pHeader + ETC1_PKM_ENCODED_HEIGHT_OFFSET, encodedHeight); 640 writeBEUint16(pHeader + ETC1_PKM_WIDTH_OFFSET, width); 641 writeBEUint16(pHeader + ETC1_PKM_HEIGHT_OFFSET, height); 646 etc1_bool etc1_pkm_is_valid(const etc1_byte* pHeader) { 647 if (memcmp(pHeader, kMagic, sizeof(kMagic))) { 650 etc1_uint32 format = readBEUint16(pHeader + ETC1_PKM_FORMAT_OFFSET) [all...] |
/sdk/emulator/opengl/host/libs/Translator/GLcommon/ |
etc1.cpp | 633 void etc1_pkm_format_header(etc1_byte* pHeader, etc1_uint32 width, etc1_uint32 height) { 634 memcpy(pHeader, kMagic, sizeof(kMagic)); 637 writeBEUint16(pHeader + ETC1_PKM_FORMAT_OFFSET, ETC1_RGB_NO_MIPMAPS); 638 writeBEUint16(pHeader + ETC1_PKM_ENCODED_WIDTH_OFFSET, encodedWidth); 639 writeBEUint16(pHeader + ETC1_PKM_ENCODED_HEIGHT_OFFSET, encodedHeight); 640 writeBEUint16(pHeader + ETC1_PKM_WIDTH_OFFSET, width); 641 writeBEUint16(pHeader + ETC1_PKM_HEIGHT_OFFSET, height); 646 etc1_bool etc1_pkm_is_valid(const etc1_byte* pHeader) { 647 if (memcmp(pHeader, kMagic, sizeof(kMagic))) { 650 etc1_uint32 format = readBEUint16(pHeader + ETC1_PKM_FORMAT_OFFSET) [all...] |
/frameworks/base/media/libdrm/mobile1/src/parser/ |
parser_dcf.c | 50 uint8_t *pHeader, *pData; 78 pHeader = tmpBuf; 83 pStart = pHeader;
|
/external/icu4c/tools/toolutil/ |
package.cpp | 115 const DataHeader *pHeader; 128 pHeader=(const DataHeader *)data; 129 pInfo=&pHeader->info; 131 pHeader->dataHeader.magic1!=0xda || 132 pHeader->dataHeader.magic2!=0x27 || 140 headerLength=pHeader->dataHeader.headerSize; 143 headerLength=readSwapUInt16(pHeader->dataHeader.headerSize); 149 headerLength<(int32_t)(sizeof(pHeader->dataHeader)+infoLength) || 406 DataHeader *pHeader; 407 pHeader=(DataHeader *)header [all...] |