Home
last modified time | relevance | path

Searched refs:obj (Results 101 – 125 of 147) sorted by relevance

123456

/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_obj_binaryappdata.c63 if (inst[index].obj && inst[index].obj_inst_id == obj_inst_id) { in lwm2m_binaryappdata_create()
71 if (avail < 0 && !inst[index].obj) { in lwm2m_binaryappdata_create()
Dlwm2m_message_handling.c833 struct lwm2m_engine_obj *obj; in lwm2m_register_payload_handler() local
844 SYS_SLIST_FOR_EACH_CONTAINER(engine_obj_list, obj, node) { in lwm2m_register_payload_handler()
846 if (obj->obj_id == LWM2M_OBJECT_SECURITY_ID) { in lwm2m_register_payload_handler()
853 if (obj->instance_count == 0U || lwm2m_engine_shall_report_obj_version(obj)) { in lwm2m_register_payload_handler()
854 ret = engine_put_corelink(&msg->out, &LWM2M_OBJ(obj->obj_id)); in lwm2m_register_payload_handler()
859 if (obj->instance_count == 0U) { in lwm2m_register_payload_handler()
865 if (obj_inst->obj->obj_id == obj->obj_id) { in lwm2m_register_payload_handler()
868 &LWM2M_OBJ(obj_inst->obj->obj_id, obj_inst->obj_inst_id)); in lwm2m_register_payload_handler()
1504 temp_path.obj_id = obj_inst->obj->obj_id; in lwm2m_read_handler()
1728 obj_field = lwm2m_get_engine_obj_field(obj_inst->obj, res->res_id); in lwm2m_perform_read_object_instance()
[all …]
Dipso_buzzer.c89 if (!inst[i].obj || inst[i].obj_inst_id != obj_inst_id) { in get_buzzer_index()
183 if (inst[index].obj && inst[index].obj_inst_id == obj_inst_id) { in buzzer_create()
190 if (avail < 0 && !inst[index].obj) { in buzzer_create()
Dipso_onoff_switch.c79 if (!inst[i].obj || inst[i].obj_inst_id != obj_inst_id) { in get_switch_index()
181 if (inst[index].obj && inst[index].obj_inst_id == obj_inst_id) { in switch_create()
188 if (avail < 0 && !inst[index].obj) { in switch_create()
Dlwm2m_observation.c221 struct lwm2m_engine_obj *obj; in engine_observe_get_attributes() local
233 obj = get_engine_obj(path->obj_id); in engine_observe_get_attributes()
234 if (!obj) { in engine_observe_get_attributes()
239 ret = update_attrs(obj, attrs); in engine_observe_get_attributes()
274 obj_field = lwm2m_get_engine_obj_field(obj, obj_inst->resources[i].res_id); in engine_observe_get_attributes()
979 int lwm2m_get_path_reference_ptr(struct lwm2m_engine_obj *obj, const struct lwm2m_obj_path *path, in lwm2m_get_path_reference_ptr() argument
987 if (!obj) { in lwm2m_get_path_reference_ptr()
989 obj = get_engine_obj(path->obj_id); in lwm2m_get_path_reference_ptr()
990 if (!obj) { in lwm2m_get_path_reference_ptr()
997 *ref = obj; in lwm2m_get_path_reference_ptr()
[all …]
Dipso_accelerometer.c82 if (inst[index].obj && inst[index].obj_inst_id == obj_inst_id) { in accel_create()
89 if (avail < 0 && !inst[index].obj) { in accel_create()
Dipso_timer.c93 if (!inst[i].obj || inst[i].obj_inst_id != obj_inst_id) { in get_timer_index()
284 if (inst[index].obj && inst[index].obj_inst_id == obj_inst_id) { in timer_inst_create()
291 if (avail < 0 && !inst[index].obj) { in timer_inst_create()
Ducifi_lpwan.c102 if ((inst[index].obj != NULL) && (inst[index].obj_inst_id == obj_inst_id)) { in lpwan_create()
109 if (inst[index].obj == NULL) { in lpwan_create()
Dlwm2m_obj_swmgmt.c252 if (inst[index].obj && inst[index].obj_inst_id == obj_inst_id) { in find_index()
688 if (inst[index].obj && inst[index].obj_inst_id == obj_inst_id) { in swmgmt_create()
697 if (!inst[index].obj) { in swmgmt_create()
/Zephyr-latest/tests/net/lib/lwm2m/interop/pytest/
Dleshan.py53 obj = json.loads(resp.text)
54 return obj
279 for obj in content['objects']:
280 data.update(cls._decode_obj(obj))
368 for obj in resp['objectLinks']:
369 data[obj['url']] = obj['attributes']
Dtest_lwm2m.py108 def verify_server_object(obj): argument
110 assert obj[0][0] == 1
111 assert obj[0][1] == 86400
112 assert obj[0][2] == 1
113 assert obj[0][3] == 10
114 assert obj[0][5] == 86400
115 assert obj[0][6] is False
116 assert obj[0][7] == 'U'
/Zephyr-latest/drivers/modem/
Dsimcom-sim7080.c132 static int offload_connect(void *obj, const struct sockaddr *addr, socklen_t addrlen) in offload_connect() argument
134 struct modem_socket *sock = (struct modem_socket *)obj; in offload_connect()
217 static ssize_t offload_sendto(void *obj, const void *buf, size_t len, int flags, in offload_sendto() argument
221 struct modem_socket *sock = (struct modem_socket *)obj; in offload_sendto()
375 static ssize_t offload_recvfrom(void *obj, void *buf, size_t max_len, int flags, in offload_recvfrom() argument
378 struct modem_socket *sock = (struct modem_socket *)obj; in offload_recvfrom()
449 static ssize_t offload_sendmsg(void *obj, const struct msghdr *msg, int flags) in offload_sendmsg() argument
451 struct modem_socket *sock = obj; in offload_sendmsg()
479 ret = offload_sendto(obj, buf, len, flags, msg->msg_name, msg->msg_namelen); in offload_sendmsg()
519 static ssize_t offload_read(void *obj, void *buffer, size_t count) in offload_read() argument
[all …]
/Zephyr-latest/lib/os/zvfs/
Dzvfs_poll.c15 bool net_socket_is_tls(void *obj);
17 #define net_socket_is_tls(obj) false argument
/Zephyr-latest/include/zephyr/
Dsmf.h63 typedef void (*state_execution)(void *obj);
/Zephyr-latest/subsys/mgmt/updatehub/
Dupdatehub.c860 struct resp_probe_objects *obj = in z_impl_updatehub_probe() local
863 obj->mode, obj->sha256sum, obj->size); in z_impl_updatehub_probe()
894 struct resp_probe_objects *obj = in z_impl_updatehub_probe() local
897 obj->mode, obj->sha256sum, obj->size); in z_impl_updatehub_probe()
/Zephyr-latest/arch/x86/
Dgen_gdt.py146 def get_symbols(obj): argument
148 for section in obj.iter_sections():
Dgen_idt.py190 def get_symbols(obj): argument
191 for section in obj.iter_sections():
/Zephyr-latest/subsys/net/lib/sockets/
Dsockets.c24 void *obj; \
27 obj = get_sock_vtable(sock, &vtable, &lock); \
28 if (obj == NULL) { \
40 retval = vtable->fn(obj, __VA_ARGS__); \
720 void *obj; in z_impl_zsock_fcntl_impl() local
725 obj = get_sock_vtable(sock, &vtable, &lock); in z_impl_zsock_fcntl_impl()
726 if (obj == NULL) { in z_impl_zsock_fcntl_impl()
735 obj, cmd, flags); in z_impl_zsock_fcntl_impl()
/Zephyr-latest/samples/subsys/smf/smf_calculator/src/
Dmain.c93 lv_obj_t *obj = lv_event_get_target(e); in lv_btn_matrix_click_callback() local
99 id = lv_btnmatrix_get_selected_btn(obj); in lv_btn_matrix_click_callback()
/Zephyr-latest/subsys/bluetooth/services/ots/
Dots_internal.h143 struct bt_gatt_ots_object **obj);
/Zephyr-latest/subsys/shell/
Dshell_cmds.c230 STRUCT_SECTION_FOREACH(shell, obj) { in cmd_backends()
231 shell_print(sh, " %2d. :%s (%s)", cnt++, obj->ctx->prompt, obj->name); in cmd_backends()
/Zephyr-latest/kernel/
Dpoll.c44 int mode, void *obj) in k_poll_event_init() argument
49 __ASSERT(obj != NULL, "must provide an object\n"); in k_poll_event_init()
57 event->obj = obj; in k_poll_event_init()
/Zephyr-latest/tests/net/lib/lwm2m/lwm2m_registry/src/
Dlwm2m_registry.c432 struct lwm2m_engine_obj *obj; in ZTEST() local
436 obj = lwm2m_engine_get_obj(&LWM2M_OBJ(1)); in ZTEST()
438 zassert_not_null(obj); in ZTEST()
439 lwm2m_unregister_obj(obj); in ZTEST()
/Zephyr-latest/scripts/build/
Dgen_isr_tables.py251 def get_symbols(obj): argument
252 for section in obj.iter_sections():
/Zephyr-latest/tests/net/socket/websocket/src/
Dmain.c37 static int test_fd_alloc(void *obj) in test_fd_alloc() argument
43 zvfs_finalize_fd(fd, obj, NULL); in test_fd_alloc()

123456