Home
last modified time | relevance | path

Searched full:written (Results 1 – 25 of 703) sorted by relevance

12345678910>>...29

/Zephyr-latest/subsys/net/lib/prometheus/
Dformatter.c50 size_t buffer_size, int *written) in prometheus_format_one_metric() argument
56 ret = write_metric_to_buffer(buffer + *written, buffer_size - *written, in prometheus_format_one_metric()
68 ret = write_metric_to_buffer(buffer + *written, buffer_size - *written, in prometheus_format_one_metric()
78 ret = write_metric_to_buffer(buffer + *written, buffer_size - *written, in prometheus_format_one_metric()
88 ret = write_metric_to_buffer(buffer + *written, buffer_size - *written, in prometheus_format_one_metric()
98 ret = write_metric_to_buffer(buffer + *written, buffer_size - *written, in prometheus_format_one_metric()
108 ret = write_metric_to_buffer(buffer + *written, buffer_size - *written, in prometheus_format_one_metric()
128 buffer + *written, buffer_size - *written, in prometheus_format_one_metric()
148 buffer + *written, buffer_size - *written, in prometheus_format_one_metric()
168 buffer + *written, buffer_size - *written, in prometheus_format_one_metric()
[all …]
/Zephyr-latest/samples/drivers/soc_flash_nrf/
DREADME.rst50 Data read matches data written. Good!
54 Data read matches data written. Good!
58 Data read matches data written. Good!
62 Data read matches data written. Good!
71 Data read matches data written. Good!
75 Data read matches data written. Good!
79 Data read matches data written. Good!
83 Data read matches data written. Good!
92 Data read matches data written. Good!
96 Data read matches data written. Good!
[all …]
Dsample.yaml22 - "Data read matches data written. Good!"
25 - "Data read matches data written. Good!"
29 - "Data read matches data written. Good!"
/Zephyr-latest/tests/kernel/pipe/pipe/src/
Dtest_pipe.c142 size_t written; in pipe_put_single() local
154 single_elements[index].size, &written, in pipe_put_single()
163 zassert_true((written == single_elements[index].sent_bytes), in pipe_put_single()
164 "Bytes written mismatch written is %d but expected is %d index = %d\n", in pipe_put_single()
165 written, in pipe_put_single()
217 size_t written; in pipe_put_multiple() local
229 &written, in pipe_put_multiple()
239 zassert_true((written == multiple_elements[index].sent_bytes), in pipe_put_multiple()
240 "Bytes written mismatch written is %d but expected is %d index = %d\n", in pipe_put_multiple()
241 written, in pipe_put_multiple()
[all …]
/Zephyr-latest/drivers/bbram/
Dbbram_stm32.c73 for (size_t written = 0; written < size; written += to_copy) { in bbram_stm32_write() local
74 reg = STM32_BKP_REG(STM32_BKP_REG_INDEX(offset + written)); in bbram_stm32_write()
75 begin = STM32_BKP_REG_BYTE_INDEX(offset + written); in bbram_stm32_write()
76 to_copy = MIN(STM32_BKP_REG_BYTES - begin, size - written); in bbram_stm32_write()
77 bytecpy((uint8_t *)&reg + begin, data + written, to_copy); in bbram_stm32_write()
78 STM32_BKP_REG(STM32_BKP_REG_INDEX(offset + written)) = reg; in bbram_stm32_write()
/Zephyr-latest/include/zephyr/dfu/
Dflash_img.h53 * @param area_id flash area id of partition where the image should be written
69 * @brief Read number of bytes of the image written to the flash.
73 * @return Number of bytes written to the image flash.
78 * @brief Process input buffers to be written to the image slot 1. flash
82 * will write out the remaining block buffer to flash. Since flash is written to
83 * in blocks, the contents of flash from the last byte written up to the next
90 * data to be written to flash
/Zephyr-latest/include/zephyr/drivers/uart/
Dserial_test.h30 * @retval Number of bytes written.
35 * @brief Returns size of unread written data.
44 * @brief Read data written to virtual serial port.
59 * @retval Number of bytes written to the output buffer.
64 * @brief Peek at data written to virtual serial port.
79 * @retval Number of bytes written to the output buffer.
84 * @brief Callback called after bytes written to the virtual serial port.
/Zephyr-latest/tests/subsys/fs/fat_fs_api/
DREADME.txt31 Data written:"hello world!"
33 Data successfully written!
40 Data read matches data written
48 Data written:"hello world!"
50 Data successfully written!
73 Data written:"hello world!"
75 Data successfully written!
/Zephyr-latest/include/zephyr/sys/
Dbase64.h48 * @param olen number of bytes written
54 * of data that has (or would have) been written.
56 * written to the buffer and *olen is set to the maximum
70 * @param olen number of bytes written
76 * of data that has (or would have) been written.
/Zephyr-latest/drivers/flash/
Dflash_smartbond.c104 size_t written; in qspic_write_page() local
108 written = size; in qspic_write_page()
129 return written; in qspic_write_page()
134 size_t written; in qspic_write() local
139 written = qspic_write_page(address, data, size); in qspic_write()
140 address += written; in qspic_write()
141 data += written; in qspic_write()
142 size -= written; in qspic_write()
/Zephyr-latest/drivers/serial/
Dserial_test.c27 struct ring_buf *written; member
58 return ring_buf_space_get(data->written) != 0; in is_irq_tx_pending()
133 int available = ring_buf_space_get(data->written); in irq_tx_ready()
164 uint32_t write_len = ring_buf_put(data->written, tx_data, size); in fifo_fill()
206 if (data == NULL || data->written == NULL) { in serial_vnd_poll_out()
209 ring_buf_put(data->written, &c, 1); in serial_vnd_poll_out()
251 if (data == NULL || data->written == NULL) { in serial_vnd_out_data_size_get()
254 return ring_buf_size_get(data->written); in serial_vnd_out_data_size_get()
261 if (data == NULL || data->written == NULL) { in serial_vnd_read_out_data()
264 return ring_buf_get(data->written, out_data, size); in serial_vnd_read_out_data()
[all …]
/Zephyr-latest/samples/psa/its/src/
Dmain.c23 /* Data to be written to ITS. */ in write_and_read_data()
59 LOG_HEXDUMP_INF(p_data_write + data_offset, p_data_length, "Data written:"); in write_and_read_data()
61 LOG_ERR("The data read back doesn't match the data written."); in write_and_read_data()
65 LOG_INF("Successfully wrote to ITS and read back what was written."); in write_and_read_data()
71 LOG_INF("Reading the written entry's metadata..."); in read_info()
/Zephyr-latest/subsys/secure_storage/include/internal/zephyr/secure_storage/its/
Dtransform.h33 * @param[out] stored_data The buffer to which the transformed data is written.
34 * @param[out] stored_data_len On success, the number of bytes written to `stored_data`.
50 * @param[out] data The buffer to which the transformed data is written.
51 * @param[out] data_len On success, the number of bytes written to `stored_data`.
/Zephyr-latest/include/zephyr/net/prometheus/
Dformatter.h45 * @param written How many bytes have been written to the buffer.
50 size_t buffer_size, int *written);
/Zephyr-latest/subsys/net/lib/tls_credentials/
Dtls_credentials_digest_raw.c27 size_t written = 0; in credential_digest_raw() local
42 err = base64_encode(dest, *len, &written, digest_buf, sizeof(digest_buf)); in credential_digest_raw()
43 *len = err ? 0 : written; in credential_digest_raw()
/Zephyr-latest/tests/subsys/fs/multi-fs/src/
Dtest_common_file.c51 TC_PRINT("Data written:\"%s\"\n\n", test_str); in test_file_write()
63 TC_PRINT("Number of bytes written: [%zd]\n", brw); in test_file_write()
68 TC_PRINT("Data successfully written!\n"); in test_file_write()
102 TC_PRINT("Error - Data read does not match data written\n"); in test_file_read()
107 TC_PRINT("Data read matches data written\n"); in test_file_read()
/Zephyr-latest/include/zephyr/fs/
Dzms.h64 /** Lookup table used to cache ATE addresses of written IDs */
105 * @param id ID of the entry to be written
106 * @param data Pointer to the data to be written
107 * @param len Number of bytes to be written (maximum 64 KiB)
109 * @return Number of bytes written. On success, it will be equal to the number of bytes requested
110 * to be written or 0.
111 * When a rewrite of the same data already stored is attempted, nothing is written to flash,
173 * still be written to the file system.
Dnvs.h105 * @param id Id of the entry to be written
106 * @param data Pointer to the data to be written
107 * @param len Number of bytes to be written
109 * @return Number of bytes written. On success, it will be equal to the number of bytes requested
110 * to be written. When a rewrite of the same data already stored is attempted, nothing is written
162 * still be written to the file system. Calculating the free space is a time consuming operation,
/Zephyr-latest/tests/bsim/bluetooth/ll/edtt/gatt_test_app/src/gatt/
Dservice_c_2_2.c116 * @param attr The attribute that's being written
122 * @return Number of bytes written, or in case of an error - BT_GATT_ERR()
147 * @param attr The attribute that's being written
153 * @return Number of bytes written, or in case of an error - BT_GATT_ERR()
179 * @param attr The attribute that's being written
185 * @return Number of bytes written, or in case of an error - BT_GATT_ERR()
211 * @param attr The attribute that's being written
217 * @return Number of bytes written, or in case of an error - BT_GATT_ERR()
243 * @param attr The attribute that's being written
249 * @return Number of bytes written, or in case of an error - BT_GATT_ERR()
[all …]
Dservice_c_2_3.c116 * @param attr The attribute that's being written
122 * @return Number of bytes written, or in case of an error - BT_GATT_ERR()
147 * @param attr The attribute that's being written
153 * @return Number of bytes written, or in case of an error - BT_GATT_ERR()
179 * @param attr The attribute that's being written
185 * @return Number of bytes written, or in case of an error - BT_GATT_ERR()
211 * @param attr The attribute that's being written
217 * @return Number of bytes written, or in case of an error - BT_GATT_ERR()
243 * @param attr The attribute that's being written
249 * @return Number of bytes written, or in case of an error - BT_GATT_ERR()
[all …]
Dservice_c_2_1.c202 * @param attr The attribute that's being written
208 * @return Number of bytes written, or in case of an error - BT_GATT_ERR()
255 * @param attr The attribute that's being written
261 * @return Number of bytes written, or in case of an error - BT_GATT_ERR()
287 * @param attr The attribute that's being written
293 * @return Number of bytes written, or in case of an error - BT_GATT_ERR()
341 * @param attr The attribute that's being written
347 * @return Number of bytes written, or in case of an error - BT_GATT_ERR()
373 * @param attr The attribute that's being written
379 * @return Number of bytes written, or in case of an error - BT_GATT_ERR()
[all …]
/Zephyr-latest/drivers/i2c/
Di2c_max32_rtio.c52 uint32_t written; member
142 data->written = 0; in max32_msg_start()
155 data->written = MXC_I2C_WriteTXFIFO(i2c, req->tx_buf, 1); in max32_msg_start()
186 uint32_t written, readb; in i2c_max32_isr_controller() local
191 written = data->written; in i2c_max32_isr_controller()
207 if (written < req->tx_len) { in i2c_max32_isr_controller()
217 if (written < req->tx_len) { in i2c_max32_isr_controller()
218 written += MXC_I2C_WriteTXFIFO(i2c, &req->tx_buf[written], in i2c_max32_isr_controller()
219 req->tx_len - written); in i2c_max32_isr_controller()
262 data->written = written; in i2c_max32_isr_controller()
/Zephyr-latest/tests/drivers/hwinfo/api/src/
Dmain.c19 * -# Check if to many bytes are written to the buffer
22 * -# Device uid with correct length should be written to the buffer.
51 "Too many bytes are written"); in ZTEST()
63 "Too many bytes are written"); in ZTEST()
104 zassert_not_equal(cause, 0xDEADBEEF, "Reset cause not written."); in ZTEST()
194 "Supported reset cause not written."); in ZTEST()
/Zephyr-latest/include/zephyr/dt-bindings/pinctrl/
Dpinctrl-zynq.h14 * corresponds to what is written to the IO_Type field in the MIO_PIN_xx SLCR register.
28 * corresponds to what is written to the Speed field in the MIO_PIN_xx SLCR register.
/Zephyr-latest/subsys/tracing/include/
Dtracing_buffer.h56 * @brief Indicate number of bytes written to the allocated buffer.
58 * @param size Number of bytes written to the allocated buffer.
71 * @retval Number of bytes written to tracing buffer.
103 * @retval Number of bytes written to the output buffer.

12345678910>>...29