/third_party/node/deps/v8/tools/v8windbg/src/ |
H A D | cur-isolate.cc | 13 RETURN_IF_FAIL(sp_v8_module->FindSymbolByName(kIsolateKey, &sp_isolate_sym)); in GetIsolateKey() 15 RETURN_IF_FAIL(sp_isolate_sym->GetSymbolKind(&kind)); in GetIsolateKey() 18 RETURN_IF_FAIL(sp_isolate_sym.As(&sp_isolate_key_data)); in GetIsolateKey() 20 RETURN_IF_FAIL(sp_isolate_key_data->GetLocation(&loc)); in GetIsolateKey() 22 RETURN_IF_FAIL(sp_debug_host_memory->ReadBytes( in GetIsolateKey() 32 RETURN_IF_FAIL(sp_debug_host->GetCurrentContext(&sp_host_context)); in GetCurrentIsolate() 35 RETURN_IF_FAIL(GetCurrentThread(sp_host_context, &sp_curr_thread)); in GetCurrentIsolate() 39 RETURN_IF_FAIL( in GetCurrentIsolate() 42 RETURN_IF_FAIL(sp_environment->GetKeyValue(L"EnvironmentBlock", in GetCurrentIsolate() 49 RETURN_IF_FAIL(sp_environment_bloc in GetCurrentIsolate() [all...] |
H A D | local-variables.cc | 30 RETURN_IF_FAIL(context->GetKeyValue(L"Attributes", &attributes, nullptr)); 32 RETURN_IF_FAIL(attributes->GetKeyValue(L"InstructionOffset", 35 RETURN_IF_FAIL( 38 RETURN_IF_FAIL(sp_debug_host.As(&symbols)); 40 RETURN_IF_FAIL(sp_debug_host->GetCurrentContext(&host_context)); 45 RETURN_IF_FAIL(module->GetBaseLocation(&module_base)); 54 RETURN_IF_FAIL(v8_module->GetBaseLocation(&v8_base)); 63 RETURN_IF_FAIL(sp_data_model_manager->CreateSyntheticObject( 66 RETURN_IF_FAIL(sp_data_model_manager->AcquireNamedModel( 70 RETURN_IF_FAIL(resul [all...] |
H A D | js-stack.cc | 12 RETURN_IF_FAIL(sp_debug_host->GetCurrentContext(&sp_host_context)); in GetJSStackFrames() 15 RETURN_IF_FAIL(GetCurrentThread(sp_host_context, &sp_curr_thread)); in GetJSStackFrames() 18 RETURN_IF_FAIL(sp_curr_thread->GetKeyValue(L"Stack", &sp_stack, nullptr)); in GetJSStackFrames() 20 RETURN_IF_FAIL(sp_stack->GetKeyValue(L"Frames", &sp_result, nullptr)); in GetJSStackFrames() 33 RETURN_IF_FAIL(sp_debug_host->GetCurrentContext(&sp_ctx)); 36 RETURN_IF_FAIL( 41 RETURN_IF_FAIL(result->SetConcept( 44 RETURN_IF_FAIL(result->SetConcept( 71 RETURN_IF_FAIL(GetJSStackFrames(sp_frames)); in PopulateFrameData() 75 RETURN_IF_FAIL( in PopulateFrameData() [all...] |
H A D | object-inspection.cc | 24 RETURN_IF_FAIL(p_v8_object_instance->GetLocation(&location)); in Create() 27 RETURN_IF_FAIL(p_v8_object_instance->GetContext(&context)); in Create() 31 RETURN_IF_FAIL(p_v8_object_instance->GetTypeInfo(&sp_type)); in Create() 32 RETURN_IF_FAIL(sp_type->GetName(type_name.GetAddress())); in Create() 146 RETURN_IF_FAIL(GetCachedObject(context_object, &sp_v8_cached_object)); 148 RETURN_IF_FAIL(sp_v8_cached_object->GetCachedV8HeapObject(&p_v8_heap_object)); 164 RETURN_IF_FAIL(sp_data_model_manager->CreateSyntheticObject(ctx, &value)); in CreateSyntheticObjectWithParentAndDataContext() 165 RETURN_IF_FAIL( in CreateSyntheticObjectWithParentAndDataContext() 167 RETURN_IF_FAIL(value->SetContextForDataModel(parent_model, data_context)); in CreateSyntheticObjectWithParentAndDataContext() 272 RETURN_IF_FAIL( in GetModelForStruct() [all...] |
H A D | v8windbg-extension.cc | 27 RETURN_IF_FAIL(new_extension->Initialize()); in CreateExtension() 198 RETURN_IF_FAIL(sp_data_model_manager->CreateDataModelObject( in Initialize() 200 RETURN_IF_FAIL(sp_object_data_model_->SetConcept( in Initialize() 204 RETURN_IF_FAIL(sp_object_data_model_->SetConcept( in Initialize() 215 RETURN_IF_FAIL(sp_debug_host_symbols->CreateTypeSignature( in Initialize() 218 RETURN_IF_FAIL(sp_data_model_manager->RegisterModelForTypeSignature( in Initialize() 226 RETURN_IF_FAIL(sp_data_model_manager->CreateDataModelObject( in Initialize() 228 RETURN_IF_FAIL(sp_indexed_field_model_->SetConcept( in Initialize() 231 RETURN_IF_FAIL(sp_indexed_field_model_->SetConcept( in Initialize() 237 RETURN_IF_FAIL(sp_data_model_manage in Initialize() [all...] |
H A D | object-inspection.h | 187 RETURN_IF_FAIL(context_object->GetParentModel(0, &sp_parent_model, in GetCachedObject() 198 RETURN_IF_FAIL(sp_context.As(&sp_v8_cached_object)); in GetCachedObject() 200 RETURN_IF_FAIL( in GetCachedObject() 202 RETURN_IF_FAIL(sp_v8_cached_object.As(&sp_context)); in GetCachedObject() 203 RETURN_IF_FAIL(context_object->SetContextForDataModel( in GetCachedObject()
|
/third_party/node/deps/v8/tools/v8windbg/base/ |
H A D | utilities.cc | 42 RETURN_IF_FAIL(object->GetKind(&kind)); in UnboxProperty() 45 RETURN_IF_FAIL(object->GetIntrinsicValue(&variant)); in UnboxProperty() 48 RETURN_IF_FAIL(WRL::ComPtr<IUnknown>(variant.punkVal).As(&accessor)); in UnboxProperty() 58 RETURN_IF_FAIL(type->GetIntrinsicType(&kind, &carrier)); in CreateTypedIntrinsic() 124 RETURN_IF_FAIL(object->GetKind(&kind)); in UnboxULong64() 127 RETURN_IF_FAIL(object->GetIntrinsicValue(&variant)); in UnboxULong64() 129 RETURN_IF_FAIL(VariantChangeType(&variant, &variant, 0, VT_UI8)); in UnboxULong64() 138 RETURN_IF_FAIL(object->GetValue(&variant)); in GetInt32() 213 RETURN_IF_FAIL(object->GetKind(&kind)); in UnboxString() 216 RETURN_IF_FAIL(objec in UnboxString() [all...] |
H A D | dbgext.cc | 35 RETURN_IF_FAIL(DebugCreate(__uuidof(IDebugClient), &sp_debug_client)); in DebugExtensionInitialize() 37 RETURN_IF_FAIL(sp_debug_client.As(&sp_data_model_access)); in DebugExtensionInitialize() 38 RETURN_IF_FAIL(sp_debug_client.As(&sp_debug_control)); in DebugExtensionInitialize() 40 RETURN_IF_FAIL(sp_data_model_access->GetDataModel(&sp_data_model_manager, in DebugExtensionInitialize() 43 RETURN_IF_FAIL(sp_debug_host.As(&sp_debug_host_memory)); in DebugExtensionInitialize() 44 RETURN_IF_FAIL(sp_debug_host.As(&sp_debug_host_symbols)); in DebugExtensionInitialize() 45 RETURN_IF_FAIL(sp_debug_host.As(&sp_debug_host_extensibility)); in DebugExtensionInitialize()
|
H A D | utilities.h | 79 #define RETURN_IF_FAIL(expression) \ macro
|
/third_party/backends/backend/ |
H A D | hp-handle.c | 272 RETURN_IF_FAIL( sanei_hp_scl_inquire(scsi, SCL_PIXELS_PER_LINE, in hp_handle_uploadParameters() 274 RETURN_IF_FAIL( sanei_hp_scl_inquire(scsi, SCL_BYTES_PER_LINE, in hp_handle_uploadParameters() 276 RETURN_IF_FAIL( sanei_hp_scl_inquire(scsi, SCL_NUMBER_OF_LINES, in hp_handle_uploadParameters() 278 RETURN_IF_FAIL( sanei_hp_scl_inquire(scsi, SCL_DATA_WIDTH, in hp_handle_uploadParameters() 404 RETURN_IF_FAIL( hp_handle_stopScan(this) ); in sanei_hp_handle_control() 410 RETURN_IF_FAIL( sanei_hp_scsi_new(&scsi, this->dev->sanedev.name) ); in sanei_hp_handle_control() 433 RETURN_IF_FAIL( hp_handle_stopScan(this) ); in sanei_hp_handle_getParameters() 452 RETURN_IF_FAIL( sanei_hp_scl_inquire(scsi, SCL_NUMBER_OF_LINES, in sanei_hp_handle_getParameters() 476 RETURN_IF_FAIL( hp_handle_stopScan(this) ); in sanei_hp_handle_startScan() 479 RETURN_IF_FAIL( sanei_hp_scsi_ne in sanei_hp_handle_startScan() [all...] |
H A D | hp-scl.c | 862 RETURN_IF_FAIL( hp_scsi_flush(this) ); in hp_scsi_need() 872 RETURN_IF_FAIL( hp_scsi_need(this, len) ); in hp_scsi_write() 883 RETURN_IF_FAIL( hp_scsi_write(this, c_data, maxwrite) ); in hp_scsi_write() 901 RETURN_IF_FAIL( hp_scsi_need(this, 10) ); in hp_scsi_scl() 969 RETURN_IF_FAIL( hp_scsi_flush(this) ); in hp_scsi_read() 989 RETURN_IF_FAIL( sanei_scsi_cmd (this->fd, read_cmd, in hp_scsi_read() 994 RETURN_IF_FAIL (hp_scsi_read_slow (this, dest, len)); in hp_scsi_read() 999 RETURN_IF_FAIL( hp_nonscsi_read (this, dest, len, connect, isResponse) ); in hp_scsi_read() 1326 RETURN_IF_FAIL ( process_data_write (ph, linebuf, out_bytes_per_line) ); in process_scanline() 1353 RETURN_IF_FAIL ( process_scanlin in process_data() [all...] |
H A D | hp-option.c | 421 RETURN_IF_FAIL( sanei_hp_scl_inquire(scsi, scl, &val, 0, 0) ); in hp_option_upload() 534 RETURN_IF_FAIL( sanei_hp_accessor_get(this->data_acsr, data, old_val) ); in hp_option_imm_set() 545 RETURN_IF_FAIL( sanei_hp_accessor_set(this->data_acsr, data, valp) ); in hp_option_imm_set() 548 RETURN_IF_FAIL( (*this->descriptor->program)(this, scsi, optset, data) ); in hp_option_imm_set() 590 RETURN_IF_FAIL( sanei_hp_accessor_get(this->data_acsr, data, old_val) ); in hp_option_set() 601 RETURN_IF_FAIL( sanei_hp_accessor_set(this->data_acsr, data, valp) ); in hp_option_set() 750 RETURN_IF_FAIL( sanei_hp_scl_inquire(scsi, scl, &val, &minval, &maxval) ); in _probe_int() 790 RETURN_IF_FAIL ( sanei_hp_scl_inquire(scsi,scl,&val,&minval,&maxval) ); in _probe_int_brightness() 818 RETURN_IF_FAIL( sanei_hp_scl_inquire(scsi, SCL_X_RESOLUTION, &val, in _probe_resolution() 820 RETURN_IF_FAIL( sanei_hp_scl_inquir in _probe_resolution() [all...] |
H A D | hp.c | 591 RETURN_IF_FAIL( hp_device_list_add(&global.device_list, new) ); in hp_get_dev() 778 RETURN_IF_FAIL( hp_read_config() ); in hp_update_devlist() 836 RETURN_IF_FAIL( hp_update_devlist() ); in sane_get_devices() 851 RETURN_IF_FAIL( hp_read_config() ); in sane_open() 854 RETURN_IF_FAIL( hp_get_dev(devicename, &dev) ); in sane_open() 867 RETURN_IF_FAIL( hp_handle_list_add(&global.handle_list, h) ); in sane_open()
|
H A D | hp.h | 74 #define RETURN_IF_FAIL(try) do { \ macro
|