Home
last modified time | relevance | path

Searched refs:pDest (Results 1 – 15 of 15) sorted by relevance

/external/icu4c/common/
Dustrtrns.cpp48 UChar *pDest; in u_strFromUTF32WithSub() local
68 pDest = dest; in u_strFromUTF32WithSub()
78 if(pDest < destLimit) { in u_strFromUTF32WithSub()
79 *pDest++ = (UChar)ch; in u_strFromUTF32WithSub()
99 if(pDest < destLimit) { in u_strFromUTF32WithSub()
100 *pDest++ = (UChar)ch; in u_strFromUTF32WithSub()
106 if(pDest!=NULL && ((pDest + 2) <= destLimit)) { in u_strFromUTF32WithSub()
107 *pDest++ = U16_LEAD(ch); in u_strFromUTF32WithSub()
108 *pDest++ = U16_TRAIL(ch); in u_strFromUTF32WithSub()
123 reqLength += (int32_t)(pDest - dest); in u_strFromUTF32WithSub()
[all …]
Dutext.cpp1405 UChar *pDest = dest; in utext_strFromUTF8() local
1413 while((index < srcLength)&&(pDest<pDestLimit)){ in utext_strFromUTF8()
1416 *pDest++=(UChar)ch; in utext_strFromUTF8()
1423 *(pDest++)=(UChar)ch; in utext_strFromUTF8()
1425 *(pDest++)=U16_LEAD(ch); in utext_strFromUTF8()
1426 if(pDest<pDestLimit){ in utext_strFromUTF8()
1427 *(pDest++)=U16_TRAIL(ch); in utext_strFromUTF8()
1449 reqLength+=(int32_t)(pDest - dest); in utext_strFromUTF8()
/external/icu4c/test/perf/normperf/
Dnormperf.h105 UChar* pDest; variable
120 retVal = (*fn)(lines[i].name,lines[i].len,pDest,destLen, options, status); in call()
124 retVal = (*fn)(lines[i].name,-1,pDest,destLen, options, status); in call()
129 retVal = (*fn)(src,srcLen,pDest,destLen, options, status); in call()
131 retVal = (*fn)(src,-1,pDest,destLen, options, status); in call()
152 pDest = dest; in NormPerfFunction()
163 pDest = (UChar*) malloc(destLen * U_SIZEOF_UCHAR); in NormPerfFunction()
169 if(dest != pDest){ in ~NormPerfFunction()
170 free(pDest); in ~NormPerfFunction()
/external/libnfc-nxp/src/
DphFriNfc_Llcp.c98 phNfc_sData_t * pDest = NULL; in phFriNfc_Llcp_AllocateAndCopy() local
105 pDest = phOsalNfc_GetMemory(sizeof(phNfc_sData_t)); in phFriNfc_Llcp_AllocateAndCopy()
106 if (pDest == NULL) in phFriNfc_Llcp_AllocateAndCopy()
111 pDest->buffer = phOsalNfc_GetMemory(pOrig->length); in phFriNfc_Llcp_AllocateAndCopy()
112 if (pDest->buffer == NULL) in phFriNfc_Llcp_AllocateAndCopy()
117 memcpy(pDest->buffer, pOrig->buffer, pOrig->length); in phFriNfc_Llcp_AllocateAndCopy()
118 pDest->length = pOrig->length; in phFriNfc_Llcp_AllocateAndCopy()
120 return pDest; in phFriNfc_Llcp_AllocateAndCopy()
123 if (pDest != NULL) in phFriNfc_Llcp_AllocateAndCopy()
125 if (pDest->buffer != NULL) in phFriNfc_Llcp_AllocateAndCopy()
[all …]
/external/icu4c/test/cintltst/
Dcustrtrn.c975 const UChar *pu, *pDest; in Test_FromUTF8Lenient() local
984 pDest=u_strFromUTF8Lenient(dest, 1, &destLength, NULL, -1, &errorCode); in Test_FromUTF8Lenient()
992 pDest=u_strFromUTF8Lenient(NULL, 1, &destLength, (const char *)bytes, -1, &errorCode); in Test_FromUTF8Lenient()
1000 pDest=u_strFromUTF8Lenient(dest, 1, &destLength, (const char *)bytes, -1, &errorCode); in Test_FromUTF8Lenient()
1008 pDest=u_strFromUTF8Lenient(dest, 1, &destLength, (const char *)bytes, -1, NULL); in Test_FromUTF8Lenient()
1027 pDest=u_strFromUTF8Lenient(NULL, 0, &destLength, pb, -1, &errorCode); in Test_FromUTF8Lenient()
1029 pDest!=NULL || dest[0]!=0x1234 || destLength!=destLength0 in Test_FromUTF8Lenient()
1039 pDest=u_strFromUTF8Lenient(dest, destLength0-1, &destLength, pb, -1, &errorCode); in Test_FromUTF8Lenient()
1051 pDest=u_strFromUTF8Lenient(dest, LENGTHOF(dest), &destLength, pb, -1, &errorCode); in Test_FromUTF8Lenient()
1053 pDest!=dest || dest[destLength0]!=0 || in Test_FromUTF8Lenient()
[all …]
/external/quake/quake/src/WinQuake/
Dgl_draw.cpp1503 unsigned short* pDest = scaled; in sendTexture() local
1506 *pDest++ = ((pSrc[0] >> 3) << 11) | in sendTexture()
1737 byte* pDest = compressedTextureBuffer; in GL_Upload8_EXT() local
1743 *pDest++ = *pSrc++; in GL_Upload8_EXT()
1744 *pDest++ = *pSrc++; in GL_Upload8_EXT()
1745 *pDest++ = *pSrc++; in GL_Upload8_EXT()
1746 *pDest++ = 0xff; in GL_Upload8_EXT()
1749 *pDest++ = 0x00; in GL_Upload8_EXT()
1750 *pDest++ = 0x00; in GL_Upload8_EXT()
1751 *pDest++ = 0x00; in GL_Upload8_EXT()
[all …]
/external/sqlite/dist/orig/
Dshell.c1566 sqlite3 *pDest; in do_meta_command() local
1575 rc = sqlite3_open(zDestFile, &pDest); in do_meta_command()
1578 sqlite3_close(pDest); in do_meta_command()
1582 pBackup = sqlite3_backup_init(pDest, "main", p->db, zDb); in do_meta_command()
1584 fprintf(stderr, "Error: %s\n", sqlite3_errmsg(pDest)); in do_meta_command()
1585 sqlite3_close(pDest); in do_meta_command()
1593 fprintf(stderr, "Error: %s\n", sqlite3_errmsg(pDest)); in do_meta_command()
1596 sqlite3_close(pDest); in do_meta_command()
Dsqlite3.c7052 sqlite3 *pDest, /* Destination database handle */
42030 SQLITE_PRIVATE int sqlite3PagerReadFileheader(Pager *pPager, int N, unsigned char *pDest){
42032 memset(pDest, 0, N);
42043 rc = sqlite3OsRead(pPager->fd, pDest, N, 0);
57663 Btree *pDest; /* Destination b-tree file */
57760 rc = sqlite3BtreeSetPageSize(p->pDest,sqlite3BtreeGetPageSize(p->pSrc),-1,0);
57811 p->pDest = findBtree(pDestDb, pDestDb, zDestDb);
57817 if( 0==p->pSrc || 0==p->pDest || setDestPgsz(p)==SQLITE_NOMEM ){
57851 Pager * const pDestPager = sqlite3BtreePager(p->pDest);
57853 int nDestPgsz = sqlite3BtreeGetPageSize(p->pDest);
[all …]
Dsqlite3.h6502 sqlite3 *pDest, /* Destination database handle */
/external/sqlite/dist/
Dshell.c1585 sqlite3 *pDest; in do_meta_command() local
1594 rc = sqlite3_open(zDestFile, &pDest); in do_meta_command()
1597 sqlite3_close(pDest); in do_meta_command()
1601 pBackup = sqlite3_backup_init(pDest, "main", p->db, zDb); in do_meta_command()
1603 fprintf(stderr, "Error: %s\n", sqlite3_errmsg(pDest)); in do_meta_command()
1604 sqlite3_close(pDest); in do_meta_command()
1612 fprintf(stderr, "Error: %s\n", sqlite3_errmsg(pDest)); in do_meta_command()
1615 sqlite3_close(pDest); in do_meta_command()
Dsqlite3.c7052 sqlite3 *pDest, /* Destination database handle */
42058 SQLITE_PRIVATE int sqlite3PagerReadFileheader(Pager *pPager, int N, unsigned char *pDest){
42060 memset(pDest, 0, N);
42071 rc = sqlite3OsRead(pPager->fd, pDest, N, 0);
57691 Btree *pDest; /* Destination b-tree file */
57788 rc = sqlite3BtreeSetPageSize(p->pDest,sqlite3BtreeGetPageSize(p->pSrc),-1,0);
57839 p->pDest = findBtree(pDestDb, pDestDb, zDestDb);
57845 if( 0==p->pSrc || 0==p->pDest || setDestPgsz(p)==SQLITE_NOMEM ){
57879 Pager * const pDestPager = sqlite3BtreePager(p->pDest);
57881 int nDestPgsz = sqlite3BtreeGetPageSize(p->pDest);
[all …]
Dsqlite3.h6502 sqlite3 *pDest, /* Destination database handle */
/external/icu4c/tools/genrb/
Dwrtxml.cpp223 static char* convertAndEscape(char** pDest, int32_t destCap, int32_t* destLength, in convertAndEscape() argument
231 if(status==NULL || U_FAILURE(*status) || pDest==NULL || srcLen==0 || src == NULL){ in convertAndEscape()
234 dest =*pDest; in convertAndEscape()
/external/aac/libAACdec/src/
Daacdec_hcr.cpp754 UCHAR *pDest; in HcrSortCodebookAndNumCodewordInSection() local
772 pDest = pSortedCodebook; in HcrSortCodebookAndNumCodewordInSection()
778 *pDest++ = pCbPriority[*pCodebook++]; in HcrSortCodebookAndNumCodewordInSection()
/external/webkit/WebKitLibraries/WebCoreSQLite3/
Dsqlite3.h5346 sqlite3 *pDest, /* Destination database handle */