/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_tuple_params.py | 25 from ..fixer_util import Assign, Name, Newline, Number, Subscript, syms 161 trailer = [Subscript(Number(unicode(i)))]
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
numbers.py | 11 __all__ = ["Number", "Complex", "Real", "Rational", "Integral"] 13 class Number(object): 16 If you just want to check if an argument x is a number, without 17 caring what kind, use isinstance(x, Number). 34 class Complex(Number): 58 """Retrieve the real component of this number. 66 """Retrieve the imaginary component of this number.
|
tokenize.py | 63 Number = group(Imagnumber, Floatnumber, Intnumber) 90 PlainToken = group(Number, Funny, String, Name) 99 PseudoToken = Whitespace + group(PseudoExtras, Number, Funny, ContStr, Name) 211 if toknum in (NAME, NUMBER): 219 if toknum in (NAME, NUMBER): 247 with at least two elements, a token number and token value. If 370 (initial == '.' and token != '.'): # ordinary number 371 yield (NUMBER, token, spos, epos, line)
|
/external/chromium_org/v8/test/mjsunit/ |
json.js | 148 return (typeof value == 'number') ? 2 * value : value; 170 // JavaScript number literals not valid in JSON. 178 // Plain invalid number literals. 242 TestStringify("4", new Number(4)); 253 JSON.stringify([1, 2, 3], null, new Number(2))); 333 //The gap is capped at ten characters if specified as number. 340 assertEquals('{"x":42}', JSON.stringify({x: Number}, newx)); 398 var num37 = new Number(42); 401 var numFoo = new Number(42); 405 var numTrue = new Number(42) [all...] |
function-call.js | 85 Number.prototype.toString, 86 Number.prototype.valueOf, 87 Number.prototype.toFixed, 88 Number.prototype.toExponential, 89 Number.prototype.toPrecision,
|
/external/v8/test/mjsunit/ |
json.js | 148 return (typeof value == 'number') ? 2 * value : value; 170 // JavaScript number literals not valid in JSON. 178 // Plain invalid number literals. 237 assertEquals("4", JSON.stringify(new Number(4))); 248 JSON.stringify([1, 2, 3], null, new Number(2))); 286 //The gap is capped at ten characters if specified as number. 293 assertEquals('{"x":42}', JSON.stringify({x: Number}, newx)); 352 var num37 = new Number(42); 355 var numFoo = new Number(42); 359 var numTrue = new Number(42) [all...] |
/libcore/luni/src/main/java/libcore/icu/ |
NativeDecimalFormat.java | 286 if (!(object instanceof Number)) { 287 throw new IllegalArgumentException("object not a Number: " + object.getClass()); 289 Number number = (Number) object; local 292 if (number instanceof BigInteger || number instanceof BigDecimal) { 293 text = new String(formatDigitList(this.address, number.toString(), fpIter)); 294 } else if (number instanceof Double || number instanceof Float) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_richcmp.py | 8 class Number: 32 raise test_support.TestFailed, "Number.__cmp__() should not be called" 35 return "Number(%r)" % (self.x, ) 141 # Check that comparisons involving Number objects 146 for typea in (int, Number): 147 for typeb in (int, Number): 159 for typea in (int, Number): 160 for typeb in (int, Number):
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_richcmp.py | 8 class Number: 32 raise test_support.TestFailed, "Number.__cmp__() should not be called" 35 return "Number(%r)" % (self.x, ) 141 # Check that comparisons involving Number objects 146 for typea in (int, Number): 147 for typeb in (int, Number): 159 for typea in (int, Number): 160 for typeb in (int, Number):
|
/external/oprofile/events/x86-64/family11h/ |
events | 96 event:0xcf counters:0,1,2,3 um:zero minimum:10 name:INTERRUPTS_TAKEN : Number of taken hardware interrupts 109 event:0xdc counters:0,1,2,3 um:zero minimum:1 name:DR0_BREAKPOINTS : Number of breakpoints for DR0 110 event:0xdd counters:0,1,2,3 um:zero minimum:1 name:DR1_BREAKPOINTS : Number of breakpoints for DR1 111 event:0xde counters:0,1,2,3 um:zero minimum:1 name:DR2_BREAKPOINTS : Number of breakpoints for DR2 112 event:0xdf counters:0,1,2,3 um:zero minimum:1 name:DR3_BREAKPOINTS : Number of breakpoints for DR3
|
unit_masks | 85 0x02 Number of stale table entry hits (hit on a page closed too soon) 185 0x01 The number of locked instructions executed 186 0x02 The number of cycles spent in speculative phase 187 0x04 The number of cycles spent in non-speculative phase (including cache miss penalty) 189 0x01 Number of clocks MEMHOT_L is asserted 190 0x04 Number of times the HTC transitions from inactive to active 191 0x20 Number of clocks HTC P-state is inactive 192 0x40 Number of clocks HTC P-state is active
|
/external/oprofile/events/x86-64/hammer/ |
events | 91 event:0xcf counters:0,1,2,3 um:zero minimum:10 name:INTERRUPTS_TAKEN : Number of taken hardware interrupts 104 event:0xdc counters:0,1,2,3 um:zero minimum:1 name:DR0_BREAKPOINTS : Number of breakpoints for DR0 105 event:0xdd counters:0,1,2,3 um:zero minimum:1 name:DR1_BREAKPOINTS : Number of breakpoints for DR1 106 event:0xde counters:0,1,2,3 um:zero minimum:1 name:DR2_BREAKPOINTS : Number of breakpoints for DR2 107 event:0xdf counters:0,1,2,3 um:zero minimum:1 name:DR3_BREAKPOINTS : Number of breakpoints for DR3
|
unit_masks | 178 0x01 The number of locked instructions executed 179 0x02 The number of cycles spent in speculative phase 180 0x04 The number of cycles spent in non-speculative phase (including cache miss penalty) 182 0x01 Number of clocks CPU is active when HTC is active (RevF) 183 0x02 Number of clocks CPU clock is inactive when HTC is active (RevF) 184 0x04 Number of clocks when die temperature is higher than the software high temperature threshold (RevF) 185 0x08 Number of clocks when high temperature threshold was exceeded (RevF) 186 0x80 Number of correctable and uncorrectable DRAM ECC errors (RevE)
|
/external/chromium_org/v8/src/ |
typing.cc | 532 NarrowType(expr, Bounds(Type::Smi(), Type::Number(), isolate_)); 604 l.lower->Is(Type::Number()) && r.lower->Is(Type::Number()) ? 609 l.upper->Is(Type::Number()) && r.upper->Is(Type::Number()) ? 610 Type::Number() : 622 NarrowType(expr, Bounds(Type::Smi(), Type::Number(), isolate_));
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
Support_DecimalFormat.java | 45 Number number = new Double(10000000.76); local 48 t_FormatWithField(0, format, number, text, NumberFormat.Field.CURRENCY, 50 t_FormatWithField(1, format, number, text, NumberFormat.Field.INTEGER, 52 t_FormatWithField(2, format, number, text, 54 t_FormatWithField(3, format, number, text, 56 t_FormatWithField(4, format, number, text, NumberFormat.Field.FRACTION, 60 t_FormatWithField(5, format, number, text, NumberFormat.Field.SIGN, 0, 62 t_FormatWithField(6, format, number, text, NumberFormat.Field.EXPONENT, 64 t_FormatWithField(7, format, number, text 133 Number number = new Double(350.76); local [all...] |
/external/guava/guava-tests/test/com/google/common/base/ |
SuppliersTest.java | 52 Function<Number, Integer> intValueFunction = 53 new Function<Number, Integer>() { 55 public Integer apply(Number x) {
|
/external/javassist/src/test/test/javassist/bytecode/analysis/ |
AnalyzerTest.java | 32 verifyArrayLoad(clazz, method, "java.lang.Number"); 295 Number[] n; 390 n = new Number[1][1]; 405 n = new Number[1][1][1][1];
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/modifiers/ |
ArmatureModifier.java | 255 * a number of vertices in the model
285 int totweight = ((Number) dvert.getFieldValue("totweight")).intValue();// total amount of weights assignet to the vertex
293 Integer boneIndex = groupToBoneIndexMap.get(((Number) deformWeight.getFieldValue("def_nr")).intValue());
303 float weight = ((Number) deformWeight.getFieldValue("weight")).floatValue();
|
/external/llvm/include/llvm/CodeGen/ |
MachineBasicBlock.h | 66 int Number; 313 // order by their register number. 615 int getNumber() const { return Number; } 616 void setNumber(int N) { Number = N; }
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/pgen2/ |
tokenize.py | 67 Number = group(Imagnumber, Floatnumber, Intnumber) 94 PlainToken = group(Number, Funny, String, Name) 103 PseudoToken = Whitespace + group(PseudoExtras, Number, Funny, ContStr, Name) 216 if toknum in (NAME, NUMBER): 223 if toknum in (NAME, NUMBER): 328 with at least two elements, a token number and token value. If 444 (initial == '.' and token != '.'): # ordinary number 445 yield (NUMBER, token, spos, epos, line)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
tokenize.py | 63 Number = group(Imagnumber, Floatnumber, Intnumber) 90 PlainToken = group(Number, Funny, String, Name) 99 PseudoToken = Whitespace + group(PseudoExtras, Number, Funny, ContStr, Name) 211 if toknum in (NAME, NUMBER): 219 if toknum in (NAME, NUMBER): 247 with at least two elements, a token number and token value. If 370 (initial == '.' and token != '.'): # ordinary number 371 yield (NUMBER, token, spos, epos, line)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/pgen2/ |
tokenize.py | 67 Number = group(Imagnumber, Floatnumber, Intnumber) 94 PlainToken = group(Number, Funny, String, Name) 103 PseudoToken = Whitespace + group(PseudoExtras, Number, Funny, ContStr, Name) 216 if toknum in (NAME, NUMBER): 223 if toknum in (NAME, NUMBER): 328 with at least two elements, a token number and token value. If 444 (initial == '.' and token != '.'): # ordinary number 445 yield (NUMBER, token, spos, epos, line)
|
/external/chromium_org/chrome/browser/ui/webui/ |
downloads_ui_browsertest.js | 59 * @param {Number} A unique ID for the download. 60 * @param {Number} The time the download purportedly started.
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
V8NPUtils.cpp | 87 return v8::Number::New(NPVARIANT_TO_DOUBLE(*variant));
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/ |
V8InjectedScriptManager.cpp | 95 v8::Handle<v8::Value> args[] = { scriptHostWrapper, windowGlobal, v8::Number::New(id) };
|