HomeSort by relevance Sort by last modified time
    Searched refs:pHeader (Results 1 - 25 of 55) sorted by null

1 2 3

  /external/chromium_org/third_party/icu/source/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;
159 return pData->pHeader;
210 return UDataMemory_normalizeDataPointer(toc->entry[number].pHeader);
218 return pData->pHeader;
240 if(!(udm->pHeader->dataHeader.magic1==0xda &&
241 udm->pHeader->dataHeader.magic2==0x27 &&
242 udm->pHeader->info.isBigEndian==U_IS_BIG_ENDIAN &&
243 udm->pHeader->info.charsetFamily==U_CHARSET_FAMILY)
248 else if (udm->pHeader->info.dataFormat[0]==0x43 &&
249 udm->pHeader->info.dataFormat[1]==0x6d &
    [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 157 } else if (gCommonICUDataArray[i]->pHeader == pData->pHeader) {
177 tData.pHeader = (const DataHeader *)pData;
659 if(gCommonICUDataArray[i]->pHeader == &U_ICUDATA_ENTRY_POINT.hdr) {
891 const DataHeader *pHeader, /* The data item to be checked. */
    [all...]
  /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 136 pData->pHeader=(const DataHeader *)MapViewOfFile(map, FILE_MAP_READ, 0, 0, 0);
137 if(pData->pHeader==NULL) {
148 UnmapViewOfFile(pData->pHeader);
150 pData->pHeader=NULL;
191 pData->pHeader=(const DataHeader *)data;
205 pData->pHeader=NULL;
264 pData->pHeader=(const DataHeader *)p;
275 pData->pHeader = NULL;
361 const DataHeader *pHeader;
399 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...]
  /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;
191 totalSize = pDvmDex->pHeader->stringIdsSize * sizeof(struct StringObject*)
    [all...]
DvmDex.h 42 /* clone of pDexFile->pHeader (it's used frequently enough) */
43 const DexHeader* pHeader;
113 assert(stringIdx < pDvmDex->pHeader->stringIdsSize);
119 assert(classIdx < pDvmDex->pHeader->typeIdsSize);
125 assert(methodIdx < pDvmDex->pHeader->methodIdsSize);
131 assert(fieldIdx < pDvmDex->pHeader->fieldIdsSize);
142 assert(stringIdx < pDvmDex->pHeader->stringIdsSize);
148 assert(classIdx < pDvmDex->pHeader->typeIdsSize);
154 assert(methodIdx < pDvmDex->pHeader->methodIdsSize);
160 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...]
  /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;
  /dalvik/vm/native/
dalvik_system_VMRuntime.cpp 404 const DexHeader* pHeader = pDvmDex->pHeader;
405 total->numStrings += pHeader->stringIdsSize;
406 total->numFields += pHeader->fieldIdsSize;
407 total->numMethods += pHeader->methodIdsSize;
408 total->numTypes += pHeader->typeIdsSize;
418 const DexHeader* pHeader = pDvmDex->pHeader;
419 for (size_t i = 0; i < pHeader->stringIdsSize; i++) {
425 for (size_t i = 0; i < pHeader->typeIdsSize; i++)
    [all...]
  /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...]

Completed in 535 milliseconds

1 2 3