Home
last modified time | relevance | path

Searched refs:currentBufferSize (Results 1 – 8 of 8) sorted by relevance

/third_party/node/deps/icu-small/source/tools/toolutil/
Dflagparser.cpp16 static int32_t currentBufferSize = DEFAULT_BUFFER_SIZE; variable
38 buffer = (char *)uprv_malloc(sizeof(char) * currentBufferSize); in parseFlagsFile()
49 currentBufferSize *= 2; in parseFlagsFile()
51 buffer = (char *)uprv_malloc(sizeof(char) * currentBufferSize); in parseFlagsFile()
58 if (T_FileStream_readLine(f, buffer, currentBufferSize) == NULL) { in parseFlagsFile()
66 …if ((int32_t)uprv_strlen(buffer) == (currentBufferSize - 1) && buffer[currentBufferSize-2] != '\n'… in parseFlagsFile()
72 …idx = extractFlag(buffer, currentBufferSize, tmpFlagBuffer, flagBufferSize, flagNames, numOfFlags,… in parseFlagsFile()
75 result = currentBufferSize; in parseFlagsFile()
107 currentBufferSize = DEFAULT_BUFFER_SIZE; in parseFlagsFile()
/third_party/icu/icu4c/source/tools/toolutil/
Dflagparser.cpp16 static int32_t currentBufferSize = DEFAULT_BUFFER_SIZE; variable
38 buffer = (char *)uprv_malloc(sizeof(char) * currentBufferSize); in parseFlagsFile()
49 currentBufferSize *= 2; in parseFlagsFile()
51 buffer = (char *)uprv_malloc(sizeof(char) * currentBufferSize); in parseFlagsFile()
58 if (T_FileStream_readLine(f, buffer, currentBufferSize) == NULL) { in parseFlagsFile()
66 …if ((int32_t)uprv_strlen(buffer) == (currentBufferSize - 1) && buffer[currentBufferSize-2] != '\n'… in parseFlagsFile()
72 …idx = extractFlag(buffer, currentBufferSize, tmpFlagBuffer, flagBufferSize, flagNames, numOfFlags,… in parseFlagsFile()
75 result = currentBufferSize; in parseFlagsFile()
107 currentBufferSize = DEFAULT_BUFFER_SIZE; in parseFlagsFile()
/third_party/flutter/skia/third_party/externals/icu/source/tools/toolutil/
Dflagparser.cpp16 static int32_t currentBufferSize = DEFAULT_BUFFER_SIZE; variable
38 buffer = (char *)uprv_malloc(sizeof(char) * currentBufferSize); in parseFlagsFile()
49 currentBufferSize *= 2; in parseFlagsFile()
51 buffer = (char *)uprv_malloc(sizeof(char) * currentBufferSize); in parseFlagsFile()
58 if (T_FileStream_readLine(f, buffer, currentBufferSize) == NULL) { in parseFlagsFile()
66 …if ((int32_t)uprv_strlen(buffer) == (currentBufferSize - 1) && buffer[currentBufferSize-2] != '\n'… in parseFlagsFile()
72 …idx = extractFlag(buffer, currentBufferSize, tmpFlagBuffer, flagBufferSize, flagNames, numOfFlags,… in parseFlagsFile()
75 result = currentBufferSize; in parseFlagsFile()
107 currentBufferSize = DEFAULT_BUFFER_SIZE; in parseFlagsFile()
/third_party/skia/third_party/externals/icu/source/tools/toolutil/
Dflagparser.cpp16 static int32_t currentBufferSize = DEFAULT_BUFFER_SIZE; variable
38 buffer = (char *)uprv_malloc(sizeof(char) * currentBufferSize); in parseFlagsFile()
49 currentBufferSize *= 2; in parseFlagsFile()
51 buffer = (char *)uprv_malloc(sizeof(char) * currentBufferSize); in parseFlagsFile()
58 if (T_FileStream_readLine(f, buffer, currentBufferSize) == NULL) { in parseFlagsFile()
66 …if ((int32_t)uprv_strlen(buffer) == (currentBufferSize - 1) && buffer[currentBufferSize-2] != '\n'… in parseFlagsFile()
72 …idx = extractFlag(buffer, currentBufferSize, tmpFlagBuffer, flagBufferSize, flagNames, numOfFlags,… in parseFlagsFile()
75 result = currentBufferSize; in parseFlagsFile()
107 currentBufferSize = DEFAULT_BUFFER_SIZE; in parseFlagsFile()
/third_party/node/deps/icu-small/source/tools/pkgdata/
Dpkgdata.cpp850 int32_t currentBufferSize = SMALL_BUFFER_MAX_SIZE; in initializePkgDataFlags() local
862 pkgDataFlags[i] = (char*)uprv_malloc(sizeof(char) * currentBufferSize); in initializePkgDataFlags()
889 …tmpResult = parseFlagsFile(o->options, pkgDataFlags, currentBufferSize, FLAG_NAMES, (int32_t)PKGDA… in initializePkgDataFlags()
897 currentBufferSize = tmpResult; in initializePkgDataFlags()
/third_party/icu/icu4c/source/tools/pkgdata/
Dpkgdata.cpp850 int32_t currentBufferSize = SMALL_BUFFER_MAX_SIZE; in initializePkgDataFlags() local
862 pkgDataFlags[i] = (char*)uprv_malloc(sizeof(char) * currentBufferSize); in initializePkgDataFlags()
889 …tmpResult = parseFlagsFile(o->options, pkgDataFlags, currentBufferSize, FLAG_NAMES, (int32_t)PKGDA… in initializePkgDataFlags()
897 currentBufferSize = tmpResult; in initializePkgDataFlags()
/third_party/flutter/skia/third_party/externals/icu/source/tools/pkgdata/
Dpkgdata.cpp828 int32_t currentBufferSize = SMALL_BUFFER_MAX_SIZE; in initializePkgDataFlags() local
840 pkgDataFlags[i] = (char*)uprv_malloc(sizeof(char) * currentBufferSize); in initializePkgDataFlags()
867 …tmpResult = parseFlagsFile(o->options, pkgDataFlags, currentBufferSize, FLAG_NAMES, (int32_t)PKGDA… in initializePkgDataFlags()
875 currentBufferSize = tmpResult; in initializePkgDataFlags()
/third_party/skia/third_party/externals/icu/source/tools/pkgdata/
Dpkgdata.cpp850 int32_t currentBufferSize = SMALL_BUFFER_MAX_SIZE; in initializePkgDataFlags() local
862 pkgDataFlags[i] = (char*)uprv_malloc(sizeof(char) * currentBufferSize); in initializePkgDataFlags()
889 …tmpResult = parseFlagsFile(o->options, pkgDataFlags, currentBufferSize, FLAG_NAMES, (int32_t)PKGDA… in initializePkgDataFlags()
897 currentBufferSize = tmpResult; in initializePkgDataFlags()