Home
last modified time | relevance | path

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

/external/icu/icu4c/source/tools/pkgdata/
Dpkgtypes.c212 char aBuf[1024]; in pkg_appendUniqueDirToList() local
228 if((rPtr-strAlias) >= UPRV_LENGTHOF(aBuf)) { in pkg_appendUniqueDirToList()
229 fprintf(stderr, "## ERR: Path too long [%d chars]: %s\n", (int)sizeof(aBuf), strAlias); in pkg_appendUniqueDirToList()
232 strncpy(aBuf, strAlias,(rPtr-strAlias)); in pkg_appendUniqueDirToList()
233 aBuf[rPtr-strAlias]=0; /* no trailing slash */ in pkg_appendUniqueDirToList()
234 convertToNativePathSeparators(aBuf); in pkg_appendUniqueDirToList()
236 if(!pkg_listContains(l, aBuf)) { in pkg_appendUniqueDirToList()
237 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.java35 private StringBuffer aBuf; field in DateFormatTest
63 aBuf = new StringBuffer(); in setUp()
97 assertEqualDateString(aDF.format(aDate, aBuf, anFP)); in testFormatObjectStringBufferFieldPosition()
106 assertEqualDateString(aDF.format(aCal, aBuf, anFP)); in testFormatCalendarStringBufferFieldPosition()
115 assertEqualDateString(aDF.format(aDate, aBuf, anFPField)); in testFormatDateStringBufferFieldPosition()
/external/sqlite/dist/orig/
Dshell.c2661 char *aBuf = aStatic; in fsdirColumn() local
2666 n = readlink(pCur->zPath, aBuf, nBuf); in fsdirColumn()
2668 if( aBuf!=aStatic ) sqlite3_free(aBuf); in fsdirColumn()
2670 aBuf = sqlite3_malloc(nBuf); in fsdirColumn()
2671 if( aBuf==0 ){ in fsdirColumn()
2677 sqlite3_result_text(ctx, aBuf, n, SQLITE_TRANSIENT); in fsdirColumn()
2678 if( aBuf!=aStatic ) sqlite3_free(aBuf); in fsdirColumn()
4407 static u16 zipfileGetU16(const u8 *aBuf){ in zipfileGetU16() argument
4408 return (aBuf[1] << 8) + aBuf[0]; in zipfileGetU16()
4410 static u32 zipfileGetU32(const u8 *aBuf){ in zipfileGetU32() argument
[all …]
Dsqlite3.c56746 u8 aBuf[WAL_HDRSIZE]; /* Buffer to load WAL header into */
56758 rc = sqlite3OsRead(pWal->pWalFd, aBuf, WAL_HDRSIZE, 0);
56768 magic = sqlite3Get4byte(&aBuf[0]);
56769 szPage = sqlite3Get4byte(&aBuf[8]);
56779 pWal->nCkpt = sqlite3Get4byte(&aBuf[12]);
56780 memcpy(&pWal->hdr.aSalt, &aBuf[16], 8);
56784 aBuf, WAL_HDRSIZE-2*4, 0, pWal->hdr.aFrameCksum
56786 if( pWal->hdr.aFrameCksum[0]!=sqlite3Get4byte(&aBuf[24])
56787 || pWal->hdr.aFrameCksum[1]!=sqlite3Get4byte(&aBuf[28])
56794 version = sqlite3Get4byte(&aBuf[4]);
[all …]
/external/sqlite/dist/
Dshell.c2667 char *aBuf = aStatic; in fsdirColumn() local
2672 n = readlink(pCur->zPath, aBuf, nBuf); in fsdirColumn()
2674 if( aBuf!=aStatic ) sqlite3_free(aBuf); in fsdirColumn()
2676 aBuf = sqlite3_malloc(nBuf); in fsdirColumn()
2677 if( aBuf==0 ){ in fsdirColumn()
2683 sqlite3_result_text(ctx, aBuf, n, SQLITE_TRANSIENT); in fsdirColumn()
2684 if( aBuf!=aStatic ) sqlite3_free(aBuf); in fsdirColumn()
4413 static u16 zipfileGetU16(const u8 *aBuf){ in zipfileGetU16() argument
4414 return (aBuf[1] << 8) + aBuf[0]; in zipfileGetU16()
4416 static u32 zipfileGetU32(const u8 *aBuf){ in zipfileGetU32() argument
[all …]
Dsqlite3.c56762 u8 aBuf[WAL_HDRSIZE]; /* Buffer to load WAL header into */
56774 rc = sqlite3OsRead(pWal->pWalFd, aBuf, WAL_HDRSIZE, 0);
56784 magic = sqlite3Get4byte(&aBuf[0]);
56785 szPage = sqlite3Get4byte(&aBuf[8]);
56795 pWal->nCkpt = sqlite3Get4byte(&aBuf[12]);
56796 memcpy(&pWal->hdr.aSalt, &aBuf[16], 8);
56800 aBuf, WAL_HDRSIZE-2*4, 0, pWal->hdr.aFrameCksum
56802 if( pWal->hdr.aFrameCksum[0]!=sqlite3Get4byte(&aBuf[24])
56803 || pWal->hdr.aFrameCksum[1]!=sqlite3Get4byte(&aBuf[28])
56810 version = sqlite3Get4byte(&aBuf[4]);
[all …]
/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()