/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/data/ |
H A D | ByteArray.java | 232 int bufferLength = Math.min(b.length, length); in copyTo() 233 while ((bytesRead = this.get(index + srcOffset, b, 0, bufferLength)) > 0) { in copyTo() 237 bufferLength = Math.min(b.length, length); in copyTo() 265 int bufferLength = Math.min(b.length, length); in copyTo() 266 while ((bytesRead = this.get(index + offset, b, 0, bufferLength)) > 0) { in copyTo() 269 bufferLength = Math.min(b.length, length - index); in copyTo() 285 int bufferLength = Math.min(b.length, length); in copyFrom() 286 while ((bytesRead = is.read(b, 0, bufferLength)) > 0) { in copyFrom() 292 bufferLength = Math.min(b.length, length); in copyFrom() 306 int bufferLength in copyFrom() [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | unames.cpp | 215 #define WRITE_CHAR(buffer, bufferLength, bufferPos, c) UPRV_BLOCK_MACRO_BEGIN { \ 216 if((bufferLength)>0) { \ 218 --(bufferLength); \ 240 char *buffer, uint16_t bufferLength) { in expandName() 279 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in expandName() 294 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in expandName() 311 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in expandName() 318 if(bufferLength>0) { in expandName() 448 static uint16_t getExtName(uint32_t code, char *buffer, uint16_t bufferLength) { in getExtName() argument 455 WRITE_CHAR(buffer, bufferLength, lengt in getExtName() 238 expandName(UCharNames *names, const uint8_t *name, uint16_t nameLength, UCharNameChoice nameChoice, char *buffer, uint16_t bufferLength) expandName() argument 567 expandGroupName(UCharNames *names, const uint16_t *group, uint16_t lineNumber, UCharNameChoice nameChoice, char *buffer, uint16_t bufferLength) expandGroupName() argument 578 getName(UCharNames *names, uint32_t code, UCharNameChoice nameChoice, char *buffer, uint16_t bufferLength) getName() argument 773 writeFactorSuffix(const uint16_t *factors, uint16_t count, const char *s, uint32_t code, uint16_t indexes[8], const char *elementBases[8], const char *elements[8], char *buffer, uint16_t bufferLength) writeFactorSuffix() argument 852 getAlgName(AlgorithmicRange *range, uint32_t code, UCharNameChoice nameChoice, char *buffer, uint16_t bufferLength) getAlgName() argument 1450 u_charName(UChar32 code, UCharNameChoice nameChoice, char *buffer, int32_t bufferLength, UErrorCode *pErrorCode) u_charName() argument [all...] |
H A D | loclikely.cpp | 49 * @param bufferLength The length of the output buffer 55 int32_t bufferLength, in findLikelySubtags() 89 else if (resLen >= bufferLength) { in findLikelySubtags() 118 * @param bufferLength The length of the output buffer. This is an input/output parameter. 125 int32_t* bufferLength, in appendTag() 129 buffer[*bufferLength] = '_'; in appendTag() 130 ++(*bufferLength); in appendTag() 134 &buffer[*bufferLength], in appendTag() 138 *bufferLength += tagLength; in appendTag() 53 findLikelySubtags(const char* localeID, char* buffer, int32_t bufferLength, UErrorCode* err) findLikelySubtags() argument 121 appendTag( const char* tag, int32_t tagLength, char* buffer, int32_t* bufferLength, UBool withSeparator) appendTag() argument
|
H A D | locid.cpp | 2649 int32_t bufferLength = uprv_max((int32_t)(uprv_strlen(fullName) + 1), ULOC_FULLNAME_CAPACITY); 2651 bufferLength, &status) + 1; 2655 U_ASSERT(newLength > bufferLength); 2674 U_ASSERT(newLength <= bufferLength);
|
/third_party/node/deps/icu-small/source/common/ |
H A D | unames.cpp | 215 #define WRITE_CHAR(buffer, bufferLength, bufferPos, c) UPRV_BLOCK_MACRO_BEGIN { \ 216 if((bufferLength)>0) { \ 218 --(bufferLength); \ 240 char *buffer, uint16_t bufferLength) { in expandName() 279 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in expandName() 294 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in expandName() 311 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in expandName() 318 if(bufferLength>0) { in expandName() 448 static uint16_t getExtName(uint32_t code, char *buffer, uint16_t bufferLength) { in getExtName() argument 455 WRITE_CHAR(buffer, bufferLength, lengt in getExtName() 238 expandName(UCharNames *names, const uint8_t *name, uint16_t nameLength, UCharNameChoice nameChoice, char *buffer, uint16_t bufferLength) expandName() argument 567 expandGroupName(UCharNames *names, const uint16_t *group, uint16_t lineNumber, UCharNameChoice nameChoice, char *buffer, uint16_t bufferLength) expandGroupName() argument 578 getName(UCharNames *names, uint32_t code, UCharNameChoice nameChoice, char *buffer, uint16_t bufferLength) getName() argument 773 writeFactorSuffix(const uint16_t *factors, uint16_t count, const char *s, uint32_t code, uint16_t indexes[8], const char *elementBases[8], const char *elements[8], char *buffer, uint16_t bufferLength) writeFactorSuffix() argument 852 getAlgName(AlgorithmicRange *range, uint32_t code, UCharNameChoice nameChoice, char *buffer, uint16_t bufferLength) getAlgName() argument 1450 u_charName(UChar32 code, UCharNameChoice nameChoice, char *buffer, int32_t bufferLength, UErrorCode *pErrorCode) u_charName() argument [all...] |
H A D | loclikely.cpp | 46 * @param bufferLength The length of the output buffer. This is an input/output parameter. 53 int32_t* bufferLength, in appendTag() 57 buffer[*bufferLength] = '_'; in appendTag() 58 ++(*bufferLength); in appendTag() 62 &buffer[*bufferLength], in appendTag() 66 *bufferLength += tagLength; in appendTag() 49 appendTag( const char* tag, int32_t tagLength, char* buffer, int32_t* bufferLength, UBool withSeparator) appendTag() argument
|
H A D | locid.cpp | 2678 int32_t bufferLength = uprv_max((int32_t)(uprv_strlen(fullName) + 1), ULOC_FULLNAME_CAPACITY); 2680 bufferLength, &status) + 1; 2684 U_ASSERT(newLength > bufferLength); 2703 U_ASSERT(newLength <= bufferLength);
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | unames.cpp | 215 #define WRITE_CHAR(buffer, bufferLength, bufferPos, c) UPRV_BLOCK_MACRO_BEGIN { \ 216 if((bufferLength)>0) { \ 218 --(bufferLength); \ 240 char *buffer, uint16_t bufferLength) { in expandName() 279 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in expandName() 294 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in expandName() 311 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in expandName() 318 if(bufferLength>0) { in expandName() 448 static uint16_t getExtName(uint32_t code, char *buffer, uint16_t bufferLength) { in getExtName() argument 455 WRITE_CHAR(buffer, bufferLength, lengt in getExtName() 238 expandName(UCharNames *names, const uint8_t *name, uint16_t nameLength, UCharNameChoice nameChoice, char *buffer, uint16_t bufferLength) expandName() argument 567 expandGroupName(UCharNames *names, const uint16_t *group, uint16_t lineNumber, UCharNameChoice nameChoice, char *buffer, uint16_t bufferLength) expandGroupName() argument 578 getName(UCharNames *names, uint32_t code, UCharNameChoice nameChoice, char *buffer, uint16_t bufferLength) getName() argument 773 writeFactorSuffix(const uint16_t *factors, uint16_t count, const char *s, uint32_t code, uint16_t indexes[8], const char *elementBases[8], const char *elements[8], char *buffer, uint16_t bufferLength) writeFactorSuffix() argument 852 getAlgName(AlgorithmicRange *range, uint32_t code, UCharNameChoice nameChoice, char *buffer, uint16_t bufferLength) getAlgName() argument 1450 u_charName(UChar32 code, UCharNameChoice nameChoice, char *buffer, int32_t bufferLength, UErrorCode *pErrorCode) u_charName() argument [all...] |
H A D | loclikely.cpp | 49 * @param bufferLength The length of the output buffer 55 int32_t bufferLength, in findLikelySubtags() 89 else if (resLen >= bufferLength) { in findLikelySubtags() 118 * @param bufferLength The length of the output buffer. This is an input/ouput parameter. 125 int32_t* bufferLength, in appendTag() 129 buffer[*bufferLength] = '_'; in appendTag() 130 ++(*bufferLength); in appendTag() 134 &buffer[*bufferLength], in appendTag() 138 *bufferLength += tagLength; in appendTag() 53 findLikelySubtags(const char* localeID, char* buffer, int32_t bufferLength, UErrorCode* err) findLikelySubtags() argument 121 appendTag( const char* tag, int32_t tagLength, char* buffer, int32_t* bufferLength, UBool withSeparator) appendTag() argument
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_buffer/ |
H A D | esextcTextureBufferOperations.hpp | 270 virtual void fillBufferWithData(glw::GLint* buffer, glw::GLuint bufferLength); 363 virtual void fillBufferWithData(glw::GLint* buffer, glw::GLuint bufferLength); 425 virtual void fillBufferWithData(glw::GLint* buffer, glw::GLuint bufferLength); 454 virtual void fillBufferWithData(glw::GLint* buffer, glw::GLuint bufferLength);
|
H A D | esextcTextureBufferOperations.cpp | 571 void TextureBufferOperations::fillBufferWithData(glw::GLint* buffer, glw::GLuint bufferLength) in fillBufferWithData() argument 573 for (glw::GLuint i = 0; i < bufferLength; ++i) in fillBufferWithData() 1050 void TextureBufferOperationsViaFrambufferReadBack::fillBufferWithData(glw::GLint* buffer, glw::GLuint bufferLength) in fillBufferWithData() argument 1052 for (glw::GLuint i = 0; i < bufferLength; ++i) in fillBufferWithData() 1431 void TextureBufferOperationsViaImageStore::fillBufferWithData(glw::GLint* buffer, glw::GLuint bufferLength) in fillBufferWithData() argument 1433 for (glw::GLuint i = 0; i < bufferLength; ++i) in fillBufferWithData() 1553 void TextureBufferOperationsViaSSBOWrites::fillBufferWithData(glw::GLint* buffer, glw::GLuint bufferLength) in fillBufferWithData() argument 1555 for (glw::GLuint i = 0; i < bufferLength; ++i) in fillBufferWithData()
|
/third_party/python/PC/ |
H A D | launcher2.c | 189 join(wchar_t *buffer, size_t bufferLength, const wchar_t *fragment) in join() argument 191 if (SUCCEEDED(PathCchCombineEx(buffer, bufferLength, buffer, fragment, PATHCCH_ALLOW_LONG_PATHS))) { in join() 524 findArgv0Length(const wchar_t *buffer, int bufferLength) in findArgv0Length() argument 532 for (int i = 1; bufferLength < 0 || i < bufferLength; ++i) { in findArgv0Length() 549 return bufferLength; in findArgv0Length() 554 findArgv0End(const wchar_t *buffer, int bufferLength) in findArgv0End() argument 556 return &buffer[findArgv0Length(buffer, bufferLength)]; in findArgv0End() 706 _decodeShebang(SearchInfo *search, const char *buffer, int bufferLength, bool onlyUtf8, wchar_t **decoded, int *decodedLength) in _decodeShebang() argument 709 int wideLen = MultiByteToWideChar(cp, MB_ERR_INVALID_CHARS, buffer, bufferLength, NUL in _decodeShebang() 735 _shebangStartsWith(const wchar_t *buffer, int bufferLength, const wchar_t *prefix, const wchar_t **rest, int *firstArgumentLength) _shebangStartsWith() argument 839 _readIni(const wchar_t *section, const wchar_t *settingName, wchar_t *buffer, int bufferLength) _readIni() argument 2322 calculateCommandLine(const SearchInfo *search, const EnvironmentInfo *launch, wchar_t *buffer, int bufferLength) calculateCommandLine() argument [all...] |
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | ByteBufferWriter.java | 130 private static boolean needToReallocate(int requestedSize, int bufferLength) { in needToReallocate() argument 132 return bufferLength < requestedSize in needToReallocate() 133 && bufferLength < requestedSize * BUFFER_REALLOCATION_THRESHOLD; in needToReallocate()
|
/third_party/vulkan-loader/tests/framework/shim/ |
H A D | windows_shim.cpp | 357 _Out_writes_opt_(*count) PWSTR *packageFullNames, _Inout_ UINT32 *bufferLength, in ShimGetPackagesByPackageFamily() 358 _Out_writes_opt_(*bufferLength) WCHAR *buffer) { in ShimGetPackagesByPackageFamily() 359 if (!packageFamilyName || !count || !bufferLength) return ERROR_INVALID_PARAMETER; in ShimGetPackagesByPackageFamily() 362 if (*bufferLength > 0 && !buffer) return ERROR_INVALID_PARAMETER; in ShimGetPackagesByPackageFamily() 364 bool too_small = *count < 1 || *bufferLength < ARRAYSIZE(package_full_name); in ShimGetPackagesByPackageFamily() 366 *bufferLength = ARRAYSIZE(package_full_name); in ShimGetPackagesByPackageFamily() 370 if (i >= *bufferLength) { in ShimGetPackagesByPackageFamily() 379 *bufferLength = 0; in ShimGetPackagesByPackageFamily() 356 ShimGetPackagesByPackageFamily(_In_ PCWSTR packageFamilyName, _Inout_ UINT32 *count, _Out_writes_opt_(*count) PWSTR *packageFullNames, _Inout_ UINT32 *bufferLength, _Out_writes_opt_(*bufferLength) WCHAR *buffer) ShimGetPackagesByPackageFamily() argument
|
/third_party/node/test/node-api/test_buffer/ |
H A D | test_buffer.c | 91 size_t bufferLength; in bufferInfo() local 94 env, theBuffer, (void**)(&bufferData), &bufferLength)); in bufferInfo() 96 !strcmp(bufferData, theText) && bufferLength == sizeof(theText), in bufferInfo()
|
/third_party/lzma/CPP/Windows/ |
H A D | SecurityUtils.h | 69 DWORD bufferLength, PTOKEN_PRIVILEGES previousState, PDWORD returnLength)
in AdjustPrivileges() 71 newState, bufferLength, previousState, returnLength)); }
in AdjustPrivileges() 68 AdjustPrivileges(bool disableAllPrivileges, PTOKEN_PRIVILEGES newState, DWORD bufferLength, PTOKEN_PRIVILEGES previousState, PDWORD returnLength) AdjustPrivileges() argument
|
/third_party/skia/third_party/externals/swiftshader/src/Main/ |
H A D | SwiftConfig.hpp | 111 int bufferLength; member in sw::SwiftConfig
|
H A D | SwiftConfig.cpp | 71 bufferLength = 16 * 1024; in createServer() 72 receiveBuffer = new char[bufferLength]; in createServer() 141 bytesReceived = clientSocket->receive(receiveBuffer, bufferLength); in serverLoop() 200 int bytesReceived = clientSocket->receive(receiveBuffer, bufferLength); in respond()
|
/third_party/vulkan-loader/loader/ |
H A D | loader_windows.c | 1105 UINT32 numPackages = 0, bufferLength = 0; in windows_get_app_package_manifest_path() local 1111 if (ERROR_INSUFFICIENT_BUFFER != fpGetPackagesByPackageFamily(familyName, &numPackages, NULL, &bufferLength, NULL) || in windows_get_app_package_manifest_path() 1112 numPackages == 0 || bufferLength == 0) { in windows_get_app_package_manifest_path() 1119 WCHAR *buffer = loader_instance_heap_alloc(inst, sizeof(WCHAR) * bufferLength, VK_SYSTEM_ALLOCATION_SCOPE_COMMAND); in windows_get_app_package_manifest_path() 1127 if (ERROR_SUCCESS != fpGetPackagesByPackageFamily(familyName, &numPackages, packages, &bufferLength, buffer)) { in windows_get_app_package_manifest_path()
|
/third_party/node/lib/internal/fs/ |
H A D | utils.js | 668 (offset, length, bufferLength) => { 675 if (offset + length > bufferLength) { 677 `<= ${bufferLength - offset}`, length);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
H A D | tncs.c | 265 TNC_UInt32 bufferLength, in TNC_TNCS_GetAttribute() 279 TNC_UInt32 bufferLength, in TNC_TNCS_SetAttribute() 261 TNC_TNCS_GetAttribute( TNC_IMVID imvID, TNC_ConnectionID connectionID, TNC_AttributeID attribureID, TNC_UInt32 bufferLength, TNC_BufferReference buffer, TNC_UInt32 *pOutValueLength) TNC_TNCS_GetAttribute() argument 275 TNC_TNCS_SetAttribute( TNC_IMVID imvID, TNC_ConnectionID connectionID, TNC_AttributeID attribureID, TNC_UInt32 bufferLength, TNC_BufferReference buffer) TNC_TNCS_SetAttribute() argument
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
H A D | tncs.c | 265 TNC_UInt32 bufferLength, in TNC_TNCS_GetAttribute() 279 TNC_UInt32 bufferLength, in TNC_TNCS_SetAttribute() 261 TNC_TNCS_GetAttribute( TNC_IMVID imvID, TNC_ConnectionID connectionID, TNC_AttributeID attribureID, TNC_UInt32 bufferLength, TNC_BufferReference buffer, TNC_UInt32 *pOutValueLength) TNC_TNCS_GetAttribute() argument 275 TNC_TNCS_SetAttribute( TNC_IMVID imvID, TNC_ConnectionID connectionID, TNC_AttributeID attribureID, TNC_UInt32 bufferLength, TNC_BufferReference buffer) TNC_TNCS_SetAttribute() argument
|
/third_party/node/deps/icu-small/source/tools/pkgdata/ |
H A D | pkgdata.cpp | 1253 int32_t bufferLength = 0; in pkg_installFileMode() local 1259 bufferLength = static_cast<int32_t>(uprv_strlen(buffer)); in pkg_installFileMode() 1261 if (bufferLength > 0) { in pkg_installFileMode() 1262 buffer[bufferLength-1] = 0; in pkg_installFileMode()
|
/third_party/icu/icu4c/source/tools/pkgdata/ |
H A D | pkgdata.cpp | 1250 int32_t bufferLength = 0; in pkg_installFileMode() local 1256 bufferLength = static_cast<int32_t>(uprv_strlen(buffer)); in pkg_installFileMode() 1258 if (bufferLength > 0) { in pkg_installFileMode() 1259 buffer[bufferLength-1] = 0; in pkg_installFileMode()
|
/third_party/skia/third_party/externals/icu/source/tools/pkgdata/ |
H A D | pkgdata.cpp | 1250 int32_t bufferLength = 0; in pkg_installFileMode() local 1256 bufferLength = static_cast<int32_t>(uprv_strlen(buffer)); in pkg_installFileMode() 1258 if (bufferLength > 0) { in pkg_installFileMode() 1259 buffer[bufferLength-1] = 0; in pkg_installFileMode()
|