Searched refs:charBuffer (Results 1 – 4 of 4) sorted by relevance
/external/icu4c/samples/layout/ |
D | UnicodeReader.cpp | 31 UChar *charBuffer; in readFile() local 107 charBuffer = LE_NEW_ARRAY(UChar, charCount + 1); in readFile() 108 if(charBuffer == 0) { in readFile() 114 myText.extract(0, myText.length(), charBuffer); in readFile() 115 charBuffer[charCount] = 0; // NULL terminate for easier reading in the debugger in readFile() 117 return charBuffer; in readFile()
|
/external/icu4c/io/ |
D | ustdio.c | 300 char charBuffer[UFILE_CHARBUFFER_SIZE]; in u_file_write_flush() local 301 char *myTarget = charBuffer; in u_file_write_flush() 337 charBuffer + UFILE_CHARBUFFER_SIZE, in u_file_write_flush() 347 numConverted = (int32_t)(myTarget - charBuffer); in u_file_write_flush() 351 fwrite(charBuffer, in u_file_write_flush() 358 myTarget = charBuffer; in u_file_write_flush() 388 char charBuffer[UFILE_CHARBUFFER_SIZE]; in ufile_fill_uchar_buffer() local 419 char *retStr = fgets(charBuffer, ufmt_min(maxCPBytes, UFILE_CHARBUFFER_SIZE), f->fFile); in ufile_fill_uchar_buffer() 420 bytesRead = (int32_t)(retStr ? uprv_strlen(charBuffer) : 0); in ufile_fill_uchar_buffer() 424 bytesRead = (int32_t)fread(charBuffer, in ufile_fill_uchar_buffer() [all …]
|
/external/icu4c/test/iotest/ |
D | filetst.c | 583 char charBuffer[2048]; in TestfgetsLineCount() local 613 returnedCharBuffer = fgets(charBuffer, sizeof(charBuffer)/sizeof(charBuffer[0]), stdFile); in TestfgetsLineCount() 620 if (returnedCharBuffer != charBuffer) { in TestfgetsLineCount() 624 u_uastrncpy(expectedBuffer, charBuffer, (int32_t)strlen(charBuffer)+1); in TestfgetsLineCount()
|
/external/icu4c/test/cintltst/ |
D | ccapitst.c | 1718 char charBuffer[21]; /* Leave at an odd number for alignment testing */ in TestConvertSafeClone() local 1727 const char *charBufferLimit = charBuffer + sizeof(charBuffer)/sizeof(*charBuffer); in TestConvertSafeClone() 1874 pCharBuffer = charBuffer; in TestConvertSafeClone() 1902 pConstCharBuffer = charBuffer; in TestConvertSafeClone() 3525 char charBuffer[2] = {1, 1}; in InvalidArguments() local 3527 char *charsPtr = charBuffer; in InvalidArguments() 3566 if (charBuffer[0] != 1 || charBuffer[1] != 1 in InvalidArguments()
|