Home
last modified time | relevance | path

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

12345

/third_party/node/deps/npm/node_modules/umask/test/
Dsimple.js83 expect(umask.fromString("0000")).to.equal(0);
84 expect(umask.fromString("0")).to.equal(0);
85 expect(umask.fromString("0777")).to.equal(511);
86 expect(umask.fromString("0024")).to.equal(20);
88 expect(umask.fromString(0)).to.equal(0);
89 expect(umask.fromString(20)).to.equal(20);
90 expect(umask.fromString(21)).to.equal(21);
91 expect(umask.fromString(511)).to.equal(511);
97 expect(umask.fromString("0000")).to.equal(0);
98 expect(umask.fromString("0")).to.equal(0);
[all …]
/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] || "");
102 return text ? ScriptSnapshot.fromString(text) : undefined;
/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/boost/libs/outcome/doc/src/content/tutorial/essential/result/
Dtry.md11 BOOST_OUTCOME_TRY (i, BigInt::fromString(text));
19 auto&& __result = BigInt::fromString(text);
30 auto&& __result = BigInt::fromString(text);
58 int i = BOOST_OUTCOME_TRYX (BigInt::fromString(text));
64 if (int i = BOOST_OUTCOME_TRYX(BigInt::fromString(text)))
71 int ans = BOOST_OUTCOME_TRYX(BigInt::fromString("1")) + BOOST_OUTCOME_TRYX(BigInt::fromString("2"));
Dinspecting.md28fromString` returned failure, this same error information should be returned from `print_half`, ev…
/third_party/node/deps/npm/node_modules/umask/
DREADME.md14 console.log(umask.fromString('0777')) // 511
24 ### `fromString( val, [cb] )`
36 `fromString` can be used as a simple converter, with no error feedback, by
40 var mask = umask.fromString(val);
50 umask.fromString(val, function (err, val) {
67 The `validate` function is stricter than `fromString`: it only accepts
Dindex.js63 function fromString(val, cb) { function
75 exports.fromString = fromString;
/third_party/node/deps/npm/node_modules/sorted-union-stream/node_modules/from2/
Dtest.js10 function fromString(string) { function
21 var stream = fromString(contents)
34 var stream = fromString(contents)
/third_party/node/deps/npm/lib/utils/
Dumask.js3 var _fromString = umask.fromString
8 umask.fromString = function (val) { function
/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/node/deps/npm/node_modules/from2/
Dtest.js10 function fromString(string) { function
21 var stream = fromString(contents)
34 var stream = fromString(contents)
/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/node/deps/npm/node_modules/buffer-from/
Dindex.js37 function fromString (string, encoding) { function
61 return fromString(value, encodingOrOffset)
/third_party/icu/icu4c/source/i18n/
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
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()
/third_party/skia/third_party/externals/icu/source/i18n/
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
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()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dstandardplural.h68 static Form fromString(const char *keyword, UErrorCode &errorCode) { in fromString() function
78 static Form fromString(const UnicodeString &keyword, UErrorCode &errorCode) { in fromString() function
/third_party/node/deps/icu-small/source/i18n/
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
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()
/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()

12345