/external/v8/test/cctest/compiler/ |
test-code-stub-assembler.cc | 33 Handle<Code> code = m.GenerateCode(); 36 CHECK_EQ(37, Handle<Smi>::cast(result.ToHandleChecked())->value()); 46 Handle<Code> code = m.GenerateCode(); 59 Handle<Code> code = m.GenerateCode(); 62 CHECK_EQ(0.5, Handle<HeapNumber>::cast(result.ToHandleChecked())->value()); 70 Node* context = m.HeapConstant(Handle<Context>(isolate->native_context())); 73 Handle<Code> code = m.GenerateCode(); 76 CHECK_EQ(16, Handle<Smi>::cast(result.ToHandleChecked())->value()); 84 Node* context = m.HeapConstant(Handle<Context>(isolate->native_context())); 87 Handle<Code> code = m.GenerateCode() [all...] |
test-linkage.cc | 28 static Handle<JSFunction> Compile(const char* source) { 30 Handle<String> source_code = isolate->factory() 33 Handle<SharedFunctionInfo> shared_function = Compiler::CompileScript( 34 source_code, Handle<String>(), 0, 0, v8::ScriptOriginOptions(), 35 Handle<Object>(), Handle<Context>(isolate->native_context()), NULL, NULL, 44 Handle<JSFunction> function = Compile("a + b"); 58 Handle<JSFunction> function = 59 Handle<JSFunction>::cast(v8::Utils::OpenHandle( 90 Handle<JSFunction> function = Compile("a + c") [all...] |
/external/v8/src/runtime/ |
runtime-liveedit.cc | 28 Handle<Script> script = Handle<Script>(Script::cast(script_value->value())); 30 List<Handle<SharedFunctionInfo> > found; 39 found.Add(Handle<SharedFunctionInfo>(shared)); 43 Handle<FixedArray> result = isolate->factory()->NewFixedArray(found.length()); 45 Handle<SharedFunctionInfo> shared = found[i]; 47 Handle<String> name(String::cast(shared->name())); 71 Handle<Script> script_handle = Handle<Script>(Script::cast(script->value())); 73 Handle<JSArray> result [all...] |
runtime-operators.cc | 17 Handle<Object> result; 29 Handle<Object> result; 41 Handle<Object> result; 53 Handle<Object> result; 65 Handle<Object> result; 77 Handle<Object> result; 89 Handle<Object> result; 101 Handle<Object> result; 113 Handle<Object> result; 125 Handle<Object> result [all...] |
runtime-json.cc | 21 Handle<Object> result; 33 Handle<Object> result; 44 Handle<String> source; 49 Handle<Object> result;
|
runtime-debug.cc | 65 static Handle<Object> DebugGetProperty(LookupIterator* it, 80 Handle<Object> accessors = it->GetAccessors(); 86 Handle<Object> result; 88 result = handle(it->isolate()->pending_exception(), it->isolate()); 104 static Handle<Object> DebugGetProperty(Handle<Object> object, 105 Handle<Name> name) { 113 Isolate* isolate, Handle<IteratorType> object) { 115 Handle<IteratorType> iterator = Handle<IteratorType>::cast(object) [all...] |
/external/v8/src/ic/ |
handler-compiler.cc | 17 Handle<Code> PropertyHandlerCompiler::Find(Handle<Name> name, 18 Handle<Map> stub_holder, 24 if (probe->IsCode()) return handle(Code::cast(probe)); 25 return Handle<Code>::null(); 29 Handle<Code> NamedLoadHandlerCompiler::ComputeLoadNonexistent( 30 Handle<Name> name, Handle<Map> receiver_map) { 34 // is nonexistent, introduce a builtin to handle this (fast properties 36 return Handle<Code>() [all...] |
/external/v8/src/ |
transitions.cc | 16 void TransitionArray::Insert(Handle<Map> map, Handle<Name> name, 17 Handle<Map> target, SimpleTransitionFlag flag) { 24 Handle<WeakCell> cell = Map::WeakCellForMap(target); 29 Handle<TransitionArray> result = Allocate(isolate, 0, 1); 45 Handle<WeakCell> cell = Map::WeakCellForMap(target); 50 Handle<TransitionArray> result = Allocate(isolate, 1, 1); 108 Handle<TransitionArray> result = Allocate( 196 Handle<Map> TransitionArray::FindTransitionToField(Handle<Map> map [all...] |
builtins.cc | 46 template <class S> Handle<S> at(int index) { 51 Handle<Object> atOrUndefined(Isolate* isolate, int index) { 58 Handle<Object> receiver() { 62 Handle<JSFunction> target(); 63 Handle<HeapObject> new_target(); 84 Handle<JSFunction> BuiltinArguments<BuiltinExtraArguments::kTarget>::target() { 94 Handle<HeapObject> 106 Handle<JSFunction> 112 Handle<HeapObject> 160 Handle<Type> name = Handle<Type>::cast(args.receiver() [all...] |
futex-emulation.h | 97 static Object* Wait(Isolate* isolate, Handle<JSArrayBuffer> array_buffer, 103 static Object* Wake(Isolate* isolate, Handle<JSArrayBuffer> array_buffer, 112 Handle<JSArrayBuffer> array_buffer, size_t addr, 119 Handle<JSArrayBuffer> array_buffer,
|
isolate.cc | 239 bool Isolate::IsDeferredHandle(Object** handle) { 244 // We iterate through all the blocks to see whether the argument handle 253 if (blocks->at(i) <= handle && handle < block_limit) return true; 272 Handle<String> Isolate::StackTraceString() { 280 Handle<String> stack_trace = accumulator.ToString(this); 303 Handle<String> trace = StackTraceString(); 342 Handle<Object> Isolate::CaptureSimpleStackTrace(Handle<JSObject> error_object, 343 Handle<Object> caller) [all...] |
string-builder.h | 128 explicit FixedArrayBuilder(Handle<FixedArray> backing_store) 149 Handle<FixedArray> extended_array = 171 Handle<FixedArray> array() { return array_; } 177 Handle<JSArray> ToJSArray(Handle<JSArray> target_array) { 185 Handle<FixedArray> array_; 193 ReplacementStringBuilder(Heap* heap, Handle<String> subject, 232 void AddString(Handle<String> string) { 264 Handle<String> subject_; 300 void AppendString(Handle<String> string) [all...] |
type-feedback-vector.cc | 45 template Handle<TypeFeedbackMetadata> TypeFeedbackMetadata::New( 47 template Handle<TypeFeedbackMetadata> TypeFeedbackMetadata::New( 53 Handle<TypeFeedbackMetadata> TypeFeedbackMetadata::New(Isolate* isolate, 59 return Handle<TypeFeedbackMetadata>::cast( 74 Handle<FixedArray> array = isolate->factory()->NewFixedArray(length, TENURED); 81 Handle<TypeFeedbackMetadata> metadata = 82 Handle<TypeFeedbackMetadata>::cast(array); 131 Handle<TypeFeedbackVector> TypeFeedbackVector::New( 132 Isolate* isolate, Handle<TypeFeedbackMetadata> metadata) { 138 return Handle<TypeFeedbackVector>::cast(factory->empty_fixed_array()) [all...] |
elements.cc | 14 // Each concrete ElementsAccessor can handle exactly one ElementsKind, 230 Handle<FixedDoubleArray> from(FixedDoubleArray::cast(from_base), isolate); 231 Handle<FixedArray> to(FixedArray::cast(to_base), isolate); 234 // on the other hand we might overflow a single handle scope depending on 241 Handle<Object> value = FixedDoubleArray::get(from, i + from_start); 472 static void ValidateContents(Handle<JSObject> holder, int length) { 475 static void ValidateImpl(Handle<JSObject> holder) { 476 Handle<FixedArrayBase> fixed_array_base(holder->elements()); 482 Object* length_obj = Handle<JSArray>::cast(holder)->length(); 492 void Validate(Handle<JSObject> holder) final [all...] |
messages.h | 27 MessageLocation(Handle<Script> script, int start_pos, int end_pos, 28 Handle<JSFunction> function = Handle<JSFunction>()) 35 Handle<Script> script() const { return script_; } 38 Handle<JSFunction> function() const { return function_; } 41 Handle<Script> script_; 44 Handle<JSFunction> function_; 50 CallSite(Isolate* isolate, Handle<JSObject> call_site_obj); 52 Handle<Object> GetFileName(); 53 Handle<Object> GetFunctionName() [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_addrhashmap.h | 31 // Map::Handle h(&m, addr); 38 // Map::Handle h(&m, addr, true); 39 // this will remove the data from the map in Handle dtor 68 class Handle { 70 Handle(AddrHashMap<T, kSize> *map, uptr addr); 71 Handle(AddrHashMap<T, kSize> *map, uptr addr, bool remove); 72 Handle(AddrHashMap<T, kSize> *map, uptr addr, bool remove, bool create); 74 ~Handle(); 92 friend class Handle; 95 void acquire(Handle *h) [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkStrUtil.hpp | 38 inline std::ostream& operator<< (std::ostream& s, const Handle<Type>& handle) 40 return s << tcu::toHex(handle.getInternal());
|
/external/llvm/include/llvm-c/ |
BitWriter.h | 45 descriptor. Returns 0 on success. Closes the Handle. */ 46 int LLVMWriteBitcodeToFileHandle(LLVMModuleRef M, int Handle);
|
/external/compiler-rt/lib/msan/ |
msan_chained_origin_depot.cc | 88 struct Handle { 90 Handle() : node_(nullptr) {} 91 explicit Handle(ChainedOriginDepotNode *node) : node_(node) {} 98 Handle get_handle() { return Handle(this); } 100 typedef Handle handle_type; 112 ChainedOriginDepotNode::Handle h = chainedOriginDepot.Put(desc, &inserted);
|
/external/skia/experimental/SkV8Example/ |
JsContext.cpp | 27 v8::Handle<v8::Object> JsContext::wrap() { 28 // Handle scope for temporary handles. 43 v8::Handle<v8::ObjectTemplate> templ = 51 v8::Handle<v8::External> contextPtr = v8::External::New(fGlobal->getIsolate(), this); 56 // Return the result through the current handle scope. Since each 57 // of these handles will go away when the handle scope is deleted 59 // outer handle scope. 67 // Create a handle scope to keep the temporary object references. 77 v8::Handle<v8::Object> contextObj = this->wrap(); 85 v8::Handle<v8::Value> argv[argc] = { contextObj } [all...] |
/external/libchrome/base/threading/ |
platform_thread.h | 73 typedef void* Handle; 75 typedef pthread_t Handle; 80 explicit PlatformThreadHandle(Handle handle) : handle_(handle) {} 90 Handle platform_handle() const { 95 Handle handle_; 133 // Get the handle representing the current thread. On Windows, this is a 134 // pseudo handle constant which will always represent the thread using it and 154 // |*thread_handle| will be assigned a handle to the newly created thread [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/ |
vbp_loader.c | 17 uint32 vbp_open(uint32 parser_type, Handle *hcontext) 48 uint32 vbp_close(Handle hcontext) 78 uint32 vbp_parse(Handle hcontext, uint8 *data, uint32 size, uint8 init_data_flag) 109 uint32 vbp_query(Handle hcontext, void **data) 140 uint32 vbp_flush(Handle hcontext)
|
/external/v8/test/cctest/heap/ |
test-mark-compact.cc | 92 Handle<FixedArray> array(FixedArray::cast(obj)); 118 Handle<FixedArray> array(FixedArray::cast(obj)); 140 Handle<JSGlobalObject> global(isolate->context()->global_object()); 163 Handle<String> func_name = factory->InternalizeUtf8String("theFunction"); 164 Handle<JSFunction> function = factory->NewFunction(func_name); 173 Handle<String> func_name = factory->InternalizeUtf8String("theFunction"); 175 Handle<Object> func_value = 178 Handle<JSFunction> function = Handle<JSFunction>::cast(func_value); 179 Handle<JSObject> obj = factory->NewJSObject(function) [all...] |
/external/v8/src/compiler/ |
access-info.cc | 21 bool CanInlineElementAccess(Handle<Map> map) { 32 bool CanInlinePropertyAccess(Handle<Map> map) { 69 Type* receiver_type, Handle<Object> constant, 109 Handle<Object> constant, 133 Handle<Context> native_context, Zone* zone) 144 Handle<Map> map, AccessMode access_mode, ElementAccessInfo* access_info) { 156 Handle<JSReceiver> prototype = 160 // We might want to revisit the way we handle certain keyed stores 165 holder = Handle<JSObject>::cast(prototype); 180 for (Handle<Map> map : maps) [all...] |
/external/v8/src/wasm/ |
wasm-js.cc | 172 i::Handle<i::Script> script = factory->NewScript(Utils::OpenHandle(*source)); 205 i::Handle<i::Script> script = factory->NewScript(Utils::OpenHandle(*source)); 214 i::Handle<i::JSArrayBuffer> memory = i::Handle<i::JSArrayBuffer>::null(); 222 i::Handle<i::JSObject> ffi = i::Handle<i::JSObject>::null(); 244 i::Handle<i::JSArrayBuffer> memory = i::Handle<i::JSArrayBuffer>::null(); 247 i::Handle<i::Object> mem_obj = v8::Utils::OpenHandle(*obj); 248 memory = i::Handle<i::JSArrayBuffer>(i::JSArrayBuffer::cast(*mem_obj)) [all...] |