/frameworks/base/media/libdrm/mobile1/src/parser/ |
parser_dm.c | 69 const uint8_t *pStart = NULL, *pEnd = NULL; 83 pStart = drm_strnstr(buffer, (uint8_t *)"--", bufferLen); 84 if (NULL == pStart) 86 pEnd = pStart; 89 pEnd = drm_strnstr(pStart, (uint8_t *)DRM_NEW_LINE_CRLF, leftLen); 93 if ((pEnd - pStart) >= MAX_CONTENT_BOUNDARY_LEN) 95 strncpy((char *)pDmInfo->boundary, (char *)pStart, pEnd - pStart); 100 pStart = pEnd; 101 leftLen = pBufferEnd - pStart; [all...] |
parser_dcf.c | 49 uint8_t *pStart, *pEnd; 92 pStart = pHeader; 93 while (pStart < pData) { 94 pEnd = pStart; 98 if (0 == strncmp((char *)pStart, HEADER_ENCRYPTION_METHOD, HEADER_ENCRYPTION_METHOD_LEN)) { 99 if ((pEnd - pStart - HEADER_ENCRYPTION_METHOD_LEN) >= MAX_ENCRYPTION_METHOD_LEN) 102 (char *)(pStart + HEADER_ENCRYPTION_METHOD_LEN), 103 pEnd - pStart - HEADER_ENCRYPTION_METHOD_LEN); 105 } else if (0 == strncmp((char *)pStart, HEADER_RIGHTS_ISSUER, HEADER_RIGHTS_ISSUER_LEN)) { 106 if ((pEnd - pStart - HEADER_RIGHTS_ISSUER_LEN) >= MAX_RIGHTS_ISSUER_LEN [all...] |
/frameworks/compile/mclinker/lib/Support/ |
MemoryRegion.cpp | 33 MemoryRegion* MemoryRegion::Create(void* pStart, size_t pSize) 35 return g_RegionFactory->produce(static_cast<Address>(pStart), pSize); 38 MemoryRegion* MemoryRegion::Create(void* pStart, size_t pSize, Space& pSpace) 40 MemoryRegion* result = g_RegionFactory->produce(static_cast<Address>(pStart),
|
Space.cpp | 73 Space* Space::Create(FileHandle& pHandler, size_t pStart, size_t pSize) 79 switch(type = policy(pStart, pSize)) { 82 total_offset = pStart + pSize; 83 start = pStart; 110 total_offset = page_boundary(pStart + pSize); 111 start = page_offset(pStart); 114 size = page_boundary((pStart - start) + pSize); 127 size = page_boundary((pStart - start) + pSize);
|
/external/antlr/antlr-3.4/antlr3-maven-archetype/src/main/resources/archetype-resources/src/main/java/ |
Main.java | 155 long pStart = System.currentTimeMillis(); 158 System.out.println(" Parsed in " + (stop - pStart) + "ms."); 182 pStart = System.currentTimeMillis(); 185 System.out.println("${symbol_escape}n AST Walked in " + (stop - pStart) + "ms."); 228 pStart = System.currentTimeMillis(); 232 System.out.println(" PNG graphic produced in " + (stop - pStart) + "ms.");
|
/external/icu4c/samples/layout/ |
paragraph.cpp | 101 LEUnicode *pStart = &fChars[0]; 103 while (*pStart != 0) { 104 LEUnicode *pEnd = u_strpbrk(pStart, separators); 112 if (pEnd != pStart) { 113 subsetFontRuns(fontRuns, pStart - fChars, pEnd - fChars, &fr); 115 paragraphLayout = new ParagraphLayout(pStart, pEnd - pStart, &fr, NULL, NULL, locales, fParagraphLevel, FALSE, status); 153 pStart = skipLineEnd(pEnd);
|
pflow.c | 116 LEUnicode *pStart; 153 pStart = &flow->fChars[0]; 155 while (*pStart != 0) { 156 LEUnicode *pEnd = u_strpbrk(pStart, separators); 164 if (pEnd != pStart) { 165 subsetFontRuns(fontRuns, pStart - flow->fChars, pEnd - flow->fChars, fr); 169 pl_addLocaleRun(locales, TEST_LOCALE, pEnd - pStart); 172 paragraphLayout = pl_create(pStart, pEnd - pStart, fr, NULL, NULL, locales, flow->fParagraphLevel, FALSE, status); 210 pStart = skipLineEnd(pEnd) [all...] |
/external/icu4c/tools/toolutil/ |
uparse.h | 132 uint32_t *pStart, uint32_t *pEnd, 142 uint32_t *pStart, uint32_t *pEnd,
|
uparse.c | 297 uint32_t *pStart, uint32_t *pEnd, 306 if(s==NULL || pStart==NULL || pEnd==NULL) { 318 *pStart=*pEnd=value; 337 if(value<*pStart) { 343 return value-*pStart+1; 348 uint32_t *pStart, uint32_t *pEnd, 352 u_parseCodePointRangeAnyTerminator(s, pStart, pEnd, &terminator, pErrorCode);
|
ucbuf.c | 59 const char* pStart; 82 pStart = start; 83 ucnv_toUnicode(*conv, &pTarget, target+1, &pStart, start+*signatureLength, NULL, FALSE, error); 84 *signatureLength = (int32_t)(pStart - start); 590 const char* pStart; 598 pStart = start; 599 ucnv_toUnicode(buf->conv, &pTarget, target+1, &pStart, start+numRead, NULL, FALSE, error);
|
/frameworks/compile/mclinker/include/mcld/Support/ |
MemoryRegion.h | 61 /// @param pStart [in] The start address of a piece of memory 63 static MemoryRegion* Create(void* pStart, size_t pSize); 77 /// @param pStart [in] The start address of a piece of memory 80 static MemoryRegion* Create(void* pStart, size_t pSize, Space& pSpace);
|
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/ |
LVM_Buffers.c | 61 LVM_INT16 *pStart; 88 pStart = pInstance->pInputSamples; /* Pointer to the input samples */ 149 Copy_16(pStart, /* Source */ 152 pStart += NumChannels * NumSamples; /* Update the input pointer */ 165 pInstance->pInputSamples = pStart; /* Update input sample pointer */ 175 pStart = pBuffer->pScratch; /* Start of the buffer */ 176 pStart += NumChannels*SampleCount; /* Offset by the number of processed samples */ 179 Copy_16(pStart, /* Source */ 535 LVM_INT16 *pStart; 543 pStart = pBuffer->pScratch [all...] |
/external/openssl/crypto/asn1/ |
a_set.c | 95 unsigned char *pStart, *pTempMem; 121 pStart = p; /* Catch the beg of Setblobs*/ 139 totSize = p - pStart; /* This is the total size of all set blobs */ 159 memcpy(pStart, pTempMem, totSize);
|
/hardware/ti/omap4xxx/camera/ |
CameraHalUtilClasses.cpp | 207 char *pStart = NULL; 237 pStart = pArea; 238 if ( NULL == pStart ) 246 left = static_cast<ssize_t>(strtol(pStart, &pEnd, 10));
|
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
drm_rights_manager.c | 492 uint8_t *pStart, *pEnd; 495 pStart = buffer; 496 pEnd = pStart; 498 if (pEnd != pStart) 499 pStart = ++pEnd; 502 if (pStart == pEnd) 503 pStart--; 506 memmove(pStart, pEnd, movLen); 507 bufferLen -= (pEnd - pStart);
|
drm_api.c | 896 uint8_t *pStart; 899 pStart = s->rawContent + s->contentOffset; 900 if (-1 == (skipLen = drm_skipCRLFinB64(pStart, encLen))) { 925 res = drm_scanEndBoundary(pStart, encLen, ((T_DRM_DM_Base64_Node *)(s->infoStruct))->boundary); 932 char* pTmp = memrchr(pStart, '\r', encLen); [all...] |
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
CandidateView.java | 429 int pStart = mDecInfo.mPageStart.get(p); 437 while (xPos < mContentWidth && pStart + pSize < candSize) { 438 int itemPos = pStart + pSize; 455 mDecInfo.mPageStart.add(pStart + pSize); 491 int pStart = mDecInfo.mPageStart.get(mPageNo); 492 int pSize = mDecInfo.mPageStart.get(mPageNo + 1) - pStart; 513 String cand = mDecInfo.mCandidatesList.get(pStart + i);
|
/external/bluetooth/bluedroid/bta/dm/ |
bta_dm_sco.c | 86 #define CONVERT_44100_TO_BLUETOOTH(pStart, pEnd) \ 89 SRC_TYPE *pS = (SRC_TYPE *)pStart; \ 140 #define CONVERT_22050_TO_BLUETOOTH(pStart, pEnd) \ 143 SRC_TYPE *pS = (SRC_TYPE *)pStart; \ 193 #define CONVERT_11025_TO_BLUETOOTH(pStart, pEnd) \ 196 SRC_TYPE *pS = (SRC_TYPE *)pStart; \
|
/external/icu4c/common/ |
uset.cpp | 303 // UChar32* pStart, UChar32* pEnd) { 308 // *pStart = us->getRangeStart(rangeIndex); 476 UChar32* pStart, UChar32* pEnd) { 480 if(set==NULL || rangeIndex<0 || pStart==NULL || pEnd==NULL) { 490 *pStart=array[rangeIndex++]; 505 *pStart=(((int32_t)array[rangeIndex])<<16)|array[rangeIndex+1];
|
/frameworks/base/media/libdrm/mobile1/src/xml/ |
xml_tinyparser.c | 266 uint8_t *pStart; 296 pStart = buffer - 1; 303 uint8_t *pCheck = xml_goto_tagend(pStart); 327 *tagLen = buffer - pStart - 2; 329 *tagLen = buffer - pStart - 1; 333 return pStart; 338 uint8_t *pStart; 352 pStart = (uint8_t *)strchr((char *)nodeStr, '\\'); 354 while (pStart != NULL) { 355 *pStart = '\0' [all...] |
/external/webkit/Source/JavaScriptCore/icu/unicode/ |
uset.h | 734 * @param pStart pointer to variable to receive first character 743 UChar32* pStart, UChar32* pEnd);
|
/external/webkit/Source/WebCore/icu/unicode/ |
uset.h | 734 * @param pStart pointer to variable to receive first character 743 UChar32* pStart, UChar32* pEnd);
|
/external/icu4c/common/unicode/ |
uset.h | [all...] |
/external/sqlite/dist/orig/ |
shell.c | 110 static double timeDiff(struct timeval *pStart, struct timeval *pEnd){ 111 return (pEnd->tv_usec - pStart->tv_usec)*0.000001 + 112 (double)(pEnd->tv_sec - pStart->tv_sec); 181 static double timeDiff(FILETIME *pStart, FILETIME *pEnd){ 182 sqlite_int64 i64Start = *((sqlite_int64 *) pStart); [all...] |
/external/sqlite/dist/ |
shell.c | 115 static double timeDiff(struct timeval *pStart, struct timeval *pEnd){ 116 return (pEnd->tv_usec - pStart->tv_usec)*0.000001 + 117 (double)(pEnd->tv_sec - pStart->tv_sec); 186 static double timeDiff(FILETIME *pStart, FILETIME *pEnd){ 187 sqlite_int64 i64Start = *((sqlite_int64 *) pStart); [all...] |