/external/chromium_org/v8/src/ |
dateparser.cc | 81 output->set(YEAR, Smi::FromInt(year)); 82 output->set(MONTH, Smi::FromInt(month - 1)); // 0-based 83 output->set(DAY, Smi::FromInt(day)); 108 output->set(HOUR, Smi::FromInt(hour)); 109 output->set(MINUTE, Smi::FromInt(minute)); 110 output->set(SECOND, Smi::FromInt(second)); 111 output->set(MILLISECOND, Smi::FromInt(millisecond)); 122 output->set(UTC_OFFSET, Smi::FromInt(total_seconds));
|
scopeinfo.h | 183 void set_host_index(int index) { set(HOST_OFFSET, Smi::FromInt(index)); } 186 set(mode_offset(i), Smi::FromInt(mode)); 189 set(index_offset(i), Smi::FromInt(index));
|
date.cc | 53 stamp_ = Smi::FromInt(stamp_->value() + 1); 55 stamp_ = Smi::FromInt(0); 57 ASSERT(stamp_ != Smi::FromInt(kInvalidStamp));
|
accessors.cc | 81 return holder == NULL ? Smi::FromInt(0) : holder->length(); 148 if (value->IsString()) return Smi::FromInt(String::cast(value)->length()); 151 return Smi::FromInt(0); 295 return Smi::FromInt(Script::cast(script)->compilation_type()); 399 return Smi::FromInt(code->SourcePosition(code->instruction_start() + 529 if (function == NULL) return Smi::FromInt(0); 532 return Smi::FromInt(function->shared()->length()); 539 return Smi::FromInt(handle->shared()->length()); 848 info->set_data(Smi::FromInt(index));
|
transitions.cc | 53 array->set(kPrototypeTransitionsIndex, Smi::FromInt(0));
|
/external/v8/src/ |
dateparser.cc | 81 output->set(YEAR, Smi::FromInt(year)); 82 output->set(MONTH, Smi::FromInt(month - 1)); // 0-based 83 output->set(DAY, Smi::FromInt(day)); 108 output->set(HOUR, Smi::FromInt(hour)); 109 output->set(MINUTE, Smi::FromInt(minute)); 110 output->set(SECOND, Smi::FromInt(second)); 111 output->set(MILLISECOND, Smi::FromInt(millisecond)); 121 output->set(UTC_OFFSET, Smi::FromInt(total_seconds));
|
accessors.cc | 86 if (!found_it) return Smi::FromInt(0); 154 if (value->IsString()) return Smi::FromInt(String::cast(value)->length()); 157 return Smi::FromInt(0); 405 return Smi::FromInt(code->SourcePosition(code->instruction_start() + 514 if (!found_it) return Smi::FromInt(0); 524 return Smi::FromInt(handle->shared()->length()); 526 return Smi::FromInt(function->shared()->length());
|
date.cc | 53 stamp_ = Smi::FromInt(stamp_->value() + 1); 55 stamp_ = Smi::FromInt(0); 57 ASSERT(stamp_ != Smi::FromInt(kInvalidStamp));
|
property.h | 79 Descriptor() : details_(Smi::FromInt(0)) {} 140 : Descriptor(key, Smi::FromInt(field_index), attributes, FIELD, index) {} 313 return Smi::FromInt(0);
|
bootstrapper.h | 77 Script::cast(shared->script())->set_type(Smi::FromInt(type_));
|
/external/chromium_org/v8/test/cctest/ |
test-macro-assembler-x64.cc | 107 __ Move(rdx, Smi::FromInt(1)); 132 Smi* smi_from_int = Smi::FromInt(static_cast<int32_t>(number)); 144 __ Move(rcx, Smi::FromInt(0)); 145 __ Set(rdx, reinterpret_cast<intptr_t>(Smi::FromInt(0))); 168 TestMoveSmi(masm, &exit, 1, Smi::FromInt(0)); 169 TestMoveSmi(masm, &exit, 2, Smi::FromInt(127)); 170 TestMoveSmi(masm, &exit, 3, Smi::FromInt(128)); 171 TestMoveSmi(masm, &exit, 4, Smi::FromInt(255)); 172 TestMoveSmi(masm, &exit, 5, Smi::FromInt(256)); 173 TestMoveSmi(masm, &exit, 6, Smi::FromInt(Smi::kMaxValue)) [all...] |
test-weakmaps.cc | 52 weakmap->set_next(Smi::FromInt(0)); 101 Handle<Smi>(Smi::FromInt(23), isolate)); 154 PutIntoWeakMap(weakmap, object, Handle<Smi>(Smi::FromInt(i), isolate)); 241 Handle<Smi>(Smi::FromInt(i), isolate));
|
test-weaksets.cc | 52 weakset->set_next(Smi::FromInt(0)); 101 Handle<Smi>(Smi::FromInt(23), isolate)); 154 PutIntoWeakSet(weakset, object, Handle<Smi>(Smi::FromInt(i), isolate)); 241 Handle<Smi>(Smi::FromInt(i), isolate));
|
test-compiler.cc | 146 SetGlobalProperty("x", Smi::FromInt(x)); 147 SetGlobalProperty("y", Smi::FromInt(y)); 167 SetGlobalProperty("x", Smi::FromInt(x)); 188 SetGlobalProperty("n", Smi::FromInt(n)); 403 Smi* smi = Smi::FromInt(12345678);
|
test-heap.cc | 94 *Execution::ToString(Handle<Object>(Smi::FromInt(value), isolate), &exc); 236 CHECK(Smi::FromInt(42)->IsSmi()); 243 CHECK(Smi::FromInt(Smi::kMinValue)->IsSmi()); 244 CHECK(Smi::FromInt(Smi::kMaxValue)->IsSmi()); 276 *prop_name, Smi::FromInt(23), NONE, kNonStrictMode)->ToObjectChecked(); 278 *prop_namex, Smi::FromInt(24), NONE, kNonStrictMode)->ToObjectChecked(); 280 CHECK_EQ(Smi::FromInt(23), obj->GetProperty(*prop_name)); 281 CHECK_EQ(Smi::FromInt(24), obj->GetProperty(*prop_namex)); 302 *prop_name, Smi::FromInt(23), NONE, kNonStrictMode)->ToObjectChecked(); 315 CHECK_EQ(Smi::FromInt(23), js_obj->GetProperty(*prop_name)) [all...] |
/external/v8/test/cctest/ |
test-macro-assembler-x64.cc | 107 __ Move(rdx, Smi::FromInt(1)); 132 Smi* smi_from_int = Smi::FromInt(static_cast<int32_t>(number)); 144 __ Move(rcx, Smi::FromInt(0)); 145 __ Set(rdx, reinterpret_cast<intptr_t>(Smi::FromInt(0))); 169 TestMoveSmi(masm, &exit, 1, Smi::FromInt(0)); 170 TestMoveSmi(masm, &exit, 2, Smi::FromInt(127)); 171 TestMoveSmi(masm, &exit, 3, Smi::FromInt(128)); 172 TestMoveSmi(masm, &exit, 4, Smi::FromInt(255)); 173 TestMoveSmi(masm, &exit, 5, Smi::FromInt(256)); 174 TestMoveSmi(masm, &exit, 6, Smi::FromInt(Smi::kMaxValue)) [all...] |
test-heap.cc | 55 *Execution::ToString(Handle<Object>(Smi::FromInt(value)), &exc); 184 CHECK(Smi::FromInt(42)->IsSmi()); 191 CHECK(Smi::FromInt(Smi::kMinValue)->IsSmi()); 192 CHECK(Smi::FromInt(Smi::kMaxValue)->IsSmi()); 221 *prop_name, Smi::FromInt(23), NONE, kNonStrictMode)->ToObjectChecked(); 223 *prop_namex, Smi::FromInt(24), NONE, kNonStrictMode)->ToObjectChecked(); 225 CHECK_EQ(Smi::FromInt(23), obj->GetProperty(*prop_name)); 226 CHECK_EQ(Smi::FromInt(24), obj->GetProperty(*prop_namex)); 246 *prop_name, Smi::FromInt(23), NONE, kNonStrictMode)->ToObjectChecked(); 258 CHECK_EQ(Smi::FromInt(23), js_obj->GetProperty(*prop_name)) [all...] |
test-weakmaps.cc | 45 weakmap->set_next(Smi::FromInt(0)); 55 Handle<Smi>(Smi::FromInt(value)));
|
test-compiler.cc | 159 SetGlobalProperty("x", Smi::FromInt(x)); 160 SetGlobalProperty("y", Smi::FromInt(y)); 180 SetGlobalProperty("x", Smi::FromInt(x)); 201 SetGlobalProperty("n", Smi::FromInt(n));
|
/external/chromium/webkit/glue/ |
resource_type.h | 35 static Type FromInt(int32 type) {
|
/external/chromium_org/webkit/common/ |
resource_type.h | 40 static Type FromInt(int32 type) {
|
/external/clang/lib/AST/ |
ASTDiagnostic.cpp | 452 /// FromInt, ToInt - APSInt's for integral arguments. 453 llvm::APSInt FromInt, ToInt; 517 /// SetNode - Set FromInt and ToInt of the current node. 518 void SetNode(llvm::APSInt FromInt, llvm::APSInt ToInt, 520 FlatTree[CurrentNode].FromInt = FromInt; 614 /// GetNode - Gets the FromInt and ToInt. 615 void GetNode(llvm::APSInt &FromInt, llvm::APSInt &ToInt, 617 FromInt = FlatTree[ReadNode].FromInt; [all...] |
/external/chromium_org/v8/src/ia32/ |
full-codegen-ia32.cc | 123 Handle<Smi>(Smi::FromInt(FLAG_interrupt_budget), isolate())); 240 __ push(Immediate(Smi::FromInt(num_parameters))); 313 __ Set(eax, Immediate(Smi::FromInt(0))); 320 Immediate(Smi::FromInt(delta))); 332 Immediate(Smi::FromInt(reset_value))); 800 __ push(Immediate(Smi::FromInt(attr))); 808 __ push(Immediate(Smi::FromInt(0))); // Indicates no initial value. 861 __ push(Immediate(Smi::FromInt(NONE))); 932 __ Push(Smi::FromInt(DeclareGlobalsFlags())); [all...] |
/external/chromium_org/v8/src/x64/ |
full-codegen-x64.cc | 122 Handle<Smi>(Smi::FromInt(FLAG_interrupt_budget), isolate())); 234 __ Push(Smi::FromInt(num_parameters)); 312 Smi::FromInt(-delta)); 324 reinterpret_cast<uint64_t>(Smi::FromInt(reset_value)), 809 __ Push(Smi::FromInt(attr)); 817 __ Push(Smi::FromInt(0)); // Indicates no initial value. 871 __ Push(Smi::FromInt(NONE)); 942 __ Push(Smi::FromInt(DeclareGlobalsFlags())); [all...] |
/external/v8/src/x64/ |
full-codegen-x64.cc | 137 Smi::FromInt(Compiler::kCallsUntilPrimitiveOpt)); 143 Smi::FromInt(-1)); 250 __ Push(Smi::FromInt(num_parameters)); 779 __ Push(Smi::FromInt(attr)); 789 __ Push(Smi::FromInt(0)); // Indicates no initial value. 802 __ Push(Smi::FromInt(DeclareGlobalsFlags())); [all...] |