Home
last modified time | relevance | path

Searched refs:length1 (Results 1 – 25 of 98) sorted by relevance

1234

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/range/
DPrefixInfixSuffixLengthHelper.java10 public int length1 = 0; field in PrefixInfixSuffixLengthHelper
20 return lengthPrefix + length1; in index1()
24 return lengthPrefix + length1 + lengthInfix; in index2()
28 return lengthPrefix + length1 + lengthInfix + length2; in index3()
32 return lengthPrefix + length1 + lengthInfix + length2 + lengthSuffix; in index4()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/range/
DPrefixInfixSuffixLengthHelper.java12 public int length1 = 0; field in PrefixInfixSuffixLengthHelper
22 return lengthPrefix + length1; in index1()
26 return lengthPrefix + length1 + lengthInfix; in index2()
30 return lengthPrefix + length1 + lengthInfix + length2; in index3()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/text/kernels/
Dtruncate_sequence_pair_op.cc33 dsize_t length1 = seq1->shape()[0]; in Compute() local
35 dsize_t outLength1 = length1; in Compute()
38 dsize_t total = length1 + length2; in Compute()
47 if (length1 != outLength1) { in Compute()
48 std::unique_ptr<SliceOp> slice1 = std::make_unique<SliceOp>(Slice(outLength1 - length1)); in Compute()
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dunormcmp.cpp143 unorm_cmpEquivFold(const UChar *s1, int32_t length1, in unorm_cmpEquivFold() argument
191 if(length1==-1) { in unorm_cmpEquivFold()
194 limit1=s1+length1; in unorm_cmpEquivFold()
561 unorm_compare(const UChar *s1, int32_t length1, in unorm_compare() argument
569 if(s1==0 || length1<-1 || s2==0 || length2<-1) { in unorm_compare()
613 if(_normalize(&fn2, s1, length1, fcd1, pErrorCode)) { in unorm_compare()
615 length1=fcd1.length(); in unorm_compare()
622 if(_normalize(n2, s1, length1, fcd1, pErrorCode)) { in unorm_compare()
624 length1=fcd1.length(); in unorm_compare()
634 return unorm_cmpEquivFold(s1, length1, s2, length2, options, pErrorCode); in unorm_compare()
Dustring.cpp687 uprv_strCompare(const UChar *s1, int32_t length1, in uprv_strCompare() argument
698 if(length1<0 && length2<0) { in uprv_strCompare()
725 limit1=start1+length1; in uprv_strCompare()
746 limit2=start2+length1; /* use length1 here, too, to enforce assumption */ in uprv_strCompare()
751 if(length1<0) { in uprv_strCompare()
752 length1=u_strlen(s1); in uprv_strCompare()
759 if(length1<length2) { in uprv_strCompare()
761 limit1=start1+length1; in uprv_strCompare()
762 } else if(length1==length2) { in uprv_strCompare()
764 limit1=start1+length1; in uprv_strCompare()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Dunormcmp.cpp143 unorm_cmpEquivFold(const UChar *s1, int32_t length1, in unorm_cmpEquivFold() argument
191 if(length1==-1) { in unorm_cmpEquivFold()
194 limit1=s1+length1; in unorm_cmpEquivFold()
561 unorm_compare(const UChar *s1, int32_t length1, in unorm_compare() argument
569 if(s1==0 || length1<-1 || s2==0 || length2<-1) { in unorm_compare()
613 if(_normalize(&fn2, s1, length1, fcd1, pErrorCode)) { in unorm_compare()
615 length1=fcd1.length(); in unorm_compare()
622 if(_normalize(n2, s1, length1, fcd1, pErrorCode)) { in unorm_compare()
624 length1=fcd1.length(); in unorm_compare()
634 return unorm_cmpEquivFold(s1, length1, s2, length2, options, pErrorCode); in unorm_compare()
Dustring.cpp687 uprv_strCompare(const UChar *s1, int32_t length1, in uprv_strCompare() argument
698 if(length1<0 && length2<0) { in uprv_strCompare()
725 limit1=start1+length1; in uprv_strCompare()
746 limit2=start2+length1; /* use length1 here, too, to enforce assumption */ in uprv_strCompare()
751 if(length1<0) { in uprv_strCompare()
752 length1=u_strlen(s1); in uprv_strCompare()
759 if(length1<length2) { in uprv_strCompare()
761 limit1=start1+length1; in uprv_strCompare()
762 } else if(length1==length2) { in uprv_strCompare()
764 limit1=start1+length1; in uprv_strCompare()
[all …]
/third_party/node/deps/icu-small/source/common/
Dunormcmp.cpp143 unorm_cmpEquivFold(const UChar *s1, int32_t length1, in unorm_cmpEquivFold() argument
191 if(length1==-1) { in unorm_cmpEquivFold()
194 limit1=s1+length1; in unorm_cmpEquivFold()
561 unorm_compare(const UChar *s1, int32_t length1, in unorm_compare() argument
569 if(s1==0 || length1<-1 || s2==0 || length2<-1) { in unorm_compare()
613 if(_normalize(&fn2, s1, length1, fcd1, pErrorCode)) { in unorm_compare()
615 length1=fcd1.length(); in unorm_compare()
622 if(_normalize(n2, s1, length1, fcd1, pErrorCode)) { in unorm_compare()
624 length1=fcd1.length(); in unorm_compare()
634 return unorm_cmpEquivFold(s1, length1, s2, length2, options, pErrorCode); in unorm_compare()
Dustring.cpp687 uprv_strCompare(const UChar *s1, int32_t length1, in uprv_strCompare() argument
698 if(length1<0 && length2<0) { in uprv_strCompare()
725 limit1=start1+length1; in uprv_strCompare()
746 limit2=start2+length1; /* use length1 here, too, to enforce assumption */ in uprv_strCompare()
751 if(length1<0) { in uprv_strCompare()
752 length1=u_strlen(s1); in uprv_strCompare()
759 if(length1<length2) { in uprv_strCompare()
761 limit1=start1+length1; in uprv_strCompare()
762 } else if(length1==length2) { in uprv_strCompare()
764 limit1=start1+length1; in uprv_strCompare()
[all …]
/third_party/icu/icu4c/source/common/
Dunormcmp.cpp143 unorm_cmpEquivFold(const UChar *s1, int32_t length1, in unorm_cmpEquivFold() argument
191 if(length1==-1) { in unorm_cmpEquivFold()
194 limit1=s1+length1; in unorm_cmpEquivFold()
561 unorm_compare(const UChar *s1, int32_t length1, in unorm_compare() argument
569 if(s1==0 || length1<-1 || s2==0 || length2<-1) { in unorm_compare()
613 if(_normalize(&fn2, s1, length1, fcd1, pErrorCode)) { in unorm_compare()
615 length1=fcd1.length(); in unorm_compare()
622 if(_normalize(n2, s1, length1, fcd1, pErrorCode)) { in unorm_compare()
624 length1=fcd1.length(); in unorm_compare()
634 return unorm_cmpEquivFold(s1, length1, s2, length2, options, pErrorCode); in unorm_compare()
Dustring.cpp687 uprv_strCompare(const UChar *s1, int32_t length1, in uprv_strCompare() argument
698 if(length1<0 && length2<0) { in uprv_strCompare()
725 limit1=start1+length1; in uprv_strCompare()
746 limit2=start2+length1; /* use length1 here, too, to enforce assumption */ in uprv_strCompare()
751 if(length1<0) { in uprv_strCompare()
752 length1=u_strlen(s1); in uprv_strCompare()
759 if(length1<length2) { in uprv_strCompare()
761 limit1=start1+length1; in uprv_strCompare()
762 } else if(length1==length2) { in uprv_strCompare()
764 limit1=start1+length1; in uprv_strCompare()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/pae/
Dieee802_1x_kay_i.h169 u8 length1; member
208 u8 length1; member
241 u8 length1; member
305 u8 length1; member
359 u8 length1; member
396 u8 length1; member
419 u8 length1; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/pae/
Dieee802_1x_kay_i.h169 u8 length1; member
208 u8 length1; member
241 u8 length1; member
305 u8 length1; member
359 u8 length1; member
396 u8 length1; member
419 u8 length1; member
/third_party/node/deps/icu-small/source/i18n/
Dnumrange_impl.cpp343 int32_t length1 = 0; in formatRange() local
350 #define UPRV_INDEX_1 (lengthPrefix + length1) in formatRange()
351 #define UPRV_INDEX_2 (lengthPrefix + length1 + lengthInfix) in formatRange()
352 #define UPRV_INDEX_3 (lengthPrefix + length1 + lengthInfix + length2) in formatRange()
353 #define UPRV_INDEX_4 (lengthPrefix + length1 + lengthInfix + length2 + lengthSuffix) in formatRange()
387length1 += NumberFormatterImpl::writeNumber(micros1, data.quantity1, string, UPRV_INDEX_0, status); in formatRange()
401 length1 += micros1.modInner->apply(string, UPRV_INDEX_0, UPRV_INDEX_1, status); in formatRange()
411 length1 += micros1.modMiddle->apply(string, UPRV_INDEX_0, UPRV_INDEX_1, status); in formatRange()
421 length1 += micros1.modOuter->apply(string, UPRV_INDEX_0, UPRV_INDEX_1, status); in formatRange()
426 data.appendSpanInfo(UFIELD_CATEGORY_NUMBER_RANGE_SPAN, 0, UPRV_INDEX_0, length1, status); in formatRange()
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumrange_impl.cpp321 int32_t length1 = 0; in formatRange() local
328 #define UPRV_INDEX_1 (lengthPrefix + length1) in formatRange()
329 #define UPRV_INDEX_2 (lengthPrefix + length1 + lengthInfix) in formatRange()
330 #define UPRV_INDEX_3 (lengthPrefix + length1 + lengthInfix + length2) in formatRange()
331 #define UPRV_INDEX_4 (lengthPrefix + length1 + lengthInfix + length2 + lengthSuffix) in formatRange()
365length1 += NumberFormatterImpl::writeNumber(micros1, data.quantity1, string, UPRV_INDEX_0, status); in formatRange()
376 length1 += micros1.modInner->apply(string, UPRV_INDEX_0, UPRV_INDEX_1, status); in formatRange()
386 length1 += micros1.modMiddle->apply(string, UPRV_INDEX_0, UPRV_INDEX_1, status); in formatRange()
396 length1 += micros1.modOuter->apply(string, UPRV_INDEX_0, UPRV_INDEX_1, status); in formatRange()
401 data.appendSpanInfo(UFIELD_CATEGORY_NUMBER_RANGE_SPAN, 0, UPRV_INDEX_0, length1, status); in formatRange()
Duspoof.cpp434 const UChar *id1, int32_t length1, in uspoof_areConfusable() argument
441 if (length1 < -1 || length2 < -1) { in uspoof_areConfusable()
446 UnicodeString id1Str((length1==-1), id1, length1); // Aliasing constructor in uspoof_areConfusable()
454 const char *id1, int32_t length1, in uspoof_areConfusableUTF8() argument
461 if (length1 < -1 || length2 < -1) { in uspoof_areConfusableUTF8()
465 …UnicodeString id1Str = UnicodeString::fromUTF8(StringPiece(id1, length1>=0? length1 : static_cast<… in uspoof_areConfusableUTF8()
/third_party/icu/icu4c/source/i18n/
Dnumrange_impl.cpp321 int32_t length1 = 0; in formatRange() local
328 #define UPRV_INDEX_1 (lengthPrefix + length1) in formatRange()
329 #define UPRV_INDEX_2 (lengthPrefix + length1 + lengthInfix) in formatRange()
330 #define UPRV_INDEX_3 (lengthPrefix + length1 + lengthInfix + length2) in formatRange()
331 #define UPRV_INDEX_4 (lengthPrefix + length1 + lengthInfix + length2 + lengthSuffix) in formatRange()
365length1 += NumberFormatterImpl::writeNumber(micros1, data.quantity1, string, UPRV_INDEX_0, status); in formatRange()
376 length1 += micros1.modInner->apply(string, UPRV_INDEX_0, UPRV_INDEX_1, status); in formatRange()
386 length1 += micros1.modMiddle->apply(string, UPRV_INDEX_0, UPRV_INDEX_1, status); in formatRange()
396 length1 += micros1.modOuter->apply(string, UPRV_INDEX_0, UPRV_INDEX_1, status); in formatRange()
401 data.appendSpanInfo(UFIELD_CATEGORY_NUMBER_RANGE_SPAN, 0, UPRV_INDEX_0, length1, status); in formatRange()
Duspoof.cpp434 const UChar *id1, int32_t length1, in uspoof_areConfusable() argument
441 if (length1 < -1 || length2 < -1) { in uspoof_areConfusable()
446 UnicodeString id1Str((length1==-1), id1, length1); // Aliasing constructor in uspoof_areConfusable()
454 const char *id1, int32_t length1, in uspoof_areConfusableUTF8() argument
461 if (length1 < -1 || length2 < -1) { in uspoof_areConfusableUTF8()
465 …UnicodeString id1Str = UnicodeString::fromUTF8(StringPiece(id1, length1>=0? length1 : static_cast<… in uspoof_areConfusableUTF8()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/
DLzcompCompress.java41 private int length1; field in LzcompCompress
67 length1 = dataIn.length; in write()
69 setDistRange(length1); in write()
73 buf = new byte[PRELOAD_SIZE + length1]; in write()
74 System.arraycopy(dataIn, 0, buf, PRELOAD_SIZE, length1); in write()
82 while (distMax < length1) { in setDistRange()
93 int maxIndex = length1 + PRELOAD_SIZE; in encode()
95 bits.writeValue(length1, 24); in encode()
96 int limit = length1 + PRELOAD_SIZE; in encode()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/
DLzcompCompress.java41 private int length1; field in LzcompCompress
67 length1 = dataIn.length; in write()
69 setDistRange(length1); in write()
73 buf = new byte[PRELOAD_SIZE + length1]; in write()
74 System.arraycopy(dataIn, 0, buf, PRELOAD_SIZE, length1); in write()
82 while (distMax < length1) { in setDistRange()
93 int maxIndex = length1 + PRELOAD_SIZE; in encode()
95 bits.writeValue(length1, 24); in encode()
96 int limit = length1 + PRELOAD_SIZE; in encode()
/third_party/ffmpeg/libavformat/
Drtpdec_xiph.c230 unsigned num_packed, num_headers, length, length1, length2, extradata_alloc; in parse_packed_headers() local
245 length1 = get_base128(&packed_headers, packed_headers_end); in parse_packed_headers()
255 length1 > length || length2 > length - length1) { in parse_packed_headers()
257 "Bad packed header lengths (%d,%d,%"PTRDIFF_SPECIFIER",%u)\n", length1, in parse_packed_headers()
274 ptr += av_xiphlacing(ptr, length1); in parse_packed_headers()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumrange_impl.cpp381 int32_t length1 = 0; in formatRange() local
388 #define UPRV_INDEX_1 (lengthPrefix + length1) in formatRange()
389 #define UPRV_INDEX_2 (lengthPrefix + length1 + lengthInfix) in formatRange()
390 #define UPRV_INDEX_3 (lengthPrefix + length1 + lengthInfix + length2) in formatRange()
424length1 += NumberFormatterImpl::writeNumber(micros1, data.quantity1, string, UPRV_INDEX_0, status); in formatRange()
434 length1 += micros1.modInner->apply(string, UPRV_INDEX_0, UPRV_INDEX_1, status); in formatRange()
443 length1 += micros1.modMiddle->apply(string, UPRV_INDEX_0, UPRV_INDEX_1, status); in formatRange()
452 length1 += micros1.modOuter->apply(string, UPRV_INDEX_0, UPRV_INDEX_1, status); in formatRange()
Duspoof.cpp431 const UChar *id1, int32_t length1, in uspoof_areConfusable() argument
438 if (length1 < -1 || length2 < -1) { in uspoof_areConfusable()
443 UnicodeString id1Str((length1==-1), id1, length1); // Aliasing constructor in uspoof_areConfusable()
451 const char *id1, int32_t length1, in uspoof_areConfusableUTF8() argument
458 if (length1 < -1 || length2 < -1) { in uspoof_areConfusableUTF8()
462 …UnicodeString id1Str = UnicodeString::fromUTF8(StringPiece(id1, length1>=0? length1 : static_cast<… in uspoof_areConfusableUTF8()
/third_party/node/test/js-native-api/test_conversions/
Dtest_null.c40 size_t length1 = 3; \ in GEN_NULL_CHECK_BINDING()
46 api(NULL, return_value, buf1, length1, &length1)); \ in GEN_NULL_CHECK_BINDING()
/third_party/boost/libs/container_hash/test/
Dhash_built_in_array_test.cpp22 const int length1 = 25; in array_int_test() local
41 == BOOST_HASH_TEST_NAMESPACE::hash_range(array1, array1 + length1)); in array_int_test()

1234