/external/v8/test/mjsunit/es6/debug-promises/ |
async-task-event.js | 34 function listener(event, exec_state, event_data, data) { 38 base_id = event_data.id(); 39 var id = event_data.id() - base_id + 1; 40 assertEquals("Promise.resolve", event_data.name()); 41 assertLog(event_data.type() + " #" + id);
|
events.js | 26 function listener(event, exec_state, event_data, data) { 30 assertTrue(event_data.promise().isPromise()); 31 if (event_data.status() === 0) { 33 assertEquals("pending", event_data.promise().status()); 34 result.push({ promise: event_data.promise().value(), status: 0 }); 36 } else if (event_data.status() !== undefined) { 38 updatePromise(event_data.promise().value(), 40 event_data.status(), 41 event_data.value().value()); 44 assertTrue(event_data.parentPromise().isPromise()) [all...] |
promise-all-uncaught.js | 31 function listener(event, exec_state, event_data, data) { 36 assertEquals("uncaught", event_data.exception().message); 37 assertTrue(event_data.promise() instanceof Promise); 41 assertEquals("p2", event_data.promise().name); 43 assertEquals("p3", event_data.promise().name); 45 assertTrue(event_data.uncaught());
|
promise-race-uncaught.js | 31 function listener(event, exec_state, event_data, data) { 36 assertEquals("uncaught", event_data.exception().message); 37 assertTrue(event_data.promise() instanceof Promise); 41 assertEquals("p2", event_data.promise().name); 43 assertEquals("p3", event_data.promise().name); 45 assertTrue(event_data.uncaught());
|
reject-caught-all.js | 33 function listener(event, exec_state, event_data, data) { 38 assertEquals("reject", event_data.exception().message); 39 assertSame(q, event_data.promise()); 40 assertFalse(event_data.uncaught());
|
reject-in-constructor.js | 16 function listener(event, exec_state, event_data, data) { 20 assertEquals("uncaught", event_data.exception().message); 21 assertTrue(event_data.promise() instanceof Promise); 22 assertTrue(event_data.uncaught());
|
throw-caught-all.js | 32 function listener(event, exec_state, event_data, data) { 37 assertEquals("caught", event_data.exception().message); 38 assertSame(q, event_data.promise()); 39 assertFalse(event_data.uncaught());
|
throw-in-constructor.js | 16 function listener(event, exec_state, event_data, data) { 20 assertEquals("uncaught", event_data.exception().message); 21 assertTrue(event_data.promise() instanceof Promise); 22 assertTrue(event_data.uncaught());
|
try-reject-in-constructor.js | 16 function listener(event, exec_state, event_data, data) { 20 assertEquals("uncaught", event_data.exception().message); 21 assertTrue(event_data.promise() instanceof Promise); 22 assertTrue(event_data.uncaught());
|
try-throw-reject-in-constructor.js | 17 function listener(event, exec_state, event_data, data) { 21 assertEquals("uncaught", event_data.exception().message); 22 assertTrue(event_data.promise() instanceof Promise); 23 assertTrue(event_data.uncaught());
|
reject-uncaught-all.js | 27 function listener(event, exec_state, event_data, data) { 32 assertEquals("uncaught reject", event_data.exception().message); 33 assertTrue(event_data.promise() instanceof Promise); 34 assertSame(q, event_data.promise()); 35 assertTrue(event_data.uncaught());
|
reject-uncaught-late.js | 34 function listener(event, exec_state, event_data, data) { 39 assertEquals("uncaught reject p", event_data.exception().message); 40 assertTrue(event_data.promise() instanceof Promise); 41 assertSame(p, event_data.promise()); 42 assertTrue(event_data.uncaught());
|
reject-uncaught-uncaught.js | 27 function listener(event, exec_state, event_data, data) { 32 assertEquals("uncaught reject", event_data.exception().message); 33 assertTrue(event_data.promise() instanceof Promise); 34 assertSame(q, event_data.promise()); 35 assertTrue(event_data.uncaught());
|
throw-uncaught-all.js | 27 function listener(event, exec_state, event_data, data) { 33 assertEquals("uncaught", event_data.exception().message); 34 assertTrue(event_data.promise() instanceof Promise); 35 assertSame(q, event_data.promise()); 36 assertTrue(event_data.uncaught());
|
throw-uncaught-uncaught.js | 27 function listener(event, exec_state, event_data, data) { 33 assertEquals("uncaught", event_data.exception().message); 34 assertTrue(event_data.promise() instanceof Promise); 35 assertSame(q, event_data.promise()); 36 assertTrue(event_data.uncaught());
|
resolve-after-aborted-try-finally.js | 15 function listener(event, exec_state, event_data, data) { 16 if (event == Debug.DebugEvent.PromiseEvent) events.push(event_data.status());
|
resolve-after-try-catch.js | 15 function listener(event, exec_state, event_data, data) { 16 if (event == Debug.DebugEvent.PromiseEvent) events.push(event_data.status());
|
rethrow-in-try-finally.js | 15 function listener(event, exec_state, event_data, data) { 16 if (event == Debug.DebugEvent.PromiseEvent) events.push(event_data.status());
|
/external/v8/test/mjsunit/es7/ |
object-observe-debug-event.js | 27 function listener(event, exec_state, event_data, data) { 31 base_id = event_data.id(); 32 var id = event_data.id() - base_id + 1; 33 assertEquals("Object.observe", event_data.name()); 34 assertLog(event_data.type() + " #" + id);
|
/external/v8/test/mjsunit/ |
debug-step-into-json.js | 12 function listener(event, exec_state, event_data, data) { 15 print(event_data.sourceLineText()); 17 event_data.sourceLineText().indexOf(`Break ${break_count++}.`) > 0);
|
debug-step-into-valueof.js | 12 function listener(event, exec_state, event_data, data) { 15 print(event_data.sourceLineText()); 16 assertTrue(event_data.sourceLineText().indexOf(`Break ${break_count++}.`) > 0);
|
/external/v8/test/mjsunit/es6/ |
debug-step-into-regexp-subclass.js | 12 function listener(event, exec_state, event_data, data) { 15 print(event_data.sourceLineText()); 17 event_data.sourceLineText().indexOf(`Break ${break_count++}.`) > 0);
|
/external/v8/test/mjsunit/regress/ |
regress-crbug-517592.js | 18 function listener(event, exec_state, event_data, data) { 22 var name = event_data.script().name(); 23 var id = event_data.script().id();
|
/hardware/qcom/display/msm8996/sdm/libs/core/fb/ |
hw_events.cpp | 80 pollfd HWEvents::InitializePollFd(HWEventData *event_data) { 86 if (!strncmp(event_data->event_name, "thread_exit", strlen("thread_exit"))) { 93 snprintf(node_path, sizeof(node_path), "%s%d/%s", fb_path_, fb_num_, event_data->event_name); 99 DLOGW("open failed for display=%d event=%s, error=%s", fb_num_, event_data->event_name, 110 DisplayError HWEvents::SetEventParser(const char *event_name, HWEventData *event_data) { 114 event_data->event_parser = &HWEvents::HandleVSync; 116 event_data->event_parser = &HWEvents::HandleBlank; 118 event_data->event_parser = &HWEvents::HandleIdleTimeout; 120 event_data->event_parser = &HWEvents::HandleThermal; 122 event_data->event_parser = &HWEvents::HandleCECMessage 135 HWEventData event_data; local [all...] |
/device/google/contexthub/util/nanotool/ |
logevent.cpp | 37 if (event_data.size() < kHeaderSize) { 38 LOGW("Invalid/short LogEvent event of size %zu", event_data.size()); 42 event_data.data() + sizeof(uint32_t));
|