Home
last modified time | relevance | path

Searched refs:totalLength (Results 1 - 22 of 22) sorted by relevance

/third_party/protobuf/js/experimental/runtime/kernel/
H A Duint8arrays.js13 let totalLength = 0;
15 totalLength += array.length;
17 const result = new Uint8Array(totalLength);
/third_party/protobuf/csharp/src/Google.Protobuf/
H A DSegmentedBufferHelper.cs48 private int? totalLength; field
60 instance.totalLength = codedInputStream.InternalInputStream == null ? (int?)codedInputStream.InternalBuffer.Length : null; in Initialize()
77 instance.totalLength = firstSpan.Length; in Initialize()
83 instance.totalLength = (int) sequence.Length; in Initialize()
103 public int? TotalLength => totalLength;
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DRopeByteString.java133 private final int totalLength; field in RopeByteString
150 totalLength = leftLength + right.size(); in RopeByteString()
280 checkIndex(index, totalLength); in byteAt()
296 return totalLength; in size()
347 return totalLength >= minLength(treeDepth); in isBalanced()
365 final int length = checkRange(beginIndex, endIndex, totalLength); in substring()
372 if (length == totalLength) { in substring()
512 if (totalLength != otherByteString.size()) { in equals()
515 if (totalLength == 0) { in equals()
565 if (pos >= totalLength) { in equalsFragments()
[all...]
/third_party/node/benchmark/buffers/
H A Dbuffer-concat-fill.js16 const totalLength = (pieces * pieceSize) + extraSize;
20 Buffer.concat(list, totalLength);
H A Dbuffer-concat.js15 const totalLength = withTotalLength ? pieces * pieceSize : undefined;
19 Buffer.concat(list, totalLength);
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A DShader.cpp55 int totalLength = 0; in setSource() local
61 totalLength += length[i]; in setSource()
65 totalLength += (int)strlen(string[i]); in setSource()
69 mSource = new char[totalLength + 1]; in setSource()
89 mSource[totalLength] = '\0'; in setSource()
/third_party/icu/icu4c/source/i18n/
H A Dcollationsettings.cpp196 int32_t totalLength = codesLength + rangesLength; in setReorderArrays() local
197 U_ASSERT(totalLength > 0); in setReorderArrays()
198 if(totalLength <= reorderCodesCapacity) { in setReorderArrays()
202 int32_t capacity = (totalLength + 3) & ~3; // round up to a multiple of 4 ints in setReorderArrays()
/third_party/node/deps/icu-small/source/i18n/
H A Dcollationsettings.cpp196 int32_t totalLength = codesLength + rangesLength; in setReorderArrays() local
197 U_ASSERT(totalLength > 0); in setReorderArrays()
198 if(totalLength <= reorderCodesCapacity) { in setReorderArrays()
202 int32_t capacity = (totalLength + 3) & ~3; // round up to a multiple of 4 ints in setReorderArrays()
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dcollationsettings.cpp196 int32_t totalLength = codesLength + rangesLength; in setReorderArrays() local
197 U_ASSERT(totalLength > 0); in setReorderArrays()
198 if(totalLength <= reorderCodesCapacity) { in setReorderArrays()
202 int32_t capacity = (totalLength + 3) & ~3; // round up to a multiple of 4 ints in setReorderArrays()
/third_party/libwebsockets/lib/core-net/client/
H A Dconnect3.c41 struct addrinfo **get_dns_res(struct addrinfo *res, sa_family_t family, size_t totalLength, size_t *size) in get_dns_res() argument
43 struct addrinfo **temp = (struct addrinfo **)(malloc(sizeof(struct addrinfo *) * totalLength)); in get_dns_res()
68 size_t totalLength = get_res_size(res); in sort_dns() local
69 if (totalLength == 0) { in sort_dns()
74 struct addrinfo **ipv6Dns = get_dns_res(res, AF_INET6, totalLength, &ipv6Size); in sort_dns()
76 struct addrinfo **ipv4Dns = get_dns_res(res, AF_INET, totalLength, &ipv4Size); in sort_dns()
/third_party/node/lib/internal/util/
H A Dinspect.js1436 let totalLength = 0;
1452 totalLength += len + separatorSpace;
1464 (totalLength / actualMax > 5 || maxLength <= 6)) {
1467 const averageBias = MathSqrt(actualMax - totalLength / output.length);
1996 let totalLength = output.length + start;
1997 if (totalLength + output.length > ctx.breakLength)
2001 totalLength += removeColors(output[i]).length;
2003 totalLength += output[i].length;
2005 if (totalLength > ctx.breakLength) {
/third_party/icu/icu4c/source/common/
H A Dutrie2_builder.cpp389 long totalLength=(long)sizeof(UTrieHeader)+indexLength*2+dataLength*(trie->data32!=NULL ? 4 : 2); in utrie_printLengths() local
391 indexLength, dataLength, totalLength); in utrie_printLengths()
398 long totalLength=(long)sizeof(UTrie2Header)+indexLength*2+dataLength*(trie->data32!=NULL ? 4 : 2); in utrie2_printLengths() local
400 which, trie->name, indexLength, dataLength, countInitial(trie), totalLength); in utrie2_printLengths()
H A Ducptrie.cpp576 long totalLength=(long)sizeof(UCPTrieHeader)+indexLength*2+ in ucptrie_printLengths() local
580 which, trie->name, indexLength, dataLength, countNull(trie), totalLength); in ucptrie_printLengths()
/third_party/node/deps/icu-small/source/common/
H A Dutrie2_builder.cpp389 long totalLength=(long)sizeof(UTrieHeader)+indexLength*2+dataLength*(trie->data32!=nullptr ? 4 : 2); in utrie_printLengths() local
391 indexLength, dataLength, totalLength); in utrie_printLengths()
398 long totalLength=(long)sizeof(UTrie2Header)+indexLength*2+dataLength*(trie->data32!=nullptr ? 4 : 2); in utrie2_printLengths() local
400 which, trie->name, indexLength, dataLength, countInitial(trie), totalLength); in utrie2_printLengths()
H A Ducptrie.cpp576 long totalLength=(long)sizeof(UCPTrieHeader)+indexLength*2+ in ucptrie_printLengths() local
580 which, trie->name, indexLength, dataLength, countNull(trie), totalLength); in ucptrie_printLengths()
/third_party/skia/third_party/externals/icu/source/common/
H A Dutrie2_builder.cpp389 long totalLength=(long)sizeof(UTrieHeader)+indexLength*2+dataLength*(trie->data32!=NULL ? 4 : 2); in utrie_printLengths() local
391 indexLength, dataLength, totalLength); in utrie_printLengths()
398 long totalLength=(long)sizeof(UTrie2Header)+indexLength*2+dataLength*(trie->data32!=NULL ? 4 : 2); in utrie2_printLengths() local
400 which, trie->name, indexLength, dataLength, countInitial(trie), totalLength); in utrie2_printLengths()
H A Ducptrie.cpp576 long totalLength=(long)sizeof(UCPTrieHeader)+indexLength*2+ in ucptrie_printLengths() local
580 which, trie->name, indexLength, dataLength, countNull(trie), totalLength); in ucptrie_printLengths()
/third_party/vk-gl-cts/external/amber/src/android_gradle/gradle/wrapper/
H A Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/gradle/wrapper/ org/gradle/wrapper/BootstrapMainStarter ...
/third_party/skia/third_party/externals/libwebp/gradle/wrapper/
H A Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/gradle/wrapper/ org/gradle/wrapper/BootstrapMainStarter ...
/third_party/mesa3d/src/mesa/main/
H A Dshaderapi.c2076 GLsizei i, totalLength; in shader_source() local
2127 totalLength = offsets[count - 1] + 2; in shader_source()
2128 source = malloc(totalLength * sizeof(GLcharARB)); in shader_source()
2140 source[totalLength - 1] = '\0'; in shader_source()
2141 source[totalLength - 2] = '\0'; in shader_source()
/third_party/skia/samplecode/
H A DSampleVariableWidthStroker.cpp329 SkScalar totalLength() const;
344 SkScalar PathVerbMeasure::totalLength() const {
548 ? meas.totalLength()
/third_party/vulkan-loader/loader/
H A Dloader.c4181 size_t totalLength = strlen(libPath) + strlen(debugLayerLibPath) + 1;
4182 libPath = loader_instance_heap_calloc(inst, totalLength, VK_SYSTEM_ALLOCATION_SCOPE_COMMAND);
4191 strncpy(libPath, debugLayerLibPath, totalLength);
4192 strncat(libPath, prop->lib_name, totalLength);

Completed in 55 milliseconds