Home
last modified time | relevance | path

Searched refs:isNumber (Results 1 – 25 of 68) sorted by relevance

123

/external/skia/src/sksl/ir/
DSkSLPrefixExpression.cpp137 if (!baseType.componentType().isNumber()) { in Convert()
145 if (!baseType.componentType().isNumber()) { in Convert()
154 if (!baseType.isNumber()) { in Convert()
206 SkASSERT(base->type().componentType().isNumber()); in Make()
210 SkASSERT(base->type().componentType().isNumber()); in Make()
219 SkASSERT(base->type().isNumber()); in Make()
DSkSLPostfixExpression.cpp19 if (!baseType.isNumber()) { in Convert()
34 SkASSERT(base->type().isNumber()); in Make()
DSkSLType.cpp37 if (this->isNumber() && other.isNumber()) { in coercionCost()
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/
DCommonTokenStream.js145 } 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)) {
DTokenRewriteStream.js359 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)) {
DBitSet.js25 } 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)) {
DANTLRStringStream.js189 if (!org.antlr.lang.isNumber(m)) {
/external/adhd/scripts/mic_testing/frontend/
Daudio.js144 function isNumber(value, msg) { function
155 isNumber(freqStart, "Start frequency should be a positive number.");
156 isNumber(freqEnd, "Stop frequency should be a positive number.");
157 isNumber(duration, "Duration should be a positive number.");
/external/autotest/frontend/client/src/autotest/tko/
DSpreadsheetDataProcessor.java132 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()
DSavedQueriesControl.java110 int id = (int) query.get("id").isNumber().doubleValue(); in fillQueryList()
196 int queryId = (int) query.get("id").isNumber().doubleValue(); in onHistoryChanged()
/external/antlr/runtime/JavaScript/src/org/
Dantlr.js269 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/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/
DNumberNodesTest.java47 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()
DNodeTestBase.java11 assertFalse(n.isNumber()); in assertNodeNumbersForNonNumeric()
DTestJsonPointer.java20 assertTrue(n.isNumber()); in testIt()
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/tree/
DCommonTreeNodeStream.js250 if (!org.antlr.lang.isNumber(marker)) {
341 if ( !org.antlr.lang.isNumber(start) || !org.antlr.lang.isNumber(stop) ) {
/external/rust/cxx/book/src/binding/
Dcxxstring.md45 fn isNumber(self: &Json) -> bool;
94 bool isNumber() const;
122 bool json::isNumber() const { return std::holds_alternative<number>(value); }
/external/guava/guava-tests/test/com/google/common/base/
DPredicatesTest.java561 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/
DPredicatesTest.java561 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/skia/src/sksl/dsl/
DDSLType.cpp22 bool DSLType::isNumber() const { in isNumber() function in SkSL::dsl::DSLType
23 return this->skslType().isNumber(); in isNumber()
/external/autotest/frontend/client/src/autotest/common/
DStatusSummary.java34 return (int) group.get(field).isNumber().doubleValue(); in getField()
DStaticDataRepository.java53 Double priority_value = priorityData.get(0).isNumber().getValue(); in populatePriorities()
/external/autotest/frontend/client/src/autotest/afe/create/
DCreateJobViewPresenter.java216 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/afe/
DJobTable.java63 Double priorityValue = row.get("priority").isNumber().getValue(); in preprocessRow()
/external/autotest/frontend/client/src/autotest/common/table/
DDynamicTableSelectionManager.java79 JSONNumber id = object.get("id").isNumber(); in selectedIdList()
DRpcDataSource.java66 int count = (int) result.isNumber().doubleValue(); in getTotalResultCount()

123