Home
last modified time | relevance | path

Searched refs:bufferLength (Results 1 – 25 of 48) sorted by relevance

12

/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/data/
DByteArray.java232 int bufferLength = Math.min(b.length, length); in copyTo() local
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() local
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() local
286 while ((bytesRead = is.read(b, 0, bufferLength)) > 0) { in copyFrom()
292 bufferLength = Math.min(b.length, length); in copyFrom()
306 int bufferLength = b.length; in copyFrom() local
[all …]
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/data/
DByteArray.java232 int bufferLength = Math.min(b.length, length); in copyTo() local
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() local
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() local
286 while ((bytesRead = is.read(b, 0, bufferLength)) > 0) { in copyFrom()
292 bufferLength = Math.min(b.length, length); in copyFrom()
306 int bufferLength = b.length; in copyFrom() local
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dunames.cpp215 #define WRITE_CHAR(buffer, bufferLength, bufferPos, c) { \ argument
216 if((bufferLength)>0) { \
218 --(bufferLength); \
240 char *buffer, uint16_t bufferLength) { in expandName() argument
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, length, '<'); in getExtName()
[all …]
Dloclikely.cpp45 int32_t bufferLength, in findLikelySubtags() argument
66 else if (resLen >= bufferLength) { in findLikelySubtags()
99 int32_t* bufferLength) { in appendTag() argument
101 if (*bufferLength > 0) { in appendTag()
102 buffer[*bufferLength] = '_'; in appendTag()
103 ++(*bufferLength); in appendTag()
107 &buffer[*bufferLength], in appendTag()
111 *bufferLength += tagLength; in appendTag()
/third_party/node/deps/icu-small/source/common/
Dunames.cpp215 #define WRITE_CHAR(buffer, bufferLength, bufferPos, c) UPRV_BLOCK_MACRO_BEGIN { \ argument
216 if((bufferLength)>0) { \
218 --(bufferLength); \
240 char *buffer, uint16_t bufferLength) { in expandName() argument
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, length, '<'); in getExtName()
[all …]
Dloclikely.cpp55 int32_t bufferLength, in findLikelySubtags() argument
89 else if (resLen >= bufferLength) { in findLikelySubtags()
125 int32_t* bufferLength, in appendTag() argument
129 buffer[*bufferLength] = '_'; in appendTag()
130 ++(*bufferLength); in appendTag()
134 &buffer[*bufferLength], in appendTag()
138 *bufferLength += tagLength; in appendTag()
/third_party/skia/third_party/externals/icu/source/common/
Dunames.cpp215 #define WRITE_CHAR(buffer, bufferLength, bufferPos, c) UPRV_BLOCK_MACRO_BEGIN { \ argument
216 if((bufferLength)>0) { \
218 --(bufferLength); \
240 char *buffer, uint16_t bufferLength) { in expandName() argument
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, length, '<'); in getExtName()
[all …]
Dloclikely.cpp55 int32_t bufferLength, in findLikelySubtags() argument
89 else if (resLen >= bufferLength) { in findLikelySubtags()
125 int32_t* bufferLength, in appendTag() argument
129 buffer[*bufferLength] = '_'; in appendTag()
130 ++(*bufferLength); in appendTag()
134 &buffer[*bufferLength], in appendTag()
138 *bufferLength += tagLength; in appendTag()
/third_party/icu/icu4c/source/common/
Dunames.cpp215 #define WRITE_CHAR(buffer, bufferLength, bufferPos, c) UPRV_BLOCK_MACRO_BEGIN { \ argument
216 if((bufferLength)>0) { \
218 --(bufferLength); \
240 char *buffer, uint16_t bufferLength) { in expandName() argument
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, length, '<'); in getExtName()
[all …]
Dloclikely.cpp55 int32_t bufferLength, in findLikelySubtags() argument
89 else if (resLen >= bufferLength) { in findLikelySubtags()
125 int32_t* bufferLength, in appendTag() argument
129 buffer[*bufferLength] = '_'; in appendTag()
130 ++(*bufferLength); in appendTag()
134 &buffer[*bufferLength], in appendTag()
138 *bufferLength += tagLength; in appendTag()
/third_party/grpc/src/csharp/Grpc.Core.Tests/Internal/
DSliceTest.cs36 public void SliceFromNativePtr_Copy(int bufferLength) in SliceFromNativePtr_Copy() argument
38 var origBuffer = GetTestBuffer(bufferLength); in SliceFromNativePtr_Copy()
43 Assert.AreEqual(bufferLength, slice.Length); in SliceFromNativePtr_Copy()
45 var newBuffer = new byte[bufferLength]; in SliceFromNativePtr_Copy()
/third_party/node/test/fixtures/wpt/encoding/
DencodeInto.any.js79 const bufferLength = testData.destinationLength + destinationData.bufferIncrease, constant
84 buffer = new ArrayBuffer(bufferLength),
87 control = new Array(bufferLength);
89 for (let i = 0; i < bufferLength; i++) {
107 for (let i = 0; i < bufferLength; i++) {
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_buffer/
DesextcTextureBufferOperations.hpp270 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);
DesextcTextureBufferOperations.cpp571 void TextureBufferOperations::fillBufferWithData(glw::GLint* buffer, glw::GLuint bufferLength) in fillBufferWithData() argument
573 for (glw::GLuint i = 0; i < bufferLength; ++i) in fillBufferWithData()
1050 …erOperationsViaFrambufferReadBack::fillBufferWithData(glw::GLint* buffer, glw::GLuint bufferLength) in fillBufferWithData() argument
1052 for (glw::GLuint i = 0; i < bufferLength; ++i) in fillBufferWithData()
1431 …tureBufferOperationsViaImageStore::fillBufferWithData(glw::GLint* buffer, glw::GLuint bufferLength) in fillBufferWithData() argument
1433 for (glw::GLuint i = 0; i < bufferLength; ++i) in fillBufferWithData()
1553 …tureBufferOperationsViaSSBOWrites::fillBufferWithData(glw::GLint* buffer, glw::GLuint bufferLength) in fillBufferWithData() argument
1555 for (glw::GLuint i = 0; i < bufferLength; ++i) in fillBufferWithData()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DByteBufferWriter.java130 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/node/test/node-api/test_buffer/
Dtest_buffer.c96 size_t bufferLength; in bufferInfo() local
102 &bufferLength)); in bufferInfo()
104 !strcmp(bufferData, theText) && bufferLength == sizeof(theText), in bufferInfo()
/third_party/flutter/engine/flutter/third_party/txt/src/minikin/
DFontLanguage.cpp93 size_t bufferLength, in nextDelimiterIndex() argument
95 for (size_t i = startOffset; i < bufferLength; ++i) { in nextDelimiterIndex()
100 return bufferLength; in nextDelimiterIndex()
/third_party/skia/third_party/externals/swiftshader/src/Main/
DSwiftConfig.hpp111 int bufferLength; member in sw::SwiftConfig
DSwiftConfig.cpp71 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/node/deps/npm/node_modules/request/
Drequest.js1109 var bufferLength = 0
1116 bufferLength += chunk.length
1127 bufferLength = 0
1131 if (bufferLength) {
1132 debug('has body', self.uri.href, bufferLength)
1133 response.body = Buffer.concat(buffers, bufferLength)
1140 bufferLength = 0
/third_party/node/lib/internal/fs/
Dutils.js618 (offset, length, bufferLength) => {
625 if (offset + length > bufferLength) {
627 `<= ${bufferLength - offset}`, length);
/third_party/protobuf/objectivec/
DGPBCodedOutputStream.m956 NSUInteger bufferLength = state_.size;
957 NSUInteger bufferBytesLeft = bufferLength - state_.position;
970 state_.position = bufferLength;
972 bufferLength = state_.size;
977 if (length <= bufferLength) {
/third_party/node/deps/icu-small/source/tools/pkgdata/
Dpkgdata.cpp1250 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/icu/icu4c/source/tools/pkgdata/
Dpkgdata.cpp1250 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/flutter/skia/third_party/externals/icu/source/tools/pkgdata/
Dpkgdata.cpp1225 int32_t bufferLength = 0; in pkg_installFileMode() local
1231 bufferLength = static_cast<int32_t>(uprv_strlen(buffer)); in pkg_installFileMode()
1233 if (bufferLength > 0) { in pkg_installFileMode()
1234 buffer[bufferLength-1] = 0; in pkg_installFileMode()

12