/external/icu/icu4c/source/test/intltest/ |
tsdtfmsy.h | 39 UBool UnicodeStringsArePrefixes(int32_t count, int32_t prefixLen, const UnicodeString *prefixArray, const UnicodeString *baseArray);
|
/prebuilts/go/darwin-x86/doc/codewalk/ |
markov.go | 74 // A prefix is a string of prefixLen words joined with spaces. 78 prefixLen int 81 // NewChain returns a new Chain with prefixes of prefixLen words. 82 func NewChain(prefixLen int) *Chain { 83 return &Chain{make(map[string][]string), prefixLen} 90 p := make(Prefix, c.prefixLen) 104 p := make(Prefix, c.prefixLen) 121 prefixLen := flag.Int("prefix", 2, "prefix length in words") 126 c := NewChain(*prefixLen) // Initialize a new Chain.
|
/prebuilts/go/linux-x86/doc/codewalk/ |
markov.go | 74 // A prefix is a string of prefixLen words joined with spaces. 78 prefixLen int 81 // NewChain returns a new Chain with prefixes of prefixLen words. 82 func NewChain(prefixLen int) *Chain { 83 return &Chain{make(map[string][]string), prefixLen} 90 p := make(Prefix, c.prefixLen) 104 p := make(Prefix, c.prefixLen) 121 prefixLen := flag.Int("prefix", 2, "prefix length in words") 126 c := NewChain(*prefixLen) // Initialize a new Chain.
|
/external/icu/icu4c/source/test/cintltst/ |
nfsprep.c | 177 const char **prefix, int32_t *prefixLen, 197 *prefixLen = i; 200 if((findStringIndex(special_prefixes,UPRV_LENGTHOF(special_prefixes), *prefix, *prefixLen-1) != -1) && (*suffix != NULL)){ 214 int32_t prefixLen=0, suffixLen=0; 233 getPrefixSuffix(src, srcLength, &prefix, &prefixLen, &suffix, &suffixLen, status); 236 pLen = nfs4_prepare(prefix, prefixLen, p, pCapacity, NFS4_MIXED_PREP_PREFIX, parseError, status); 244 pLen = nfs4_prepare(prefix, prefixLen, p, pLen, NFS4_MIXED_PREP_PREFIX, parseError, status);
|
/system/core/liblog/ |
fake_log_device.c | 396 size_t prefixLen, suffixLen; 400 prefixLen = 406 prefixLen = 411 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), "%c(%5d:%5d) ", 418 prefixLen = 0; 423 prefixLen = 429 prefixLen = 436 prefixLen = 443 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), 493 if (prefixLen > 0) [all...] |
logprint.c | [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
UnescapeTransliterator.java | 163 int prefixLen = spec[ipat++]; 174 for (i=0; i<prefixLen; ++i) { 231 if (c != spec[ipat + prefixLen + i]) { 251 ipat += prefixLen + suffixLen;
|
EscapeTransliterator.java | 185 int prefixLen = prefix.length(); 205 buf.setLength(prefixLen);
|
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
UnescapeTransliterator.java | 162 int prefixLen = spec[ipat++]; 173 for (i=0; i<prefixLen; ++i) { 230 if (c != spec[ipat + prefixLen + i]) { 250 ipat += prefixLen + suffixLen;
|
EscapeTransliterator.java | 184 int prefixLen = prefix.length(); 204 buf.setLength(prefixLen);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
StringRange.java | 65 int prefixLen = 0; 68 if (s.regionMatches(0, start, 0, prefixLen)) { 69 int currentCp = s.codePointAt(prefixLen); 70 if (currentCp == 1+lastCp && s.length() == prefixLen + Character.charCount(currentCp)) { 79 : end.substring(prefixLen, end.length())); 85 prefixLen = s.length() - Character.charCount(lastCp); 89 : end.substring(prefixLen, end.length()));
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
StringRange.java | 61 int prefixLen = 0; 64 if (s.regionMatches(0, start, 0, prefixLen)) { 65 int currentCp = s.codePointAt(prefixLen); 66 if (currentCp == 1+lastCp && s.length() == prefixLen + Character.charCount(currentCp)) { 75 : end.substring(prefixLen, end.length())); 81 prefixLen = s.length() - Character.charCount(lastCp); 85 : end.substring(prefixLen, end.length()));
|
/prebuilts/go/darwin-x86/src/net/ |
interface_test.go | 200 prefixLen, maxPrefixLen := ifa.Mask.Size() 202 if 0 >= prefixLen || prefixLen > 8*IPv4len || maxPrefixLen != 8*IPv4len { 203 return nil, fmt.Errorf("unexpected prefix length: %d/%d for %#v", prefixLen, maxPrefixLen, ifa) 205 if ifa.IP.IsLoopback() && (prefixLen != 8 && prefixLen != 8*IPv4len) { // see RFC 1122 206 return nil, fmt.Errorf("unexpected prefix length: %d/%d for %#v", prefixLen, maxPrefixLen, ifa) 211 if 0 >= prefixLen || prefixLen > 8*IPv6len || maxPrefixLen != 8*IPv6len { 212 return nil, fmt.Errorf("unexpected prefix length: %d/%d for %#v", prefixLen, maxPrefixLen, ifa [all...] |
/prebuilts/go/linux-x86/src/net/ |
interface_test.go | 200 prefixLen, maxPrefixLen := ifa.Mask.Size() 202 if 0 >= prefixLen || prefixLen > 8*IPv4len || maxPrefixLen != 8*IPv4len { 203 return nil, fmt.Errorf("unexpected prefix length: %d/%d for %#v", prefixLen, maxPrefixLen, ifa) 205 if ifa.IP.IsLoopback() && (prefixLen != 8 && prefixLen != 8*IPv4len) { // see RFC 1122 206 return nil, fmt.Errorf("unexpected prefix length: %d/%d for %#v", prefixLen, maxPrefixLen, ifa) 211 if 0 >= prefixLen || prefixLen > 8*IPv6len || maxPrefixLen != 8*IPv6len { 212 return nil, fmt.Errorf("unexpected prefix length: %d/%d for %#v", prefixLen, maxPrefixLen, ifa [all...] |
/external/skia/tests/ |
SkLinearBitmapPipelineTest.cpp | 26 SkPoint prefixStart; SkScalar prefixLen; int prefixCount; 27 std::tie(prefixStart, prefixLen, prefixCount) = prefix; 32 prefixStart.fX, prefixStart.fY, prefixLen, prefixCount, 44 SkPoint prefixStart; SkScalar prefixLen; int prefixCount; 45 std::tie(prefixStart, prefixLen, prefixCount) = prefix; 48 REPORTER_ASSERT_MESSAGE(reporter, prefixLen == len, dump(cut, prefix, span)); 58 expectedRemainderStart = SkPoint::Make(originalStart.fX + prefixLen + dx, originalStart.fY); 59 expectedRemainderLen = originalLen - prefixLen - dx;
|
/external/icu/icu4c/source/i18n/ |
unesctrn.cpp | 187 int32_t prefixLen = spec[ipat++]; 198 for (i=0; i<prefixLen; ++i) { 255 if (c != spec[ipat + prefixLen + i]) { 275 ipat += prefixLen + suffixLen;
|
esctrn.cpp | 141 int32_t prefixLen = prefix.length(); 161 buf.truncate(prefixLen);
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
M_E_T_A_.py | 238 prefixLen = 0 240 prefixLen = 3 242 prefixLen = 7 243 if prefixLen: 244 i = i+prefixLen
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
IPAddressName.java | 199 int prefixLen = Integer.parseInt(name.substring(slashNdx+1)); 200 if (prefixLen < 0 || prefixLen > 128) { 202 prefixLen + ") in out of valid range [0,128]"); 209 for (int i = 0; i < prefixLen; i++)
|
/external/owasp/sanitizer/src/main/org/owasp/html/ |
CssSchema.java | 143 int prefixLen = 0; 147 prefixLen = 4; 149 prefixLen = 5; 153 if (cssKeyword.startsWith("-o-")) { prefixLen = 3; } 156 if (cssKeyword.startsWith("-webkit-")) { prefixLen = 8; } 160 return prefixLen == 0 ? null : cssKeyword.substring(prefixLen); [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
TetherInterfaceStateMachine.java | 188 int prefixLen = 0; 191 prefixLen = USB_PREFIX_LENGTH; 194 prefixLen = WIFI_HOST_IFACE_PREFIX_LENGTH; 209 linkAddr = new LinkAddress(addr, prefixLen);
|
/external/deqp/scripts/ |
testset.py | 134 prefixLen = len(prefix) 136 if case.name[:prefixLen] == prefix:
|
/libcore/ojluni/src/main/java/java/time/format/ |
DateTimeFormatterBuilder.java | [all...] |
/prebuilts/go/darwin-x86/src/crypto/x509/ |
verify.go | 178 prefixLen := len(domain) - len(constraint) 179 if !strings.EqualFold(domain[prefixLen:], constraint) { 183 if prefixLen == 0 { 187 isSubdomain := domain[prefixLen-1] == '.'
|
/prebuilts/go/linux-x86/src/crypto/x509/ |
verify.go | 178 prefixLen := len(domain) - len(constraint) 179 if !strings.EqualFold(domain[prefixLen:], constraint) { 183 if prefixLen == 0 { 187 isSubdomain := domain[prefixLen-1] == '.'
|