| /third_party/jerryscript/tests/jerry/ |
| D | string-prototype-substring.js | 26 assert(Object.getOwnPropertyDescriptor(String.prototype.substring, 'length').configurable === lengt… 28 assert(Object.getOwnPropertyDescriptor(String.prototype.substring, 'length').enumerable === false); 30 assert(Object.getOwnPropertyDescriptor(String.prototype.substring, 'length').writable === false); 32 assert(String.prototype.substring.length === 2); 34 assert(String.prototype.substring.call(new String()) === ""); 36 assert(String.prototype.substring.call({}) === "[object Object]"); 40 String.prototype.substring.call(undefined); method in String 48 String.prototype.substring.call(null); method in String 55 assert("hello world!".substring(0, 11) === "hello world"); 57 assert("hello world!".substring(11, 0) === "hello world"); [all …]
|
| /third_party/libxml2/test/XPath/expr/ |
| D | strings | 18 substring("12345",2,3) 19 substring("12345",2) 20 substring("12345",-4) 21 substring("12345",3.4) 22 substring("12345",3.6) 23 substring("12345",1.5,2.6) 24 substring("12345",2.2,2.2) 25 substring("12345",0,3) 26 substring("12345",-8,10) 27 substring("12345",4,-10) [all …]
|
| /third_party/libxml2/result/XPath/expr/ |
| D | strings | 71 Expression: substring("12345",2,3) 75 Expression: substring("12345",2) 79 Expression: substring("12345",-4) 83 Expression: substring("12345",3.4) 87 Expression: substring("12345",3.6) 91 Expression: substring("12345",1.5,2.6) 95 Expression: substring("12345",2.2,2.2) 99 Expression: substring("12345",0,3) 103 Expression: substring("12345",-8,10) 107 Expression: substring("12345",4,-10) [all …]
|
| /third_party/libxml2/win32/ |
| D | configure.js | 208 verMicroSuffix = s.substring(s.indexOf("=") + 1, s.length); 455 opt = arg.substring(0, arg.indexOf("=")); 457 opt = arg.substring(0, arg.indexOf(":")); 460 withTrio = strToBool(arg.substring(opt.length + 1, arg.length)); 462 withThreads = arg.substring(opt.length + 1, arg.length); 464 withFtp = strToBool(arg.substring(opt.length + 1, arg.length)); 466 withHttp = strToBool(arg.substring(opt.length + 1, arg.length)); 468 withHtml = strToBool(arg.substring(opt.length + 1, arg.length)); 470 withC14n = strToBool(arg.substring(opt.length + 1, arg.length)); 472 withCatalog = strToBool(arg.substring(opt.length + 1, arg.length)); [all …]
|
| /third_party/typescript/tests/baselines/reference/ |
| D | libMembers.symbols | 5 s.substring(0); 6 >s.substring : Symbol(String.substring, Decl(lib.es5.d.ts, --, --)) 8 >substring : Symbol(String.substring, Decl(lib.es5.d.ts, --, --)) 10 s.substring(3,4); 11 >s.substring : Symbol(String.substring, Decl(lib.es5.d.ts, --, --)) 13 >substring : Symbol(String.substring, Decl(lib.es5.d.ts, --, --))
|
| D | assignFromStringInterface2.types | 49 …substring: string, ...args: any[]) => string): string; (searchValue: RegExp, replaceValue: string)… 53 … replace(searchValue: string, replaceValue: (substring: string, ...args: any[]) => string): string; 54 …substring: string, ...args: any[]) => string): string; (searchValue: RegExp, replaceValue: string)… 56 >replaceValue : (substring: string, ...args: any[]) => string 57 >substring : string 61 …substring: string, ...args: any[]) => string): string; (searchValue: RegExp, replaceValue: string)… 65 … replace(searchValue: RegExp, replaceValue: (substring: string, ...args: any[]) => string): string; 66 …substring: string, ...args: any[]) => string): string; (searchValue: RegExp, replaceValue: string)… 68 >replaceValue : (substring: string, ...args: any[]) => string 69 >substring : string [all …]
|
| D | libMembers.types | 6 s.substring(0); 7 >s.substring(0) : string 8 >s.substring : (start: number, end?: number) => string 10 >substring : (start: number, end?: number) => string 13 s.substring(3,4); 14 >s.substring(3,4) : string 15 >s.substring : (start: number, end?: number) => string 17 >substring : (start: number, end?: number) => string
|
| D | regExpWithSlashInCharClass.types | 5 …eplaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: string, ...args… 7 …eplaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: string, ...args… 14 …eplaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: string, ...args… 16 …eplaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: string, ...args… 23 …eplaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: string, ...args… 25 …eplaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: string, ...args…
|
| D | parserRegularExpression4.types | 2 …f) || (d += "&q=" + encodeURIComponent(W("q") || W("as_q") || A), d = d.substring(0, 1948 - c.href… 35 …f) || (d += "&q=" + encodeURIComponent(W("q") || W("as_q") || A), d = d.substring(0, 1948 - c.href… 36 …f) || (d += "&q=" + encodeURIComponent(W("q") || W("as_q") || A), d = d.substring(0, 1948 - c.href… 49 …f) || (d += "&q=" + encodeURIComponent(W("q") || W("as_q") || A), d = d.substring(0, 1948 - c.href… 57 >(d += "&q=" + encodeURIComponent(W("q") || W("as_q") || A), d = d.substring(0, 1948 - c.href.lengt… 58 >d += "&q=" + encodeURIComponent(W("q") || W("as_q") || A), d = d.substring(0, 1948 - c.href.length… 74 >d = d.substring(0, 1948 - c.href.length) : any 76 >d.substring(0, 1948 - c.href.length) : any 77 >d.substring : any 79 >substring : any
|
| D | iteratorsAndStrictNullChecks.symbols | 6 x.substring; 7 >x.substring : Symbol(String.substring, Decl(lib.es5.d.ts, --, --)) 9 >substring : Symbol(String.substring, Decl(lib.es5.d.ts, --, --))
|
| /third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
| D | cordz_info_statistics_test.cc | 71 auto* substring = new CordRepSubstring; in Substring() local 72 substring->length = rep->length - 1; in Substring() 73 substring->tag = SUBSTRING; in Substring() 74 substring->child = rep; in Substring() 75 return substring; in Substring() 148 self = SizeOf(rep->substring()); in FairShareImpl() 149 children = FairShareImpl(rep->substring()->child, ref); in FairShareImpl() 205 STATS_MATCHER_EXPECT_EQ(node_counts.substring); 277 auto* substring = ref.NeedsUnref(Substring(flat)); in TEST() local 280 expected.size = substring->length; in TEST() [all …]
|
| D | cord_rep_consume.cc | 32 CordRep* ClipSubstring(CordRepSubstring* substring) { in ClipSubstring() argument 33 CordRep* child = substring->child; in ClipSubstring() 34 if (substring->refcount.IsOne()) { in ClipSubstring() 35 delete substring; in ClipSubstring() 38 CordRep::Unref(substring); in ClipSubstring() 103 offset += rep->substring()->start; in Consume() 104 rep = ClipSubstring(rep->substring()); in Consume()
|
| D | cord_rep_btree_navigator.cc | 48 offset += rep->substring()->start; in Substring() 49 rep = rep->substring()->child; in Substring() 52 CordRepSubstring* substring = new CordRepSubstring(); in Substring() local 53 substring->length = n; in Substring() 54 substring->tag = SUBSTRING; in Substring() 55 substring->start = offset; in Substring() 56 substring->child = CordRep::Ref(rep); in Substring() 57 return substring; in Substring()
|
| /third_party/flutter/flutter/dev/devicelab/lib/framework/ |
| D | running_processes.dart | 143 String rawTime = line.substring( 152 rawTime = rawTime.substring(0, 3) + '0' + rawTime.substring(3); 154 final String year = rawTime.substring(6, 10); 155 final String month = rawTime.substring(3, 5); 156 final String day = rawTime.substring(0, 2); 157 String time = rawTime.substring(11, 19); 162 final int hours = int.parse(time.substring(0, 2)); 163 time = '${hours + 12}${time.substring(2)}'; 166 final int pid = int.parse(line.substring(0, processIdHeaderSize).trim()); 168 final String commandLine = line.substring(commandLineHeaderStart).trim(); [all …]
|
| /third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/ |
| D | Trans.java | 99 buf.append(line.substring(0, right+1)); in trans() 100 if (DEBUG) System.out.println("*S:" + line.substring(0, right+1)); in trans() 107 buf.append(trans.transliterate(line.substring(right+1))); in trans() 108 if (DEBUG) System.out.println("T:" + line.substring(right+1)); in trans() 113 buf.append(trans.transliterate(line.substring(right+1, left))); in trans() 114 if (DEBUG) System.out.println("T:" + line.substring(right+1, left)); in trans() 118 buf.append(line.substring(left)); in trans() 119 if (DEBUG) System.out.println("S:" + line.substring(left)); in trans() 122 buf.append(line.substring(left, right+1)); in trans() 123 if (DEBUG) System.out.println("S:" + line.substring(left, right+1)); in trans()
|
| /third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
| D | NFRule.java | 208 sbuf.append(description.substring(0, brack1)); in makeRules() 210 sbuf.append(description.substring(brack2 + 1)); in makeRules() 219 sbuf.append(description.substring(0, brack1)); in makeRules() 220 sbuf.append(description.substring(brack1 + 1, brack2)); in makeRules() 222 sbuf.append(description.substring(brack2 + 1)); in makeRules() 280 descriptor = description.substring(0, p); in parseRuleDescriptor() 285 description = description.substring(p); in parseRuleDescriptor() 398 description = description.substring(1); in parseRuleDescriptor() 434 String type = this.ruleText.substring(pluralRuleStart + 2, endType); in extractSubstitutions() 446 ruleText.substring(endType + 1, pluralRuleEnd)); in extractSubstitutions() [all …]
|
| /third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
| D | NFRule.java | 209 sbuf.append(description.substring(0, brack1)); in makeRules() 211 sbuf.append(description.substring(brack2 + 1)); in makeRules() 220 sbuf.append(description.substring(0, brack1)); in makeRules() 221 sbuf.append(description.substring(brack1 + 1, brack2)); in makeRules() 223 sbuf.append(description.substring(brack2 + 1)); in makeRules() 281 descriptor = description.substring(0, p); in parseRuleDescriptor() 286 description = description.substring(p); in parseRuleDescriptor() 399 description = description.substring(1); in parseRuleDescriptor() 435 String type = this.ruleText.substring(pluralRuleStart + 2, endType); in extractSubstitutions() 447 ruleText.substring(endType + 1, pluralRuleEnd)); in extractSubstitutions() [all …]
|
| /third_party/parse5/test/utils/ |
| D | common.ts | 41 chunks.push(str.substring(start, end)); 101 const expectedStr = `Expected: ${addSlashes(expected.substring(i - 100, i + 1))}`; 104 …diffMsg += `${expectedStr}${addSlashes(expected.substring(i + 1, i + 20))}\n${expectedDiffMarker}`; 106 const actualStr = `Actual: ${addSlashes(actual.substring(i - 100, i + 1))}`; 109 … diffMsg += `${actualStr}${addSlashes(actual.substring(i + 1, i + 20))}\n${actualDiffMarker}`; 123 lines[last] = lines[last].substring(0, loc.endCol - 1); 124 lines[0] = lines[0].substring(loc.startCol - 1);
|
| /third_party/typescript/src/testRunner/unittests/services/ |
| D | patternMatcher.ts | 140 …assertSegmentMatch("FogBar", "b", { kind: ts.PatternMatchKind.substring, isCaseSensitive: false }); 180 …ogBarChangedEventArgs", "changedeventargs", { kind: ts.PatternMatchKind.substring, isCaseSensitive… 188 …assertSegmentMatch("ABCDEFGH", "bcd", { kind: ts.PatternMatchKind.substring, isCaseSensitive: fals… 206 …ntMatch("AddMetadataReference", "metadata", { kind: ts.PatternMatchKind.substring, isCaseSensitive… 214 …ntMatch("AddMetadataReference", "Metadata", { kind: ts.PatternMatchKind.substring, isCaseSensitive… 222 …assertSegmentMatch("AddMetadataReference", "M", { kind: ts.PatternMatchKind.substring, isCaseSensi… 238 …tch("AddMetadataReference", "ref Metadata", { kind: ts.PatternMatchKind.substring, isCaseSensitive… 242 …gmentMatch("AddMetadataReference", "ref M", { kind: ts.PatternMatchKind.substring, isCaseSensitive… 278 …assertSegmentMatch("GetKeyWord", "K*W", { kind: ts.PatternMatchKind.substring, isCaseSensitive: tr… 286 …assertSegmentMatch("FooAttribute", "a", { kind: ts.PatternMatchKind.substring, isCaseSensitive: fa…
|
| /third_party/libjpeg-turbo/doc/html/ |
| D | dynsections.js | 36 $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); 41 $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); 56 var i = $('#img'+this.id.substring(3)); 57 var a = $('#arr'+this.id.substring(3)); 115 $(img).attr('src',src.substring(0,src.length-8)+'closed.png'); 118 $(img).attr('src',src.substring(0,src.length-10)+'open.png');
|
| /third_party/skia/third_party/externals/oboe/docs/reference/ |
| D | dynsections.js | 35 $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); 40 $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); 55 var i = $('#img'+this.id.substring(3)); 56 var a = $('#arr'+this.id.substring(3)); 114 $(img).attr('src',src.substring(0,src.length-8)+'closed.png'); 117 $(img).attr('src',src.substring(0,src.length-10)+'open.png');
|
| /third_party/libphonenumber/tools/java/common/test/com/google/i18n/phonenumbers/ |
| D | MetadataFilterCoverageTest.java | 51 String capitalized = Character.toUpperCase(field.charAt(0)) + field.substring(1); in testCoverageOfExcludableParentFields() 64 String capitalized = Character.toUpperCase(field.charAt(0)) + field.substring(1); in testCoverageOfExcludableChildFields() 76 String capitalized = Character.toUpperCase(field.charAt(0)) + field.substring(1); in testCoverageOfExcludableChildlessFields() 86 private static int countOccurrencesOf(String substring, String string) { in countOccurrencesOf() argument 88 for (int i = string.indexOf(substring); i != -1; i = string.indexOf(substring, i + 1)) { in countOccurrencesOf()
|
| /third_party/libevdev/doc/style/ |
| D | dynsections.js | 2 …substring(0,src.length-8)+'closed.png');}else{content.show();summary.hide();$(linkObj).removeClass… 7 …l=this.id.split('_').length-1;var i=$('#img'+this.id.substring(3));var a=$('#arr'+this.id.substrin… 12 …$(img).attr('src',src.substring(0,src.length-8)+'closed.png');}else{rows.css('display','table-row'…
|
| /third_party/libevdev/doc/html/ |
| D | dynsections.js | 36 $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); 41 $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); 56 var i = $('#img'+this.id.substring(3)); 57 var a = $('#arr'+this.id.substring(3)); 115 $(img).attr('src',src.substring(0,src.length-8)+'closed.png'); 118 $(img).attr('src',src.substring(0,src.length-10)+'open.png');
|
| /third_party/flutter/skia/third_party/externals/libjpeg-turbo/doc/html/ |
| D | dynsections.js | 12 $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); 17 $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); 31 var i = $('#img'+this.id.substring(3)); 32 var a = $('#arr'+this.id.substring(3)); 91 $(img).attr('src',src.substring(0,src.length-8)+'closed.png'); 94 $(img).attr('src',src.substring(0,src.length-10)+'open.png');
|