/external/gson/gson/src/main/java/com/google/gson/ |
D | JsonPrimitive.java | 118 public boolean isNumber() { in isNumber() method in JsonPrimitive 154 } else if (isNumber()) { in getAsString() 167 return isNumber() ? getAsNumber().doubleValue() : Double.parseDouble(getAsString()); in getAsDouble() 192 return isNumber() ? getAsNumber().floatValue() : Float.parseFloat(getAsString()); in getAsFloat() 203 return isNumber() ? getAsNumber().longValue() : Long.parseLong(getAsString()); in getAsLong() 211 return isNumber() ? getAsNumber().shortValue() : Short.parseShort(getAsString()); in getAsShort() 219 return isNumber() ? getAsNumber().intValue() : Integer.parseInt(getAsString()); in getAsInt() 227 return isNumber() ? getAsNumber().byteValue() : Byte.parseByte(getAsString()); in getAsByte()
|
/external/flatbuffers/ts/flexbuffers/ |
D | reference.ts | 3 import { isNumber, isIndirectNumber, isAVector, fixedTypedVectorElementSize, isFixedTypedVector, is… 41 isNumber(): boolean { return isNumber(this.valueType) || isIndirectNumber(this.valueType); } method in Reference 43 isInt(): boolean { return this.isNumber() && !this.isFloat(); } 186 if (this.isNumber()) {
|
D | value-type-util.ts | 8 export function isNumber(value: ValueType): boolean { function
|
/external/skia/src/sksl/ir/ |
D | SkSLPrefixExpression.cpp | 166 if (baseType.isArray() || !baseType.componentType().isNumber()) { in Convert() 174 if (baseType.isArray() || !baseType.componentType().isNumber()) { in Convert() 183 if (!baseType.isNumber()) { in Convert() 241 SkASSERT(base->type().componentType().isNumber()); in Make() 247 SkASSERT(base->type().componentType().isNumber()); in Make() 256 SkASSERT(base->type().isNumber()); in Make()
|
D | SkSLPostfixExpression.cpp | 23 if (!baseType.isNumber()) { in Convert() 37 SkASSERT(base->type().isNumber()); in Make()
|
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/ |
D | CommonTokenStream.js | 145 } else if (org.antlr.lang.isNumber(types)) { 263 if (!org.antlr.lang.isNumber(marker)) { 295 if (!org.antlr.lang.isNumber(start) && !org.antlr.lang.isNumber(stop)) {
|
D | TokenRewriteStream.js | 359 if (!org.antlr.lang.isNumber(start)) { 362 if (!org.antlr.lang.isNumber(end)) { 445 if (!org.antlr.lang.isNumber(start)) { 448 if (!org.antlr.lang.isNumber(end)) {
|
D | BitSet.js | 25 } else if(org.antlr.lang.isNumber(bits)) { 116 if (org.antlr.lang.isNumber(el)) { 117 if (org.antlr.lang.isNumber(el2)) { 150 if (org.antlr.lang.isNumber(i)) {
|
/external/gson/gson/src/test/java/com/google/gson/ |
D | LongSerializationPolicyTest.java | 35 assertTrue(jsonPrimitive.isNumber()); in testDefaultLongSerialization() 62 assertFalse(jsonPrimitive.isNumber()); in testStringLongSerialization()
|
/external/autotest/frontend/client/src/autotest/tko/ |
D | SpreadsheetDataProcessor.java | 132 int row = (int) headerIndices.get(0).isNumber().doubleValue(); in processRow() 133 int column = (int) headerIndices.get(1).isNumber().doubleValue(); in processRow() 145 cellInfo.testIndex = (int) group.get("test_idx").isNumber().doubleValue(); in processRow()
|
D | SavedQueriesControl.java | 110 int id = (int) query.get("id").isNumber().doubleValue(); in fillQueryList() 196 int queryId = (int) query.get("id").isNumber().doubleValue(); in onHistoryChanged()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/ |
D | NumberNodesTest.java | 47 assertTrue(result.isNumber()); in testIntViaMapper() 128 assertTrue(result.isNumber()); in testLongViaMapper() 184 assertTrue(result.isNumber()); in testDoubleViaMapper() 251 assertTrue(n.isNumber()); in testDecimalNode() 278 assertTrue(result.isNumber()); in testDecimalNode() 329 assertTrue(n.isNumber()); in testBigIntegerNode()
|
D | NodeTestBase.java | 11 assertFalse(n.isNumber()); in assertNodeNumbersForNonNumeric()
|
D | TestJsonPointer.java | 20 assertTrue(n.isNumber()); in testIt()
|
/external/antlr/runtime/JavaScript/src/org/ |
D | antlr.js | 269 return l.isNumber(o.length) && l.isFunction(o.splice); 306 isNumber: function(o) { 482 return (l.isObject(o) || l.isString(o) || l.isNumber(o) || l.isBoolean(o));
|
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/tree/ |
D | CommonTreeNodeStream.js | 250 if (!org.antlr.lang.isNumber(marker)) { 341 if ( !org.antlr.lang.isNumber(start) || !org.antlr.lang.isNumber(stop) ) {
|
/external/rust/cxx/book/src/binding/ |
D | cxxstring.md | 45 fn isNumber(self: &Json) -> bool; 95 bool isNumber() const; 123 bool json::isNumber() const { return std::holds_alternative<number>(value); }
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | PredicatesTest.java | 561 Predicate<Object> isNumber = Predicates.instanceOf(Number.class); in testIsInstanceOf_subclass() local 563 assertTrue(isNumber.apply(1)); in testIsInstanceOf_subclass() 564 assertTrue(isNumber.apply(2.0f)); in testIsInstanceOf_subclass() 565 assertFalse(isNumber.apply("")); in testIsInstanceOf_subclass() 566 assertFalse(isNumber.apply(null)); in testIsInstanceOf_subclass() 610 Predicate<Class<?>> isNumber = Predicates.subtypeOf(Number.class); in testSubtypeOf_subclass() local 612 assertTrue(isNumber.apply(Integer.class)); in testSubtypeOf_subclass() 613 assertTrue(isNumber.apply(Float.class)); in testSubtypeOf_subclass()
|
/external/guava/android/guava-tests/test/com/google/common/base/ |
D | PredicatesTest.java | 561 Predicate<Object> isNumber = Predicates.instanceOf(Number.class); in testIsInstanceOf_subclass() local 563 assertTrue(isNumber.apply(1)); in testIsInstanceOf_subclass() 564 assertTrue(isNumber.apply(2.0f)); in testIsInstanceOf_subclass() 565 assertFalse(isNumber.apply("")); in testIsInstanceOf_subclass() 566 assertFalse(isNumber.apply(null)); in testIsInstanceOf_subclass() 610 Predicate<Class<?>> isNumber = Predicates.subtypeOf(Number.class); in testSubtypeOf_subclass() local 612 assertTrue(isNumber.apply(Integer.class)); in testSubtypeOf_subclass() 613 assertTrue(isNumber.apply(Float.class)); in testSubtypeOf_subclass()
|
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/time/ |
D | FastDateParser.java | 201 if (!strategy.isNumber() || !lt.hasNext()) { in getMaxWidth() 206 return nextStrategy.isNumber() ? width : 0; in getMaxWidth() 524 boolean isNumber() { in isNumber() method in FastDateParser.Strategy 553 boolean isNumber() { in isNumber() method in FastDateParser.PatternStrategy 693 boolean isNumber() { in isNumber() method in FastDateParser.CopyQuotedStrategy 803 boolean isNumber() { in isNumber() method in FastDateParser.NumberStrategy
|
/external/autotest/frontend/client/src/autotest/afe/create/ |
D | CreateJobViewPresenter.java | 216 Double priorityValue = jobObject.get("priority").isNumber().getValue(); in cloneJob() 217 Double maxPriority = staticData.getData("max_schedulable_priority").isNumber().getValue(); in cloneJob() 269 (int) metaHostCounts.get(label).isNumber().doubleValue()); in cloneJob() 278 double maxPriority = maxSchedulableValue.isNumber().getValue(); in populatePriorities() 282 double priorityValue = priorityData.get(0).isNumber().getValue(); in populatePriorities() 453 maxRetries = (int) Math.max(maxRetries, test.get("test_retry").isNumber().getValue()); in getMaximumRetriesCount() 816 int id = (int) result.isNumber().doubleValue(); in submitJob()
|
/external/autotest/frontend/client/src/autotest/common/ |
D | StatusSummary.java | 34 return (int) group.get(field).isNumber().doubleValue(); in getField()
|
D | StaticDataRepository.java | 53 Double priority_value = priorityData.get(0).isNumber().getValue(); in populatePriorities()
|
/external/autotest/frontend/client/src/autotest/common/table/ |
D | DynamicTableSelectionManager.java | 79 JSONNumber id = object.get("id").isNumber(); in selectedIdList()
|
/external/autotest/frontend/client/src/autotest/afe/ |
D | JobTable.java | 63 Double priorityValue = row.get("priority").isNumber().getValue(); in preprocessRow()
|