Home
last modified time | relevance | path

Searched refs:aBuf (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4c/source/tools/pkgdata/
Dpkgtypes.c210 char aBuf[1024]; in pkg_appendUniqueDirToList() local
226 if((rPtr-strAlias) >= (sizeof(aBuf)/sizeof(aBuf[0]))) { in pkg_appendUniqueDirToList()
227 fprintf(stderr, "## ERR: Path too long [%d chars]: %s\n", (int)sizeof(aBuf), strAlias); in pkg_appendUniqueDirToList()
230 strncpy(aBuf, strAlias,(rPtr-strAlias)); in pkg_appendUniqueDirToList()
231 aBuf[rPtr-strAlias]=0; /* no trailing slash */ in pkg_appendUniqueDirToList()
232 convertToNativePathSeparators(aBuf); in pkg_appendUniqueDirToList()
234 if(!pkg_listContains(l, aBuf)) { in pkg_appendUniqueDirToList()
235 return pkg_appendToList(l, end, uprv_strdup(aBuf)); in pkg_appendUniqueDirToList()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DDateFormatTest.java33 private StringBuffer aBuf; field in DateFormatTest
61 aBuf = new StringBuffer(); in setUp()
95 assertEqualDateString(aDF.format(aDate, aBuf, anFP)); in testFormatObjectStringBufferFieldPosition()
104 assertEqualDateString(aDF.format(aCal, aBuf, anFP)); in testFormatCalendarStringBufferFieldPosition()
113 assertEqualDateString(aDF.format(aDate, aBuf, anFPField)); in testFormatDateStringBufferFieldPosition()
/external/dng_sdk/source/
Ddng_string.cpp147 dng_memory_data aBuf (aBufSize + 1); in Assign_Multibyte() local
178 (UniChar *) aBuf.Buffer ()); in Assign_Multibyte()
185 char *aBufChar = aBuf.Buffer_char (); in Assign_Multibyte()
363 dng_memory_data aBuf ((aBufChars + 1) << 1); in Assign_Multibyte() local
369 (WCHAR *) aBuf.Buffer (), in Assign_Multibyte()
375 uint16 * aUTF16 = aBuf.Buffer_uint16 (); in Assign_Multibyte()
/external/sqlite/dist/
Dsqlite3.c51413 u8 aBuf[WAL_HDRSIZE]; /* Buffer to load WAL header into */
51425 rc = sqlite3OsRead(pWal->pWalFd, aBuf, WAL_HDRSIZE, 0);
51435 magic = sqlite3Get4byte(&aBuf[0]);
51436 szPage = sqlite3Get4byte(&aBuf[8]);
51446 pWal->nCkpt = sqlite3Get4byte(&aBuf[12]);
51447 memcpy(&pWal->hdr.aSalt, &aBuf[16], 8);
51451 aBuf, WAL_HDRSIZE-2*4, 0, pWal->hdr.aFrameCksum
51453 if( pWal->hdr.aFrameCksum[0]!=sqlite3Get4byte(&aBuf[24])
51454 || pWal->hdr.aFrameCksum[1]!=sqlite3Get4byte(&aBuf[28])
51461 version = sqlite3Get4byte(&aBuf[4]);
[all …]
/external/sqlite/dist/orig/
Dsqlite3.c51395 u8 aBuf[WAL_HDRSIZE]; /* Buffer to load WAL header into */
51407 rc = sqlite3OsRead(pWal->pWalFd, aBuf, WAL_HDRSIZE, 0);
51417 magic = sqlite3Get4byte(&aBuf[0]);
51418 szPage = sqlite3Get4byte(&aBuf[8]);
51428 pWal->nCkpt = sqlite3Get4byte(&aBuf[12]);
51429 memcpy(&pWal->hdr.aSalt, &aBuf[16], 8);
51433 aBuf, WAL_HDRSIZE-2*4, 0, pWal->hdr.aFrameCksum
51435 if( pWal->hdr.aFrameCksum[0]!=sqlite3Get4byte(&aBuf[24])
51436 || pWal->hdr.aFrameCksum[1]!=sqlite3Get4byte(&aBuf[28])
51443 version = sqlite3Get4byte(&aBuf[4]);
[all …]