/third_party/jerryscript/tests/jerry/ |
D | global-parseint.js | 15 assert(parseInt("123") === 123); 16 assert(parseInt("+123") === 123); 17 assert(parseInt("-123") === -123); 18 assert(parseInt("0123") === 123); 19 assert(parseInt(" 123") === 123); 20 assert(parseInt(" \n 123") === 123); 21 assert(parseInt(" \n 123 \t") === 123); 22 assert(parseInt("0x123") === 291); 23 assert(parseInt("0X123") === 291); 24 assert(parseInt("123", 4) === 27); [all …]
|
D | regression-test-issue-265.js | 15 parseInt(NaN,RegExp("54")); 18 parseInt(ArrayBuffer()); 26 RangeError(parseInt(Infinity,readbuffer()));
|
/third_party/typescript/tests/baselines/reference/ |
D | externFunc.symbols | 2 declare function parseInt(s:string):number; 3 >parseInt : Symbol(parseInt, Decl(lib.es5.d.ts, --, --), Decl(externFunc.ts, 0, 0)) 6 parseInt("2"); 7 >parseInt : Symbol(parseInt, Decl(lib.es5.d.ts, --, --), Decl(externFunc.ts, 0, 0))
|
D | externFunc.types | 2 declare function parseInt(s:string):number; 3 >parseInt : { (s: string, radix?: number): number; (s: string): number; } 6 parseInt("2"); 7 >parseInt("2") : number 8 >parseInt : { (s: string, radix?: number): number; (s: string): number; }
|
D | externFunc.js | 2 declare function parseInt(s:string):number; 4 parseInt("2"); 8 parseInt("2");
|
/third_party/flutter/skia/modules/canvaskit/htmlcanvas/ |
D | color.js | 48 a = parseInt(colorStr.slice(7, 9), 16); 50 r = parseInt(colorStr.slice(1, 3), 16); 51 g = parseInt(colorStr.slice(3, 5), 16); 52 b = parseInt(colorStr.slice(5, 7), 16); 58 a = parseInt(colorStr.slice(4, 5), 16) * 17; 60 r = parseInt(colorStr.slice(1, 2), 16) * 17; 61 g = parseInt(colorStr.slice(2, 3), 16) * 17; 62 b = parseInt(colorStr.slice(3, 4), 16) * 17;
|
/third_party/jerryscript/tests/jerry/es2015/ |
D | number-methods.js | 15 assert (Number.parseInt ('18528769') === 18528769); 17 assert (parseInt ('18528769') === 18528769); 20 assert(Number.parseInt === parseInt);
|
D | octal-literal.js | 40 assert (0o767 === parseInt ("767", 8)); 45 assert (0O767 === parseInt ("767", 8));
|
D | binary-literal.js | 45 assert(0b1101001 === parseInt ("1101001", 2)); 52 assert(0B1101001 === parseInt ("1101001", 2));
|
/third_party/skia/modules/canvaskit/ |
D | color.js | 96 a = parseInt(colorStr.slice(7, 9), 16); 98 r = parseInt(colorStr.slice(1, 3), 16); 99 g = parseInt(colorStr.slice(3, 5), 16); 100 b = parseInt(colorStr.slice(5, 7), 16); 106 a = parseInt(colorStr.slice(4, 5), 16) * 17; 108 r = parseInt(colorStr.slice(1, 2), 16) * 17; 109 g = parseInt(colorStr.slice(2, 3), 16) * 17; 110 b = parseInt(colorStr.slice(3, 4), 16) * 17;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | VersionTuple.cpp | 38 static bool parseInt(StringRef &input, unsigned &value) { in parseInt() function 64 if (parseInt(input, major)) in tryParse() 76 if (parseInt(input, minor)) in tryParse() 88 if (parseInt(input, micro)) in tryParse() 100 if (parseInt(input, build)) in tryParse()
|
/third_party/node/test/fixtures/workload/ |
D | bounded.js | 3 const total = parseInt(process.env.TEST_ALLOCATION) || 5000; 4 const chunk = parseInt(process.env.TEST_CHUNK) || 1000; 5 const cleanInterval = parseInt(process.env.TEST_CLEAN_INTERVAL) || 100;
|
D | grow-worker.js | 5 const max_snapshots = parseInt(process.env.TEST_SNAPSHOTS) || 1; 12 parseInt(process.env.TEST_OLD_SPACE_SIZE) || 20
|
/third_party/qrcodegen/typescript-javascript/ |
D | qrcodegen-input-demo.ts | 81 const minVer: number = parseInt(getInput("version-min-input").value, 10); 82 const maxVer: number = parseInt(getInput("version-max-input").value, 10); 83 const mask: number = parseInt(getInput("mask-input").value, 10); 88 const border: number = parseInt(getInput("border-input").value, 10); 94 const scale: number = parseInt(getInput("scale-input").value, 10); 200 let minVal: number = parseInt(minElem.value, 10); 201 let maxVal: number = parseInt(maxElem.value, 10);
|
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ |
D | IcuFunctions.java | 6 import static java.lang.Integer.parseInt; 96 exponent += Integer.parseInt(args.get(1)); 136 parseInt(m.group(1)), parseInt(m.group(2)), parseInt(m.group(3)));
|
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-fulltext-search/mount-origin/ |
D | lws-fts.js | 52 sr.style.width = (parseInt(sr.parentNode.offsetWidth, 10) - 88) + "px"; 112 ac.style.width = (parseInt(sb.offsetWidth, 10) - 2) + "px"; 134 switch(parseInt(jj.indexed, 10)) { 145 if (jj.ac[n] && parseInt(jj.ac[n].matches, 10)) 150 parseInt(jj.ac[n].matches, 10) +
|
/third_party/node/test/parallel/ |
D | test-http-full-response.js | 53 const documentLength = parseInt(m[1]); 56 const completeRequests = parseInt(m[1]); 59 const htmlTransferred = parseInt(m[1]);
|
/third_party/node/deps/npm/node_modules/isexe/ |
D | mode.js | 30 var u = parseInt('100', 8) 31 var g = parseInt('010', 8) 32 var o = parseInt('001', 8)
|
/third_party/node/deps/npm/node_modules/umask/ |
D | index.js | 27 data[k] = parseInt(val, 8); 38 val = parseInt(val, 8); 41 val = parseInt(val, 10);
|
/third_party/node/deps/npm/node_modules/request/lib/ |
D | helpers.js | 53 major: parseInt(numbers[0], 10), 54 minor: parseInt(numbers[1], 10), 55 patch: parseInt(numbers[2], 10)
|
/third_party/typescript/tests/cases/compiler/ |
D | externFunc.ts | 1 declare function parseInt(s:string):number; function 3 parseInt("2");
|
/third_party/mindspore/mindspore/lite/examples/train_lenet_java/src/main/java/com/mindspore/lite/train_lenet/ |
D | DataSet.java | 76 int inumber = Integer.parseInt(bytesToHex(bytes), 16); in readMNISTFile() 84 int lnumber = Integer.parseInt(bytesToHex(bytes), 16); in readMNISTFile() 96 int n_rows = Integer.parseInt(bytesToHex(bytes), 16); in readMNISTFile() 98 int n_cols = Integer.parseInt(bytesToHex(bytes), 16); in readMNISTFile()
|
/third_party/node/deps/npm/node_modules/sshpk/lib/formats/ |
D | x509.js | 390 var year = parseInt(m[1], 10); 395 d.setUTCFullYear(year, parseInt(m[2], 10) - 1, parseInt(m[3], 10)); 396 d.setUTCHours(parseInt(m[4], 10), parseInt(m[5], 10)); 398 d.setUTCSeconds(parseInt(m[6], 10)); 409 d.setUTCFullYear(parseInt(m[1], 10), parseInt(m[2], 10) - 1, 410 parseInt(m[3], 10)); 411 d.setUTCHours(parseInt(m[4], 10), parseInt(m[5], 10)); 413 d.setUTCSeconds(parseInt(m[6], 10));
|
/third_party/typescript/src/compiler/ |
D | semver.ts | 115 major: parseInt(major, 10), 116 minor: parseInt(minor, 10), 117 patch: parseInt(patch, 10), 261 isWildcard(major) ? 0 : parseInt(major, 10), 262 isWildcard(major) || isWildcard(minor) ? 0 : parseInt(minor, 10), 263 isWildcard(major) || isWildcard(minor) || isWildcard(patch) ? 0 : parseInt(patch, 10),
|
/third_party/node/test/fixtures/ |
D | GH-892-request.js | 28 var PORT = parseInt(process.argv[2]); 29 var bytesExpected = parseInt(process.argv[3]);
|