/external/chromium_org/v8/src/ |
H A D | dateparser.cc | 58 output->set(YEAR, Smi::FromInt(year)); 59 output->set(MONTH, Smi::FromInt(month - 1)); // 0-based 60 output->set(DAY, Smi::FromInt(day)); 85 output->set(HOUR, Smi::FromInt(hour)); 86 output->set(MINUTE, Smi::FromInt(minute)); 87 output->set(SECOND, Smi::FromInt(second)); 88 output->set(MILLISECOND, Smi::FromInt(millisecond)); 99 output->set(UTC_OFFSET, Smi::FromInt(total_seconds));
|
H A D | scopeinfo.h | 160 void set_host_index(int index) { set(HOST_OFFSET, Smi::FromInt(index)); } 163 set(mode_offset(i), Smi::FromInt(mode)); 166 set(index_offset(i), Smi::FromInt(index));
|
H A D | factory.cc | 154 accessors->set_access_flags(Smi::FromInt(0), SKIP_WRITE_BARRIER); 710 context->set_extension(Smi::FromInt(0)); 723 context->set_extension(Smi::FromInt(0)); 830 heap->set_last_script_id(Smi::FromInt(id)); 837 script->set_id(Smi::FromInt(id)); 838 script->set_line_offset(Smi::FromInt(0)); 839 script->set_column_offset(Smi::FromInt(0)); 841 script->set_type(Smi::FromInt(Script::TYPE_NORMAL)); 845 script->set_eval_from_instructions_offset(Smi::FromInt(0)); 846 script->set_flags(Smi::FromInt( [all...] |
H A D | date.cc | 30 stamp_ = Smi::FromInt(0); 32 stamp_ = Smi::FromInt(stamp_->value() + 1); 34 ASSERT(stamp_ != Smi::FromInt(kInvalidStamp));
|
H A D | builtins.cc | 154 const Smi* kConstructMarker = Smi::FromInt(StackFrame::CONSTRUCT); 219 *zap++ = Smi::FromInt(0); 231 former_start[new_start_index + 1] = Smi::FromInt(len - to_trim); 394 return Smi::FromInt(len); 428 array->set_length(Smi::FromInt(new_length)); 429 return Smi::FromInt(new_length); 433 return Smi::FromInt(len); 475 array->set_length(Smi::FromInt(new_length)); 476 return Smi::FromInt(new_length); 506 accessor->SetLength(array, handle(Smi::FromInt(new_lengt [all...] |
H A D | liveedit.cc | 334 Handle<Object>(Smi::FromInt(char_pos1), isolate)); 337 Handle<Object>(Smi::FromInt(char_pos1 + char_len1), 341 Handle<Object>(Smi::FromInt(char_pos2 + char_len2), 787 Handle<Smi>(Smi::FromInt(context_list[i]->index()), isolate())); 884 Smi::FromInt(message_location.start_pos()), isolate); 885 Handle<Smi> end_pos(Smi::FromInt(message_location.end_pos()), isolate); 1538 SetElementSloppy(result, i, Handle<Smi>(Smi::FromInt(status), isolate)); 1592 Smi::FromInt(StackFrame::INTERNAL); 1681 Smi* padding_object = Smi::FromInt(LiveEdit::kFramePaddingValue); 1692 Smi::FromInt(padding_counte [all...] |
H A D | frames-inl.h | 191 return marker == Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR); 198 return marker == Smi::FromInt(StackFrame::CONSTRUCT);
|
H A D | liveedit.h | 256 SetField(field_position, Handle<Smi>(Smi::FromInt(value), isolate())); 348 if (array->length() != Smi::FromInt(kSize_)) return false;
|
/external/chromium_org/v8/test/cctest/ |
H A D | test-macro-assembler-x64.cc | 111 __ Move(rdx, Smi::FromInt(1)); 136 Smi* smi_from_int = Smi::FromInt(static_cast<int32_t>(number)); 171 TestMoveSmi(masm, &exit, 1, Smi::FromInt(0)); 172 TestMoveSmi(masm, &exit, 2, Smi::FromInt(127)); 173 TestMoveSmi(masm, &exit, 3, Smi::FromInt(128)); 174 TestMoveSmi(masm, &exit, 4, Smi::FromInt(255)); 175 TestMoveSmi(masm, &exit, 5, Smi::FromInt(256)); 176 TestMoveSmi(masm, &exit, 6, Smi::FromInt(Smi::kMaxValue)); 177 TestMoveSmi(masm, &exit, 7, Smi::FromInt(-1)); 178 TestMoveSmi(masm, &exit, 8, Smi::FromInt( [all...] |
H A D | test-dictionary.cc | 120 set(EntryToIndex(entry), Smi::FromInt(key)); 121 set(EntryToIndex(entry) + 1, Smi::FromInt(value)); 125 Handle<Object> key_obj(Smi::FromInt(key), GetIsolate()); 147 t->Rehash(handle(Smi::FromInt(0), isolate)); 160 t->Rehash(handle(Smi::FromInt(0), isolate));
|
H A D | test-weakmaps.cc | 105 Handle<Smi>(Smi::FromInt(23), isolate)); 159 PutIntoWeakMap(weakmap, object, Handle<Smi>(Smi::FromInt(i), isolate)); 248 Handle<Smi>(Smi::FromInt(i), isolate));
|
H A D | test-weaksets.cc | 105 Handle<Smi>(Smi::FromInt(23), isolate)); 159 PutIntoWeakSet(weakset, object, Handle<Smi>(Smi::FromInt(i), isolate)); 248 Handle<Smi>(Smi::FromInt(i), isolate));
|
H A D | test-alloc.cc | 53 heap->AllocateArgumentsObject(Smi::FromInt(87), 10).ToObjectChecked(); 90 return Smi::FromInt(42);
|
H A D | test-compiler.cc | 100 SetGlobalProperty("x", Smi::FromInt(x)); 101 SetGlobalProperty("y", Smi::FromInt(y)); 119 SetGlobalProperty("x", Smi::FromInt(x)); 138 SetGlobalProperty("n", Smi::FromInt(n)); 424 Smi* smi = Smi::FromInt(12345678);
|
/external/chromium_org/webkit/common/ |
H A D | resource_type.h | 42 static Type FromInt(int32 type) { function in class:ResourceType
|
/external/clang/lib/AST/ |
H A D | ASTDiagnostic.cpp | 482 /// FromInt, ToInt - APSInt's for integral arguments. 483 llvm::APSInt FromInt, ToInt; member in struct:__anon16913::TemplateDiff::DiffTree::DiffNode 548 /// SetNode - Set FromInt and ToInt of the current node. 549 void SetNode(llvm::APSInt FromInt, llvm::APSInt ToInt, argument 551 FlatTree[CurrentNode].FromInt = FromInt; 645 /// GetNode - Gets the FromInt and ToInt. 646 void GetNode(llvm::APSInt &FromInt, llvm::APSInt &ToInt, argument 648 FromInt = FlatTree[ReadNode].FromInt; 922 llvm::APSInt FromInt, ToInt; local 1291 llvm::APSInt FromInt, ToInt; local 1498 PrintAPSInt(llvm::APSInt FromInt, llvm::APSInt ToInt, bool IsValidFromInt, bool IsValidToInt, Expr *FromExpr, Expr *ToExpr, bool FromDefault, bool ToDefault, bool Same) argument [all...] |
/external/chromium_org/v8/src/x64/ |
H A D | full-codegen-x64.cc | 100 Handle<Smi>(Smi::FromInt(FLAG_interrupt_budget), isolate())); 251 __ Push(Smi::FromInt(num_parameters)); 328 Smi::FromInt(-delta)); 335 __ Move(kScratchRegister, Smi::FromInt(reset_value)); 817 __ Push(Smi::FromInt(attr)); 825 __ Push(Smi::FromInt(0)); // Indicates no initial value. 879 __ Push(Smi::FromInt(NONE)); 950 __ Push(Smi::FromInt(DeclareGlobalsFlags())); 1126 __ Cmp(rdx, Smi::FromInt(0)); 1137 __ Push(Smi::FromInt( [all...] |
H A D | debug-x64.cc | 82 __ Push(Smi::FromInt(LiveEdit::kFramePaddingValue)); 84 __ Push(Smi::FromInt(LiveEdit::kFramePaddingInitialSize));
|
/external/chromium_org/v8/src/arm64/ |
H A D | full-codegen-arm64.cc | 110 Handle<Smi>(Smi::FromInt(FLAG_interrupt_budget), isolate())); 257 __ Mov(x1, Smi::FromInt(num_parameters)); 336 __ Mov(x0, Smi::FromInt(0)); 343 __ Subs(x3, x3, Smi::FromInt(delta)); 355 __ Mov(x3, Smi::FromInt(reset_value)); 850 __ Mov(x1, Smi::FromInt(attr)); 914 __ Mov(x1, Smi::FromInt(NONE)); 988 if (Smi::FromInt(DeclareGlobalsFlags())) { 990 __ Mov(flags, Smi::FromInt(DeclareGlobalsFlags())); 1183 __ Mov(x1, Smi::FromInt( [all...] |
/external/chromium_org/v8/src/ia32/ |
H A D | full-codegen-ia32.cc | 100 Handle<Smi>(Smi::FromInt(FLAG_interrupt_budget), isolate())); 253 __ push(Immediate(Smi::FromInt(num_parameters))); 325 __ Move(eax, Immediate(Smi::FromInt(0))); 332 Immediate(Smi::FromInt(delta))); 340 Immediate(Smi::FromInt(reset_value))); 795 __ push(Immediate(Smi::FromInt(attr))); 803 __ push(Immediate(Smi::FromInt(0))); // Indicates no initial value. 856 __ push(Immediate(Smi::FromInt(NONE))); 927 __ Push(Smi::FromInt(DeclareGlobalsFlags())); 1094 __ cmp(edx, Immediate(Smi::FromInt( [all...] |
H A D | debug-ia32.cc | 82 __ push(Immediate(Smi::FromInt(LiveEdit::kFramePaddingValue))); 84 __ push(Immediate(Smi::FromInt(LiveEdit::kFramePaddingInitialSize)));
|
/external/chromium_org/v8/src/x87/ |
H A D | full-codegen-x87.cc | 100 Handle<Smi>(Smi::FromInt(FLAG_interrupt_budget), isolate())); 252 __ push(Immediate(Smi::FromInt(num_parameters))); 324 __ Move(eax, Immediate(Smi::FromInt(0))); 331 Immediate(Smi::FromInt(delta))); 339 Immediate(Smi::FromInt(reset_value))); 794 __ push(Immediate(Smi::FromInt(attr))); 802 __ push(Immediate(Smi::FromInt(0))); // Indicates no initial value. 854 __ push(Immediate(Smi::FromInt(NONE))); 924 __ Push(Smi::FromInt(DeclareGlobalsFlags())); 1091 __ cmp(edx, Immediate(Smi::FromInt( [all...] |
H A D | code-stubs-x87.cc | 710 __ cmp(ecx, Immediate(Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR))); 763 __ cmp(ecx, Immediate(Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR))); 794 __ cmp(ecx, Immediate(Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR))); 911 __ lea(eax, Operand(ebx, reinterpret_cast<intptr_t>(Smi::FromInt(2)))); 928 __ mov(ebx, Immediate(Smi::FromInt(Context::MIN_CONTEXT_SLOTS))); 947 __ sub(eax, Immediate(Smi::FromInt(1))); 950 __ add(ebx, Immediate(Smi::FromInt(1))); 980 __ add(ebx, Immediate(Smi::FromInt(1))); 1011 __ cmp(ecx, Immediate(Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR))); 1149 __ cmp(ebx, Immediate(Smi::FromInt(JSRegEx [all...] |
H A D | debug-x87.cc | 82 __ push(Immediate(Smi::FromInt(LiveEdit::kFramePaddingValue))); 84 __ push(Immediate(Smi::FromInt(LiveEdit::kFramePaddingInitialSize)));
|
/external/chromium_org/v8/src/arm/ |
H A D | full-codegen-arm.cc | 112 Handle<Smi>(Smi::FromInt(FLAG_interrupt_budget), isolate())); 257 __ mov(r1, Operand(Smi::FromInt(num_parameters))); 337 __ mov(r0, Operand(Smi::FromInt(0))); 344 __ sub(r3, r3, Operand(Smi::FromInt(delta)), SetCC); 356 __ mov(r3, Operand(Smi::FromInt(reset_value))); 832 __ mov(r1, Operand(Smi::FromInt(attr))); 841 __ mov(r0, Operand(Smi::FromInt(0))); // Indicates no initial value. 896 __ mov(r1, Operand(Smi::FromInt(NONE))); 970 __ mov(r0, Operand(Smi::FromInt(DeclareGlobalsFlags()))); 1148 __ cmp(r1, Operand(Smi::FromInt( [all...] |