/third_party/lwip/src/apps/snmp/ |
H A D | snmp_traps.c | 59 /* 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 D | ecma-proxy-object.c | 264 * @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 D | start.c | 57 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 D | trap.c | 17 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 D | start.cc | 49 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 D | trap.cc | 37 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 D | memory.c | 77 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 D | table.c | 68 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 D | multi.cc | 91 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 D | trap.js | 3 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 D | common-operator-reducer.cc | 481 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 D | histrap.c | 2 /* $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 D | clone.s | 16 trap #0 24 trap #0
|
H A D | __m68k_read_tp.s | 6 trap #0
|
H A D | syscall_cp.s | 19 trap #0
|
/third_party/node/deps/npm/node_modules/@colors/colors/examples/ |
H A D | normal-usage.js | 11 console.log('Drop the bass'.trap); 13 console.log('DROP THE RAINBOW BASS'.trap.rainbow);
|
H A D | safe-string.js | 11 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 D | builtins-proxy-gen.cc | 115 // 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 D | immediate-crash.h | 114 #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 D | handler-inside-posix.h | 21 #error Posix trap handlers are only supported on Linux, MacOSX and FreeBSD.
|
/third_party/musl/arch/powerpc/bits/ |
H A D | user.h | 4 unsigned long trap, dar, dsisr, result; member
|
/third_party/musl/arch/powerpc64/bits/ |
H A D | user.h | 4 unsigned long trap, dar, dsisr, result; member
|
/third_party/node/deps/v8/src/objects/ |
H A D | objects.cc | 1208 // 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 D | extendStringPrototype.js | 19 addProperty('trap', function() { 20 return colors.trap(this);
|
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_shader.c | 2313 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...] |