Home
last modified time | relevance | path

Searched refs:trap (Results 1 – 25 of 204) sorted by relevance

123456789

/third_party/lwip/src/apps/snmp/
Dsnmp_traps.c79 static u16_t snmp_trap_varbind_sum(struct snmp_msg_trap *trap, struct snmp_varbind *varbinds);
80 static u16_t snmp_trap_header_sum(struct snmp_msg_trap *trap, u16_t vb_len);
81 static err_t snmp_trap_header_enc(struct snmp_msg_trap *trap, struct snmp_pbuf_stream *pbuf_stream);
82 static err_t snmp_trap_varbind_enc(struct snmp_msg_trap *trap, struct snmp_pbuf_stream *pbuf_stream…
280 snmp_trap_varbind_sum(struct snmp_msg_trap *trap, struct snmp_varbind *varbinds) in snmp_trap_varbind_sum() argument
298 trap->vbseqlen = tot_len; in snmp_trap_varbind_sum()
299 snmp_asn1_enc_length_cnt(trap->vbseqlen, &tot_len_len); in snmp_trap_varbind_sum()
314 snmp_trap_header_sum(struct snmp_msg_trap *trap, u16_t vb_len) in snmp_trap_header_sum() argument
322 snmp_asn1_enc_u32t_cnt(trap->ts, &len); in snmp_trap_header_sum()
326 snmp_asn1_enc_s32t_cnt(trap->spc_trap, &len); in snmp_trap_header_sum()
[all …]
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-proxy-object.c303 ecma_value_t trap = ecma_validate_proxy_object (handler, LIT_MAGIC_STRING_GET_PROTOTYPE_OF_UL); in ecma_proxy_object_get_prototype_of() local
306 if (ECMA_IS_VALUE_ERROR (trap)) in ecma_proxy_object_get_prototype_of()
308 return trap; in ecma_proxy_object_get_prototype_of()
315 if (ecma_is_value_undefined (trap)) in ecma_proxy_object_get_prototype_of()
320 ecma_object_t *func_obj_p = ecma_get_object_from_value (trap); in ecma_proxy_object_get_prototype_of()
410 ecma_value_t trap = ecma_validate_proxy_object (handler, LIT_MAGIC_STRING_SET_PROTOTYPE_OF_UL); in ecma_proxy_object_set_prototype_of() local
413 if (ECMA_IS_VALUE_ERROR (trap)) in ecma_proxy_object_set_prototype_of()
415 return trap; in ecma_proxy_object_set_prototype_of()
422 if (ecma_is_value_undefined (trap)) in ecma_proxy_object_set_prototype_of()
432 ecma_object_t *func_obj_p = ecma_get_object_from_value (trap); in ecma_proxy_object_set_prototype_of()
[all …]
/third_party/node/deps/v8/third_party/wasm-api/example/
Dstart.c57 own wasm_trap_t* trap = NULL; in main() local
59 wasm_instance_new(store, module, NULL, &trap); in main()
60 if (instance || !trap) { in main()
70 wasm_trap_message(trap, &message); in main()
74 own wasm_frame_t* frame = wasm_trap_origin(trap); in main()
84 wasm_trap_trace(trap, &trace); in main()
94 wasm_trap_delete(trap); in main()
Dtrap.c17 own wasm_trap_t* trap = wasm_trap_new((wasm_store_t*)env, &message); in fail_callback() local
19 return trap; in fail_callback()
109 own wasm_trap_t* trap = wasm_func_call(func, NULL, NULL); in main() local
110 if (!trap) { in main()
117 wasm_trap_message(trap, &message); in main()
121 own wasm_frame_t* frame = wasm_trap_origin(trap); in main()
131 wasm_trap_trace(trap, &trace); in main()
141 wasm_trap_delete(trap); in main()
Dstart.cc49 wasm::own<wasm::Trap> trap; in run() local
50 auto instance = wasm::Instance::make(store, module.get(), nullptr, &trap); in run()
51 if (instance || !trap) { in run()
58 std::cout << "> " << trap->message().get() << std::endl; in run()
61 auto frame = trap->origin(); in run()
69 auto trace = trap->trace(); in run()
Dtrap.cc88 auto trap = exports[i]->func()->call(); in run() local
89 if (!trap) { in run()
95 std::cout << "> " << trap->message().get() << std::endl; in run()
98 auto frame = trap->origin(); in run()
106 auto trace = trap->trace(); in run()
Dmemory.c77 own wasm_trap_t* trap = wasm_func_call(func, args, results); in check_trap() local
78 if (! trap) { in check_trap()
82 wasm_trap_delete(trap); in check_trap()
/third_party/node/deps/npm/node_modules/@colors/colors/lib/custom/
Dtrap.js5 var trap = { variable
37 var chars = trap[c] || [' '];
39 if (typeof trap[c] !== 'undefined') {
40 result += trap[c][rand];
/third_party/node/deps/v8/src/
DDEPS62 "-src/trap-handler",
63 "+src/trap-handler/handler-inside-posix.h",
64 "+src/trap-handler/handler-inside-win.h",
65 "+src/trap-handler/trap-handler.h",
66 "+src/trap-handler/trap-handler-simulator.h",
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DIntrinsicsNVVM.td2343 // .trap variants
2347 "llvm.nvvm.suld.1d.i8.trap">;
2351 "llvm.nvvm.suld.1d.i16.trap">;
2355 "llvm.nvvm.suld.1d.i32.trap">;
2359 "llvm.nvvm.suld.1d.i64.trap">;
2363 "llvm.nvvm.suld.1d.v2i8.trap">;
2367 "llvm.nvvm.suld.1d.v2i16.trap">;
2371 "llvm.nvvm.suld.1d.v2i32.trap">;
2375 "llvm.nvvm.suld.1d.v2i64.trap">;
2379 "llvm.nvvm.suld.1d.v4i8.trap">;
[all …]
/third_party/node/deps/v8/src/builtins/
Dproxy-is-extensible.tq26 // 5. Let trap be ? GetMethod(handler, "isExtensible").
27 // 6. If trap is undefined, then (see 6.a below).
28 const trap: Callable = GetMethod(handler, kTrapName)
31 // 7. Let booleanTrapResult be ToBoolean(? Call(trap, handler, «
33 const trapResult = ToBoolean(Call(context, trap, handler, target));
Dproxy-has-property.tq32 // 6. Let trap be ? GetMethod(handler, "has").
33 // 7. If trap is undefined, then (see 7.a below).
34 const trap: Callable = GetMethod(handler, 'has')
37 // 8. Let booleanTrapResult be ToBoolean(? Call(trap, handler, «
42 const trapResult = Call(context, trap, handler, target, name);
Dproxy-prevent-extensions.tq27 // 5. Let trap be ? GetMethod(handler, "preventExtensions").
28 // 6. If trap is undefined, then (see 6.a below).
29 const trap: Callable = GetMethod(handler, kTrapName)
32 // 7. Let booleanTrapResult be ToBoolean(? Call(trap, handler, «
34 const trapResult = Call(context, trap, handler, target);
Dproxy-get-prototype-of.tq26 // 5. Let trap be ? GetMethod(handler, "getPrototypeOf").
27 // 6. If trap is undefined, then (see 6.a below).
28 const trap: Callable = GetMethod(handler, kTrapName)
31 // 7. Let handlerProto be ? Call(trap, handler, « target »).
32 const handlerProto = Call(context, trap, handler, target);
Dproxy-delete-property.tq33 // 6. Let trap be ? GetMethod(handler, "deleteProperty").
34 // 7. If trap is undefined, then (see 7.a below).
35 const trap: Callable = GetMethod(handler, kTrapName)
38 // 8. Let booleanTrapResult be ToBoolean(? Call(trap, handler,
40 const trapResult = Call(context, trap, handler, target, name);
Dproxy-set-prototype-of.tq30 // 6. Let trap be ? GetMethod(handler, "setPrototypeOf").
31 // 7. If trap is undefined, then (see 7.a below).
32 const trap: Callable = GetMethod(handler, kTrapName)
35 // 8. Let booleanTrapResult be ToBoolean(? Call(trap, handler, « target, V
37 const trapResult = Call(context, trap, handler, target, proto);
Dproxy-get-property.tq40 // 6. Let trap be ? GetMethod(handler, "get").
41 // 7. If trap is undefined, then (see 7.a below).
43 const trap: Callable = GetMethod(handler, 'get')
47 // 8. Let trapResult be ? Call(trap, handler, « target, P, Receiver »).
48 const trapResult = Call(context, trap, handler, target, name, receiverValue);
Dproxy-set-property.tq50 // 6. Let trap be ? GetMethod(handler, "set").
51 // 7. If trap is undefined, then (see 7.a below).
52 const trap: Callable = GetMethod(handler, 'set')
55 // 8. Let booleanTrapResult be ToBoolean(? Call(trap, handler,
70 Call(context, trap, handler, target, key, value, receiverValue);
/third_party/node/deps/v8/src/compiler/
Dcommon-operator-reducer.cc481 Reduction CommonOperatorReducer::ReduceTrapConditional(Node* trap) { in ReduceTrapConditional() argument
482 DCHECK(trap->opcode() == IrOpcode::kTrapIf || in ReduceTrapConditional()
483 trap->opcode() == IrOpcode::kTrapUnless); in ReduceTrapConditional()
484 bool trapping_condition = trap->opcode() == IrOpcode::kTrapIf; in ReduceTrapConditional()
485 Node* const cond = trap->InputAt(0); in ReduceTrapConditional()
493 ReplaceWithValue(trap, dead(), dead(), dead()); in ReduceTrapConditional()
494 Node* effect = NodeProperties::GetEffectInput(trap); in ReduceTrapConditional()
495 Node* control = graph()->NewNode(common()->Throw(), effect, trap); in ReduceTrapConditional()
498 return Changed(trap); in ReduceTrapConditional()
501 return Replace(NodeProperties::GetControlInput(trap)); in ReduceTrapConditional()
/third_party/mksh/
Dhistrap.c1234 trap = p->set = 1; in trapsig()
1237 if ((p->flags & TF_FATAL) && !p->trap) { in trapsig()
1289 if (p->set && ((p->trap && p->trap[0]) || in trap_pending()
1290 ((p->flags & (TF_DFL_INTR|TF_FATAL)) && !p->trap))) in trap_pending()
1318 trap = 0; in runtraps()
1326 ((p->flags & flag) && p->trap == NULL))) in runtraps()
1344 trapstr = p->trap; in runtrap()
1368 p->trap = NULL; in runtrap()
1382 p->trap = trapstr; in runtrap()
1401 trap = 0; in cleartraps()
[all …]
/third_party/musl/src/thread/m68k/
Dclone.s16 trap #0
24 trap #0
/third_party/node/android-patches/
Dtrap-handler.h.patch1 --- trap-handler.h 2022-08-11 09:01:23.384000000 +0800
2 +++ fixed-trap-handler.h 2022-08-11 09:09:15.352000000 +0800
/third_party/node/deps/npm/node_modules/@colors/colors/examples/
Dnormal-usage.js11 console.log('Drop the bass'.trap);
13 console.log('DROP THE RAINBOW BASS'.trap.rainbow);
Dsafe-string.js11 console.log(colors.trap('Drop the bass'));
13 console.log(colors.rainbow(colors.trap('DROP THE RAINBOW BASS')));
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXIntrinsics.td2160 // Funnel shift, requires >= sm_32. Does not trap if amt is out of range, so
3924 // .trap variant
3929 "suld.b.1d.b8.trap \\{$r\\}, [$s, \\{$x\\}];",
3934 "suld.b.1d.b16.trap \\{$r\\}, [$s, \\{$x\\}];",
3939 "suld.b.1d.b32.trap \\{$r\\}, [$s, \\{$x\\}];",
3944 "suld.b.1d.b64.trap \\{$r\\}, [$s, \\{$x\\}];",
3950 "suld.b.a1d.b8.trap \\{$r\\}, [$s, \\{$l, $x\\}];",
3955 "suld.b.a1d.b16.trap \\{$r\\}, [$s, \\{$l, $x\\}];",
3960 "suld.b.a1d.b32.trap \\{$r\\}, [$s, \\{$l, $x\\}];",
3965 "suld.b.a1d.b64.trap \\{$r\\}, [$s, \\{$l, $x\\}];",
[all …]

123456789