Home
last modified time | relevance | path

Searched refs:fromString (Results 1 – 25 of 77) sorted by relevance

1234

/third_party/typescript/src/testRunner/unittests/
DincrementalParser.ts6 …return { text: ScriptSnapshot.fromString(newContents), textChangeRange: createTextChangeRange(crea…
97 let oldTree = createTree(ScriptSnapshot.fromString(source), /*version:*/ ".");
99 const oldText = ScriptSnapshot.fromString(source);
110 let oldTree = createTree(ScriptSnapshot.fromString(source), /*version:*/ ".");
112 const oldText = ScriptSnapshot.fromString(source);
131 const oldText = ScriptSnapshot.fromString(source);
148 const oldText = ScriptSnapshot.fromString(source);
158 const oldText = ScriptSnapshot.fromString(source);
168 const oldText = ScriptSnapshot.fromString(source);
178 const oldText = ScriptSnapshot.fromString(source);
[all …]
/third_party/protobuf/java/util/src/test/java/com/google/protobuf/util/
DFieldMaskUtilTest.java53 FieldMaskUtil.isValid(NestedTestAllTypes.class, FieldMaskUtil.fromString("payload"))); in testIsValid()
55 FieldMaskUtil.isValid(NestedTestAllTypes.class, FieldMaskUtil.fromString("nonexist"))); in testIsValid()
58 NestedTestAllTypes.class, FieldMaskUtil.fromString("payload,nonexist"))); in testIsValid()
65 NestedTestAllTypes.getDescriptor(), FieldMaskUtil.fromString("payload"))); in testIsValid()
68 NestedTestAllTypes.getDescriptor(), FieldMaskUtil.fromString("nonexist"))); in testIsValid()
99 FieldMask mask = FieldMaskUtil.fromString(""); in testFromString()
101 mask = FieldMaskUtil.fromString("foo"); in testFromString()
104 mask = FieldMaskUtil.fromString("foo,bar.baz"); in testFromString()
110 mask = FieldMaskUtil.fromString(",foo,,bar,"); in testFromString()
116 mask = FieldMaskUtil.fromString(NestedTestAllTypes.class, ",payload"); in testFromString()
[all …]
DFieldMaskTreeTest.java72 FieldMaskTree tree = new FieldMaskTree(FieldMaskUtil.fromString("foo,bar.baz,bar.quz")); in testMergeFromFieldMask()
74 tree.mergeFromFieldMask(FieldMaskUtil.fromString("foo.bar,bar")); in testMergeFromFieldMask()
80 FieldMaskTree tree = new FieldMaskTree(FieldMaskUtil.fromString(initialTreeString)); in testRemoveFieldPath()
102 FieldMaskTree tree = new FieldMaskTree(FieldMaskUtil.fromString("foo,bar.baz,bar.quz")); in testRemoveFromFieldMask()
104 tree.removeFromFieldMask(FieldMaskUtil.fromString("foo.bar,bar")); in testRemoveFromFieldMask()
109 FieldMaskTree tree = new FieldMaskTree(FieldMaskUtil.fromString("foo,bar.baz,bar.quz")); in testIntersectFieldPath()
/third_party/typescript/src/testRunner/unittests/services/
DdocumentRegistry.ts6 ….acquireDocument("file1.ts", defaultCompilerOptions, ts.ScriptSnapshot.fromString("var x = 1;"), /…
7 ….acquireDocument("file1.ts", defaultCompilerOptions, ts.ScriptSnapshot.fromString("var x = 1;"), /…
18 …egistry.acquireDocument("file1.ts", compilerOptions, ts.ScriptSnapshot.fromString("var x = 1;"), /…
20 …egistry.acquireDocument("file1.ts", compilerOptions, ts.ScriptSnapshot.fromString("var x = 1;"), /…
27 …egistry.acquireDocument("file1.ts", compilerOptions, ts.ScriptSnapshot.fromString("var x = 1;"), /…
32 …egistry.acquireDocument("file1.ts", compilerOptions, ts.ScriptSnapshot.fromString("var x = 1;"), /…
37 …egistry.acquireDocument("file1.ts", compilerOptions, ts.ScriptSnapshot.fromString("var x = 1;"), /…
47 ….acquireDocument("file1.ts", defaultCompilerOptions, ts.ScriptSnapshot.fromString("var x = 1;"), /…
50 ….acquireDocument("file1.ts", defaultCompilerOptions, ts.ScriptSnapshot.fromString("var x = 1;"), /…
60 const snapshot = ts.ScriptSnapshot.fromString(contents);
DlanguageService.ts34 return ScriptSnapshot.fromString("");
36 return ScriptSnapshot.fromString(files[fileName] || "");
103 return text ? ScriptSnapshot.fromString(text) : undefined;
201 return text ? ScriptSnapshot.fromString(text) : undefined;
DhostNewLineSupport.ts6 return ScriptSnapshot.fromString("");
9 return result && ScriptSnapshot.fromString(result.content);
/third_party/protobuf/js/experimental/runtime/kernel/
Dtextencoding_test.js45 static fromString(s) { method in Pair
54 return Pair.fromString(String.fromCharCode(charCode));
78 Pair.fromString('').expectPairToMatch();
83 Pair.fromString('hello').expectPairToMatch();
84 Pair.fromString('HELLO1!');
87 Pair.fromString('©').expectPairToMatch();
90 Pair.fromString('❄').expectPairToMatch();
93 Pair.fromString('��').expectPairToMatch();
/third_party/node/deps/npm/node_modules/@sigstore/verify/dist/timestamp/
Dcheckpoint.js46 const signedNote = SignedNote.fromString(inclusionProof.checkpoint.envelope);
47 const checkpoint = LogCheckpoint.fromString(signedNote.note);
89 static fromString(envelope) { method in SignedNote
144 static fromString(note) { method in LogCheckpoint
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/range/
DStandardPluralRanges.java42 StandardPlural first = StandardPlural.fromString(value.getString()); in put()
44 StandardPlural second = StandardPlural.fromString(value.getString()); in put()
46 StandardPlural result = StandardPlural.fromString(value.getString()); in put()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/BinaryFormat/
DMsgPackDocumentYAML.cpp70 StringRef DocNode::fromString(StringRef S, StringRef Tag) { in fromString() function in DocNode
117 N.fromString(toString(), ""); in getYAMLTag()
183 return S.fromString(Str, Tag); in input()
212 KeyObj.fromString(Key, ""); in inputOne()
/third_party/skia/third_party/externals/icu/source/i18n/
Dpluralranges.cpp42 … StandardPlural::Form first = StandardPlural::fromString(value.getUnicodeString(status), status); in put()
45 … StandardPlural::Form second = StandardPlural::fromString(value.getUnicodeString(status), status); in put()
48 … StandardPlural::Form result = StandardPlural::fromString(value.getUnicodeString(status), status); in put()
Dstandardplural.h70 static Form fromString(const char *keyword, UErrorCode &errorCode) { in fromString() function
80 static Form fromString(const UnicodeString &keyword, UErrorCode &errorCode) { in fromString() function
/third_party/node/deps/icu-small/source/i18n/
Dpluralranges.cpp42 … StandardPlural::Form first = StandardPlural::fromString(value.getUnicodeString(status), status); in put()
45 … StandardPlural::Form second = StandardPlural::fromString(value.getUnicodeString(status), status); in put()
48 … StandardPlural::Form result = StandardPlural::fromString(value.getUnicodeString(status), status); in put()
Dstandardplural.h70 static Form fromString(const char *keyword, UErrorCode &errorCode) { in fromString() function
80 static Form fromString(const UnicodeString &keyword, UErrorCode &errorCode) { in fromString() function
/third_party/icu/icu4c/source/i18n/
Dpluralranges.cpp42 … StandardPlural::Form first = StandardPlural::fromString(value.getUnicodeString(status), status); in put()
45 … StandardPlural::Form second = StandardPlural::fromString(value.getUnicodeString(status), status); in put()
48 … StandardPlural::Form result = StandardPlural::fromString(value.getUnicodeString(status), status); in put()
Dstandardplural.h70 static Form fromString(const char *keyword, UErrorCode &errorCode) { in fromString() function
80 static Form fromString(const UnicodeString &keyword, UErrorCode &errorCode) { in fromString() function
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDataDrivenNumberFormatTestData.java240 private static <T> T fromString(Map<String, T> map, String key) { in fromString() method in DataDrivenNumberFormatTestData
344 roundingMode = fromString(roundingModeMap, value); in setRoundingMode()
348 currencyUsage = fromString(currencyUsageMap, value); in setCurrencyUsage()
364 padPosition = fromString(padPositionMap, value); in setPadPosition()
400 style = fromString(formatStyleMap, value); in setStyle()
DPluralRangesTest.java51 final StandardPlural start = StandardPlural.fromString(test[1]); in TestLocaleData()
52 final StandardPlural end = StandardPlural.fromString(test[2]); in TestLocaleData()
53 final StandardPlural expected = StandardPlural.fromString(test[3]); in TestLocaleData()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DDataDrivenNumberFormatTestData.java243 private static <T> T fromString(Map<String, T> map, String key) { in fromString() method in DataDrivenNumberFormatTestData
347 roundingMode = fromString(roundingModeMap, value); in setRoundingMode()
351 currencyUsage = fromString(currencyUsageMap, value); in setCurrencyUsage()
367 padPosition = fromString(padPositionMap, value); in setPadPosition()
403 style = fromString(formatStyleMap, value); in setStyle()
DPluralRangesTest.java53 final StandardPlural start = StandardPlural.fromString(test[1]); in TestLocaleData()
54 final StandardPlural end = StandardPlural.fromString(test[2]); in TestLocaleData()
55 final StandardPlural expected = StandardPlural.fromString(test[3]); in TestLocaleData()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/range/
DStandardPluralRanges.java93 StandardPlural first = StandardPlural.fromString(value.getString()); in put()
95 StandardPlural second = StandardPlural.fromString(value.getString()); in put()
97 StandardPlural result = StandardPlural.fromString(value.getString()); in put()
/third_party/protobuf/js/binary/
Darith.js289 jspb.arith.UInt64.fromString = function(s) { function in jspb.arith.UInt64
400 jspb.arith.Int64.fromString = function(s) { function in jspb.arith.Int64
405 var num = jspb.arith.UInt64.fromString(s);
/third_party/node/test/parallel/
Dtest-url-fileurltopath.js149 const fromString = url.fileURLToPath(fileURL); constant
150 assert.strictEqual(fromString, path);
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DPluralRulesLoader.java492 StandardPlural.fromString(row[0]), in StandardPlural.fromString()
493 StandardPlural.fromString(row[1]), in StandardPlural.fromString()
494 StandardPlural.fromString(row[2])); in StandardPlural.fromString()
/third_party/typescript/tests/baselines/reference/
DAPISample_watcher.js46 return ts.ScriptSnapshot.fromString(fs.readFileSync(fileName).toString());
145 return ts.ScriptSnapshot.fromString(fs.readFileSync(fileName).toString());

1234