Home
last modified time | relevance | path

Searched refs:ptr (Results 101 – 125 of 191) sorted by relevance

12345678

/Zephyr-latest/include/zephyr/drivers/i3c/
Dtarget_device.h219 void (*buf_write_received_cb)(struct i3c_target_config *config, uint8_t *ptr, uint32_t len);
245 int (*buf_read_requested_cb)(struct i3c_target_config *config, uint8_t **ptr, uint32_t *len,
/Zephyr-latest/tests/bsim/bluetooth/host/misc/conn_stress/central/src/
Dmain.c718 char const *ptr; in test_args() local
720 ptr = strstr(argv[0], "notify_size="); in test_args()
721 if (ptr != NULL) { in test_args()
722 ptr += strlen("notify_size="); in test_args()
723 notification_size = atol(ptr); in test_args()
729 char const *ptr; in test_args() local
731 ptr = strstr(argv[1], "conn_interval="); in test_args()
732 if (ptr != NULL) { in test_args()
733 ptr += strlen("conn_interval="); in test_args()
734 conn_interval_max = atol(ptr); in test_args()
/Zephyr-latest/drivers/wifi/nrf_wifi/src/
Dwifi_util.c87 char *ptr = NULL; in nrf_wifi_util_set_he_ltf() local
97 he_ltf = strtoul(argv[1], &ptr, 10); in nrf_wifi_util_set_he_ltf()
118 char *ptr = NULL; in nrf_wifi_util_set_he_gi() local
128 he_gi = strtoul(argv[1], &ptr, 10); in nrf_wifi_util_set_he_gi()
150 char *ptr = NULL; in nrf_wifi_util_set_he_ltf_gi() local
153 val = strtoul(argv[1], &ptr, 10); in nrf_wifi_util_set_he_ltf_gi()
187 char *ptr = NULL; in nrf_wifi_util_set_uapsd_queue() local
190 val = strtoul(argv[1], &ptr, 10); in nrf_wifi_util_set_uapsd_queue()
333 char *ptr = NULL; in nrf_wifi_util_tx_rate() local
337 rate_flag = strtol(argv[1], &ptr, 10); in nrf_wifi_util_tx_rate()
[all …]
/Zephyr-latest/lib/posix/options/
Dnet.c112 void if_freenameindex(struct if_nameindex *ptr) in if_freenameindex() argument
116 if (ptr == NULL) { in if_freenameindex()
123 if (ptr[i].if_name != NULL) { in if_freenameindex()
124 free(ptr[i].if_name); in if_freenameindex()
128 free(ptr); in if_freenameindex()
/Zephyr-latest/scripts/tests/twister_blackbox/test_data/tests/san/asan/src/
Dmain.c17 int *ptr; variable
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dbap_common.c20 void print_hex(const uint8_t *ptr, size_t len) in print_hex() argument
23 printk("%02x", *ptr++); in print_hex()
Dbap_common.h57 void print_hex(const uint8_t *ptr, size_t len);
/Zephyr-latest/include/zephyr/sys/
Dhash_map.h108 static inline void *sys_hashmap_default_allocator(void *ptr, size_t size) in sys_hashmap_default_allocator() argument
111 free(ptr); in sys_hashmap_default_allocator()
115 return realloc(ptr, size); in sys_hashmap_default_allocator()
Dlibc-hooks.h41 __syscall size_t zephyr_fwrite(const void *ZRESTRICT ptr, size_t size,
/Zephyr-latest/tests/net/lib/http_server/tls/src/
Dmain.c133 char *ptr; in test_tls() local
184 ptr = (char *)zsock_inet_ntop(AF_INET, &sa.sin_addr, buf, sizeof(buf)); in test_tls()
185 zassert_not_equal(ptr, NULL, "inet_ntop() failed (%d)", errno); in test_tls()
/Zephyr-latest/subsys/usb/device/
Dusb_descriptor.h54 int usb_get_str_descriptor_idx(void *ptr);
/Zephyr-latest/drivers/net/
Dslip.h29 uint8_t *ptr; /* Where in net_pkt to add data */ member
/Zephyr-latest/include/zephyr/logging/
Dlog_msg.h165 #define Z_LOG_MSG_ON_STACK_ALLOC(ptr, len) \ argument
168 (ptr) = (sizeof(long double) == Z_LOG_MSG_ALIGNMENT) ? \
172 memset((ptr), 0, (len)); \
180 #define Z_LOG_MSG_ON_STACK_ALLOC(ptr, len) \ argument
192 ptr = (len > 128) ? (struct log_msg *)_ld_buf256 : \
198 ptr = (len > 128) ? (struct log_msg *)_ll_buf256 : \
206 memset((ptr), 0, (len)); \
/Zephyr-latest/subsys/net/lib/ptp/
Dtlv.c25 static inline void tlv_ntohs(void *ptr) in tlv_ntohs() argument
27 uint16_t val = *(uint16_t *)ptr; in tlv_ntohs()
30 memcpy(ptr, &val, sizeof(val)); in tlv_ntohs()
33 static inline void tlv_htons(void *ptr) in tlv_htons() argument
35 uint16_t val = *(uint16_t *)ptr; in tlv_htons()
38 memcpy(ptr, &val, sizeof(val)); in tlv_htons()
/Zephyr-latest/include/zephyr/fs/
Dfs.h368 ssize_t fs_read(struct fs_file_t *zfp, void *ptr, size_t size);
389 ssize_t fs_write(struct fs_file_t *zfp, const void *ptr, size_t size);
/Zephyr-latest/subsys/debug/coredump/
Dcoredump_backend_flash_partition.c174 uint8_t *ptr = dst; in data_read() local
193 (void)memcpy(ptr, data_read_buf, copy_sz); in data_read()
203 ptr += copy_sz; in data_read()
510 uint8_t *ptr = buf; in coredump_flash_backend_buffer_output() local
529 (void)memmove(tmp_buf, ptr, copy_sz); in coredump_flash_backend_buffer_output()
543 ptr += copy_sz; in coredump_flash_backend_buffer_output()
/Zephyr-latest/include/zephyr/usb/
Dusbd.h171 const void *const ptr; member
567 .ptr = &langid_##name, \
590 .ptr = &ascii_##d_name, \
670 .ptr = subset, \
713 .ptr = subset, \
/Zephyr-latest/tests/bsim/bluetooth/host/misc/conn_stress/peripheral/src/
Dmain.c471 char const *ptr; in test_args() local
473 ptr = strstr(argv[0], "notify_size="); in test_args()
474 if (ptr != NULL) { in test_args()
475 ptr += strlen("notify_size="); in test_args()
476 notification_size = atol(ptr); in test_args()
/Zephyr-latest/include/zephyr/drivers/sensor/
Dccs811.h108 struct ccs811_configver_type *ptr);
/Zephyr-latest/subsys/net/lib/http/
Dhttp_server_http1.c261 char *ptr; in dynamic_get_del_req() local
267 ptr = &client->url_buffer[dynamic_detail->common.path_len]; in dynamic_get_del_req()
268 len = strlen(ptr); in dynamic_get_del_req()
273 populate_request_ctx(&request_ctx, ptr, len, &client->header_capture_ctx); in dynamic_get_del_req()
305 char *ptr = client->cursor; in dynamic_post_put_req() local
310 if (ptr == NULL) { in dynamic_post_put_req()
321 populate_request_ctx(&request_ctx, ptr, client->data_len, &client->header_capture_ctx); in dynamic_post_put_req()
347 populate_request_ctx(&request_ctx, ptr, 0, &client->header_capture_ctx); in dynamic_post_put_req()
/Zephyr-latest/subsys/net/ip/
Dtp.c110 void tp_free(void *ptr, const char *file, int line, const char *func) in tp_free() argument
112 struct tp_mem *mem = (void *)((uint8_t *) ptr - sizeof(struct tp_mem)); in tp_free()
118 file, line, func, ptr); in tp_free()
129 void *ptr = tp_malloc(bytes, file, line, func); in tp_calloc() local
131 memset(ptr, 0, bytes); in tp_calloc()
133 return ptr; in tp_calloc()
/Zephyr-latest/subsys/net/lib/coap/
Dcoap_server.c51 void *ptr; in coap_server_alloc() local
58 ret = k_mem_slab_alloc(&pending_data, &ptr, K_NO_WAIT); in coap_server_alloc()
63 return ptr; in coap_server_alloc()
73 static inline void coap_server_free(void *ptr) in coap_server_free() argument
76 k_mem_slab_free(&pending_data, ptr); in coap_server_free()
78 k_free(ptr); in coap_server_free()
80 ARG_UNUSED(ptr); in coap_server_free()
/Zephyr-latest/tests/boards/espressif/cache_coex/src/
Dcache_coex.c172 int *ptr = mem; in check_psram() local
176 if (*ptr++ != value) { in check_psram()
/Zephyr-latest/tests/kernel/mem_slab/mslab/
DREADME.txt50 block ptr to free p[0] = 0x00406400
53 block ptr to free p[1] = 0x00406000
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_util.c560 char *ptr = buf; in sprint_token() local
568 *ptr++ = to_hex_digit(token[i] >> 4); in sprint_token()
569 *ptr++ = to_hex_digit(token[i] & 0x0F); in sprint_token()
572 *ptr = '\0'; in sprint_token()

12345678