Home
last modified time | relevance | path

Searched refs:trap (Results 1 - 25 of 83) sorted by relevance

1234

/third_party/lwip/src/apps/snmp/
H A Dsnmp_traps.c59 /* generic trap code */
61 /* specific trap code */
68 /* output trap lengths used in ASN encoding */
79 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, struct snmp_varbind *varbinds);
86 LWIP_DEBUGF(SNMP_DEBUG, ("SNMP error during creation of outbound trap frame!")); \
107 * Sets enable switch for this trap destination.
122 * Sets IPv4 address for this trap destinatio
280 snmp_trap_varbind_sum(struct snmp_msg_trap *trap, struct snmp_varbind *varbinds) snmp_trap_varbind_sum() argument
314 snmp_trap_header_sum(struct snmp_msg_trap *trap, u16_t vb_len) snmp_trap_header_sum() argument
370 snmp_trap_varbind_enc(struct snmp_msg_trap *trap, struct snmp_pbuf_stream *pbuf_stream, struct snmp_varbind *varbinds) snmp_trap_varbind_enc() argument
393 snmp_trap_header_enc(struct snmp_msg_trap *trap, struct snmp_pbuf_stream *pbuf_stream) snmp_trap_header_enc() argument
[all...]
/third_party/jerryscript/jerry-core/ecma/operations/
H A Decma-proxy-object.c264 * @return proxy trap - if the validation is successful
303 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()
374 ret_value = ecma_raise_type_error (ECMA_ERR_MSG ("Proxy target is non-extensible, but the trap did not " 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()
511 ecma_value_t trap = ecma_validate_proxy_object (handler, LIT_MAGIC_STRING_IS_EXTENSIBLE); ecma_proxy_object_is_extensible() local
595 ecma_value_t trap = ecma_validate_proxy_object (handler, LIT_MAGIC_STRING_PREVENT_EXTENSIONS_UL); ecma_proxy_object_prevent_extensions() local
682 ecma_value_t trap = ecma_validate_proxy_object (handler, LIT_MAGIC_STRING_GET_OWN_PROPERTY_DESCRIPTOR_UL); ecma_proxy_object_get_own_property_descriptor() local
860 ecma_value_t trap = ecma_validate_proxy_object (handler, LIT_MAGIC_STRING_DEFINE_PROPERTY_UL); ecma_proxy_object_define_own_property() local
1006 ecma_value_t trap = ecma_validate_proxy_object (handler, LIT_MAGIC_STRING_HAS); ecma_proxy_object_has() local
1110 ecma_value_t trap = ecma_validate_proxy_object (handler, LIT_MAGIC_STRING_GET); ecma_proxy_object_get() local
1215 ecma_value_t trap = ecma_validate_proxy_object (handler, LIT_MAGIC_STRING_SET); ecma_proxy_object_set() local
1325 ecma_value_t trap = ecma_validate_proxy_object (handler, LIT_MAGIC_STRING_DELETE_PROPERTY_UL); ecma_proxy_object_delete_property() local
1554 ecma_value_t trap = ecma_validate_proxy_object (handler, LIT_MAGIC_STRING_OWN_KEYS_UL); ecma_proxy_object_own_property_keys() local
1709 ecma_value_t trap = ecma_validate_proxy_object (handler, LIT_MAGIC_STRING_APPLY); ecma_proxy_object_call() local
1763 ecma_value_t trap = ecma_validate_proxy_object (handler, LIT_MAGIC_STRING_CONSTRUCT); ecma_proxy_object_construct() local
[all...]
/third_party/node/deps/v8/third_party/wasm-api/example/
H A 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()
61 printf("> Error instantiating module, expected trap!\n"); 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()
H A 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()
41 FILE* file = fopen("trap.wasm", "r"); in main()
109 own wasm_trap_t* trap = wasm_func_call(func, NULL, NULL); in main() local
110 if (!trap) { in main()
111 printf("> Error calling function, expected trap!\n"); 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()
[all...]
H A 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()
52 std::cout << "> Error instantiating module, expected trap!" << std::endl; 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()
H A Dtrap.cc37 std::ifstream file("trap.wasm"); in run()
88 auto trap = exports[i]->func()->call(); in run() local
89 if (!trap) { in run()
90 std::cout << "> Error calling function, expected trap!" << std::endl; 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()
H A Dmemory.c77 own wasm_trap_t* trap = wasm_func_call(func, args, results); in check_trap() local
78 if (! trap) { in check_trap()
79 printf("> Error on result, expected trap\n"); in check_trap()
82 wasm_trap_delete(trap); in check_trap()
H A Dtable.c68 own wasm_trap_t* trap = wasm_func_call(func, args, NULL); in check_trap() local
69 if (! trap) { in check_trap()
70 printf("> Error on result, expected trap\n"); in check_trap()
73 wasm_trap_delete(trap); in check_trap()
H A Dmulti.cc91 if (wasm::own<wasm::Trap> trap = run_func->call(args, results)) { in run()
92 std::cout << "> Error calling function! " << trap->message().get() << std::endl; in run()
/third_party/node/deps/npm/node_modules/@colors/colors/lib/custom/
H A Dtrap.js3 text = text || 'Run the trap, drop the bass';
5 var trap = {
37 var chars = trap[c] || [' '];
39 if (typeof trap[c] !== 'undefined') {
40 result += trap[c][rand];
/third_party/node/deps/v8/src/compiler/
H A 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()
491 // This will always trap. Mark its outputs as dead and connect it to 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()
[all...]
/third_party/mksh/
H A Dhistrap.c2 /* $OpenBSD: trap.c,v 1.23 2010/05/19 17:36:08 jasper Exp $ */
1120 sigtraps[ksh_SIGEXIT].mess = "Exit trap"; in inittraps()
1226 * trap signal handler
1234 trap = p->set = 1; in trapsig()
1237 if ((p->flags & TF_FATAL) && !p->trap) { in trapsig()
1279 * occurred for which a trap has been set or for which the TF_DFL_INTR flag
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()
1313 * XXX: this means the alarm will have no effect if a trap in runtraps()
[all...]
/third_party/musl/src/thread/m68k/
H A Dclone.s16 trap #0
24 trap #0
H A D__m68k_read_tp.s6 trap #0
H A Dsyscall_cp.s19 trap #0
/third_party/node/deps/npm/node_modules/@colors/colors/examples/
H A Dnormal-usage.js11 console.log('Drop the bass'.trap);
13 console.log('DROP THE RAINBOW BASS'.trap.rainbow);
H A Dsafe-string.js11 console.log(colors.trap('Drop the bass'));
13 console.log(colors.rainbow(colors.trap('DROP THE RAINBOW BASS')));
/third_party/node/deps/v8/src/builtins/
H A Dbuiltins-proxy-gen.cc115 // 5. Let trap be ? GetMethod(handler, "apply"). in TF_BUILTIN()
116 // 6. If trap is undefined, then in TF_BUILTIN()
118 TNode<Object> trap = GetMethod(context, handler, trap_name, &trap_undefined); in TF_BUILTIN() local
129 // 8. Return Call(trap, handler, «target, thisArgument, argArray»). in TF_BUILTIN()
130 TNode<Object> result = Call(context, trap, handler, target, receiver, array); in TF_BUILTIN()
169 // 5. Let trap be ? GetMethod(handler, "construct"). in TF_BUILTIN()
170 // 6. If trap is undefined, then in TF_BUILTIN()
172 TNode<Object> trap = GetMethod(context, handler, trap_name, &trap_undefined); in TF_BUILTIN() local
182 // 8. Let newObj be ? Call(trap, handler, « target, argArray, newTarget »). in TF_BUILTIN()
184 Call(context, trap, handle in TF_BUILTIN()
[all...]
/third_party/node/deps/v8/src/base/
H A Dimmediate-crash.h114 #error No supported trap sequence!
124 // CHECK() and the trap sequence can be invoked from a constexpr function.
/third_party/node/deps/v8/src/trap-handler/
H A Dhandler-inside-posix.h21 #error Posix trap handlers are only supported on Linux, MacOSX and FreeBSD.
/third_party/musl/arch/powerpc/bits/
H A Duser.h4 unsigned long trap, dar, dsisr, result; member
/third_party/musl/arch/powerpc64/bits/
H A Duser.h4 unsigned long trap, dar, dsisr, result; member
/third_party/node/deps/v8/src/objects/
H A Dobjects.cc1208 // 6. Let trap be ? GetMethod(handler, "get"). in GetProperty()
1209 Handle<Object> trap; in GetProperty() local
1211 isolate, trap, in GetProperty()
1213 // 7. If trap is undefined, then in GetProperty()
1214 if (trap->IsUndefined(isolate)) { in GetProperty()
1222 // 8. Let trapResult be ? Call(trap, handler, «target, P, Receiver»). in GetProperty()
1227 Execution::Call(isolate, trap, handler, arraysize(args), args), Object); in GetProperty()
1359 // 5. Let trap be ? GetMethod(handler, "getPrototypeOf"). in GetPrototype()
1360 Handle<Object> trap; in GetPrototype() local
1361 ASSIGN_RETURN_ON_EXCEPTION(isolate, trap, in GetPrototype()
3073 Handle<Object> trap; HasProperty() local
3146 Handle<Object> trap; SetProperty() local
3197 Handle<Object> trap; DeletePropertyOrElement() local
3505 Handle<Object> trap; DefineOwnProperty() local
3675 Handle<Object> trap; GetOwnPropertyDescriptor() local
3794 Handle<Object> trap; PreventExtensions() local
3838 Handle<Object> trap; IsExtensible() local
5192 Handle<Object> trap; SetPrototype() local
[all...]
/third_party/node/deps/npm/node_modules/@colors/colors/lib/
H A DextendStringPrototype.js19 addProperty('trap', function() {
20 return colors.trap(this);
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_shader.c2313 struct radv_trap_handler_shader *trap; local
2315 trap = malloc(sizeof(struct radv_trap_handler_shader));
2316 if (!trap)
2333 trap->alloc = radv_alloc_shader_memory(device, shader->code_size, NULL);
2335 trap->bo = trap->alloc->arena->bo;
2336 char *dest_ptr = trap->alloc->arena->ptr + trap->alloc->offset;
2345 return trap;
2348 uint64_t radv_trap_handler_shader_get_va(const struct radv_trap_handler_shader *trap) argument
2354 radv_trap_handler_shader_destroy(struct radv_device *device, struct radv_trap_handler_shader *trap) global() argument
[all...]

Completed in 18 milliseconds

1234