Home
last modified time | relevance | path

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

12

/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)) {
DCommonToken.js9 if (org.antlr.lang.isNumber(arguments[0])) {
DBaseRecognizer.js250 if (!org.antlr.lang.isNumber(e.line)) {
848 if ( !org.antlr.lang.isNumber(stopIndexI) ) {
/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/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/guava/guava-tests/test/com/google/common/base/
DPredicatesTest.java565 Predicate<Object> isNumber = Predicates.instanceOf(Number.class); in testIsInstanceOf_subclass() local
567 assertTrue(isNumber.apply(1)); in testIsInstanceOf_subclass()
568 assertTrue(isNumber.apply(2.0f)); in testIsInstanceOf_subclass()
569 assertFalse(isNumber.apply("")); in testIsInstanceOf_subclass()
570 assertFalse(isNumber.apply(null)); in testIsInstanceOf_subclass()
614 Predicate<Class<?>> isNumber = Predicates.assignableFrom(Number.class); in testIsAssignableFrom_subclass() local
616 assertTrue(isNumber.apply(Integer.class)); in testIsAssignableFrom_subclass()
617 assertTrue(isNumber.apply(Float.class)); in testIsAssignableFrom_subclass()
/external/skia/src/sksl/ir/
DSkSLType.cpp39 if (this->isNumber() && other.isNumber() && other.priority() > this->priority()) { in coercionCost()
/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/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/
DJobTable.java63 Double priorityValue = row.get("priority").isNumber().getValue(); in preprocessRow()
DAfeUtils.java44 int count = (int) counts.get(status).isNumber().doubleValue(); in formatStatusCounts()
114 int synchCount = (int) job.get("synch_count").isNumber().doubleValue(); in abortHostQueueEntries()
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DJSON.cpp239 static bool isNumber(char C) { in isNumber() function in llvm::json::__anon4fb553f90111::Parser
332 if (isNumber(C)) in parseValue()
342 while (isNumber(peek())) in parseNumber()
/external/skia/src/sksl/
DSkSLIRGenerator.cpp1721 SkASSERT(type.isNumber()); in convertNumberConstructor()
1754 if (!args[0]->fType.isNumber()) { in convertNumberConstructor()
1787 type.componentType().isNumber() != args[0]->fType.componentType().isNumber()) { in convertCompoundConstructor()
1790 if (type.componentType().isNumber() != in convertCompoundConstructor()
1791 args[i]->fType.componentType().isNumber()) { in convertCompoundConstructor()
1832 if (type.isNumber()) { in convertConstructor()
1859 if (!base->fType.isNumber() && base->fType.kind() != Type::kVector_Kind && in convertPrefixExpression()
1876 if (!base->fType.isNumber() && base->fType.kind() != Type::kVector_Kind) { in convertPrefixExpression()
1883 if (!base->fType.isNumber()) { in convertPrefixExpression()
1892 if (!base->fType.isNumber()) { in convertPrefixExpression()
[all …]
/external/skqp/src/sksl/
DSkSLIRGenerator.cpp1672 SkASSERT(type.isNumber()); in convertNumberConstructor()
1705 if (!args[0]->fType.isNumber()) { in convertNumberConstructor()
1738 type.componentType().isNumber() != args[0]->fType.componentType().isNumber()) { in convertCompoundConstructor()
1741 if (type.componentType().isNumber() != in convertCompoundConstructor()
1742 args[i]->fType.componentType().isNumber()) { in convertCompoundConstructor()
1783 if (type.isNumber()) { in convertConstructor()
1810 if (!base->fType.isNumber() && base->fType.kind() != Type::kVector_Kind) { in convertPrefixExpression()
1817 if (!base->fType.isNumber() && base->fType.kind() != Type::kVector_Kind) { in convertPrefixExpression()
1833 if (!base->fType.isNumber()) { in convertPrefixExpression()
1842 if (!base->fType.isNumber()) { in convertPrefixExpression()
[all …]
/external/autotest/frontend/client/src/autotest/tko/embedded_spreadsheet/
DEmbeddedSpreadsheetPresenter.java75 if (result.isNumber().doubleValue() != 0) { in initialize()
/external/skqp/src/sksl/ir/
DSkSLType.cpp29 if (this->isNumber() && other.isFloat()) { in coercionCost()

12