Searched refs:ptr (Results 1 – 11 of 11) sorted by relevance
| /samples/net/sockets/big_http_download/src/ |
| A D | big_http_download.c | 117 char *ptr; in parse_status() local 121 if (ptr == NULL) { in parse_status() 130 ptr++; in parse_status() 132 code = atoi(ptr); in parse_status() 142 char *ptr; in parse_header() local 149 *ptr = '\0'; in parse_header() 150 ptr = response; in parse_header() 153 *ptr = tolower(*ptr); in parse_header() 154 ptr++; in parse_header() 176 *ptr = '\0'; in parse_header() [all …]
|
| /samples/arch/smp/pktqueue/src/ |
| A D | main.c | 63 descriptors[queue_num][i].ptr = (uint8_t *)&headers[queue_num][i]; in init_datagram_queue() 68 descriptors[queue_num][i].ptr[j] = sys_rand8_get(); in init_datagram_queue() 70 descriptors[queue_num][i].ptr[j] = 0; in init_datagram_queue() 77 descriptors[queue_num][i].ptr, SIZE_OF_HEADER); in init_datagram_queue() 80 descriptors[queue_num][i].ptr[CRC_BYTE_1] = (uint8_t)(crc >> 8); in init_datagram_queue() 81 descriptors[queue_num][i].ptr[CRC_BYTE_2] = (uint8_t)(crc); in init_datagram_queue() 102 crc_orig = qin_ptr->ptr[CRC_BYTE_1] << 8; in test_thread() 103 crc_orig |= qin_ptr->ptr[11]; in test_thread() 106 qin_ptr->ptr[CRC_BYTE_1] = 0; in test_thread() 107 qin_ptr->ptr[CRC_BYTE_2] = 0; in test_thread() [all …]
|
| A D | pktqueue.h | 14 uint8_t *ptr; /* Pointer to header */ member
|
| /samples/net/capture/src/ |
| A D | main.c | 111 ARRAY_FOR_EACH_PTR(data, ptr) { in cmd_sample_send() 112 net_capture_data(ptr->ctx, ptr->data, ptr->len, in cmd_sample_send() 113 ptr->type, ptr->eth_p_type); in cmd_sample_send()
|
| /samples/sensor/amg88xx/src/ |
| A D | main.c | 28 void print_buffer(void *ptr, size_t l) in print_buffer() argument 30 struct sensor_value *tv = ptr; in print_buffer()
|
| /samples/net/cellular_modem/src/ |
| A D | main.c | 108 static const char *skip_whitespace(const char *ptr) in skip_whitespace() argument 110 while (*ptr == ' ' || *ptr == '\t') { in skip_whitespace() 111 ++ptr; in skip_whitespace() 113 return ptr; in skip_whitespace()
|
| /samples/bluetooth/tmap_peripheral/src/ |
| A D | bap_unicast_sr.c | 56 static void print_hex(const uint8_t *ptr, size_t len) in print_hex() argument 59 printk("%02x", *ptr++); in print_hex()
|
| /samples/bluetooth/tmap_central/src/ |
| A D | cap_initiator.c | 186 static void print_hex(const uint8_t *ptr, size_t len) in print_hex() argument 189 printk("%02x", *ptr++); in print_hex()
|
| /samples/bluetooth/hap_ha/src/ |
| A D | bap_unicast_sr.c | 67 static void print_hex(const uint8_t *ptr, size_t len) in print_hex() argument 70 printk("%02x", *ptr++); in print_hex()
|
| /samples/bluetooth/bap_unicast_server/src/ |
| A D | main.c | 131 void print_hex(const uint8_t *ptr, size_t len) in print_hex() argument 134 printk("%02x", *ptr++); in print_hex()
|
| /samples/bluetooth/bap_unicast_client/src/ |
| A D | main.c | 78 static void print_hex(const uint8_t *ptr, size_t len) in print_hex() argument 81 printk("%02x", *ptr++); in print_hex()
|
Completed in 42 milliseconds