Home
last modified time | relevance | path

Searched refs:dest (Results 1 – 25 of 144) sorted by relevance

123456

/Zephyr-latest/lib/libc/minimal/source/string/
Dstring.c22 char *dest = d; in strcpy() local
32 return dest; in strcpy()
44 char *dest = d; in strncpy() local
59 return dest; in strncpy()
193 char *strcat(char *ZRESTRICT dest, const char *ZRESTRICT src) in strcat() argument
195 strcpy(dest + strlen(dest), src); in strcat()
196 return dest; in strcat()
199 char *strncat(char *ZRESTRICT dest, const char *ZRESTRICT src, in strncat() argument
202 char *orig_dest = dest; in strncat()
203 size_t len = strlen(dest); in strncat()
[all …]
/Zephyr-latest/scripts/native_simulator/native/src/
Dnsi_cmdline_common.c122 void nsi_cmd_read_option_value(const char *str, void *dest, const char type, in nsi_cmd_read_option_value() argument
131 *(bool *)dest = false; in nsi_cmd_read_option_value()
134 *(bool *)dest = false; in nsi_cmd_read_option_value()
137 *(bool *)dest = true; in nsi_cmd_read_option_value()
140 *(bool *)dest = true; in nsi_cmd_read_option_value()
147 *(char **)dest = (char *)str; in nsi_cmd_read_option_value()
151 *(uint32_t *)dest = strtoul(str, &endptr, 0); in nsi_cmd_read_option_value()
154 *(uint64_t *)dest = strtoull(str, &endptr, 0); in nsi_cmd_read_option_value()
157 *(int32_t *)dest = strtol(str, &endptr, 0); in nsi_cmd_read_option_value()
160 *(int64_t *)dest = strtoll(str, &endptr, 0); in nsi_cmd_read_option_value()
[all …]
Dtimer_model.c40 static char *us_time_to_str(char *dest, uint64_t time) in us_time_to_str() argument
53 sprintf(dest, "%02u:%02u:%02u.%06u", hour, minute, second, us); in us_time_to_str()
55 sprintf(dest, " NEVER/UNKNOWN "); in us_time_to_str()
58 return dest; in us_time_to_str()
496 .dest = (void *)&args.rt_drift, in nsi_add_time_options()
506 .dest = (void *)&args.rt_ratio, in nsi_add_time_options()
520 .dest = (void *)&args.rtc_offset, in nsi_add_time_options()
536 .dest = (void *)&args.stop_at, in nsi_add_time_options()
/Zephyr-latest/boards/native/native_posix/
Dcmdline_common.c120 void cmd_read_option_value(const char *str, void *dest, const char type, in cmd_read_option_value() argument
129 *(bool *)dest = false; in cmd_read_option_value()
132 *(bool *)dest = false; in cmd_read_option_value()
135 *(bool *)dest = true; in cmd_read_option_value()
138 *(bool *)dest = true; in cmd_read_option_value()
145 *(char **)dest = (char *)str; in cmd_read_option_value()
149 *(uint32_t *)dest = strtoul(str, &endptr, 0); in cmd_read_option_value()
152 *(uint64_t *)dest = strtoull(str, &endptr, 0); in cmd_read_option_value()
155 *(int32_t *)dest = strtol(str, &endptr, 0); in cmd_read_option_value()
158 *(int64_t *)dest = strtoll(str, &endptr, 0); in cmd_read_option_value()
[all …]
Dcmdline_common.h63 void *dest; member
75 void cmd_read_option_value(const char *str, void *dest, const char type,
/Zephyr-latest/soc/intel/intel_adsp/common/include/
Dsoc_util.h12 static ALWAYS_INLINE void bmemcpy(void *dest, void *src, size_t bytes) in bmemcpy() argument
14 volatile uint32_t *d = (uint32_t *)dest; in bmemcpy()
22 sys_cache_data_flush_range(dest, bytes); in bmemcpy()
26 static ALWAYS_INLINE void bbzero(void *dest, size_t bytes) in bbzero() argument
28 volatile uint32_t *d = (uint32_t *)dest; in bbzero()
34 sys_cache_data_flush_range(dest, bytes); in bbzero()
/Zephyr-latest/kernel/include/
Dkernel_tls.h43 static inline void z_tls_copy(char *dest) in z_tls_copy() argument
46 memcpy(dest, __tdata_start, (size_t)(uintptr_t)__tdata_size); in z_tls_copy()
49 dest += (size_t)(uintptr_t)__tdata_size; in z_tls_copy()
50 memset(dest, 0, (size_t)(uintptr_t)__tbss_size); in z_tls_copy()
/Zephyr-latest/soc/nuvoton/npcx/common/ecst/
Decst_args.py187 parser.add_argument("-i", nargs='?', dest="input")
188 parser.add_argument("-o", nargs='?', dest="output")
189 parser.add_argument("-chip", dest="chip")
190 parser.add_argument("-v", action="store_true", dest="verbose")
191 parser.add_argument("-vv", action="store_true", dest="super_verbose")
193 dest="firmware_header_crc")
194 parser.add_argument("-nofcrc", action="store_true", dest="firmware_crc")
196 dest="spi_flash_maximum_clock")
198 dest="spi_flash_clock_ratio")
199 parser.add_argument("-spireadmode", nargs='?', dest="spi_read_mode")
[all …]
/Zephyr-latest/subsys/net/lib/socks/
Dsocks.h24 const struct sockaddr *dest,
28 const struct sockaddr *dest, in net_socks5_connect() argument
32 ARG_UNUSED(dest); in net_socks5_connect()
/Zephyr-latest/drivers/can/
Dcan_mcux_flexcan.c486 flexcan_frame_t *dest) in mcux_flexcan_from_can_frame() argument
488 memset(dest, 0, sizeof(*dest)); in mcux_flexcan_from_can_frame()
491 dest->format = kFLEXCAN_FrameFormatExtend; in mcux_flexcan_from_can_frame()
492 dest->id = FLEXCAN_ID_EXT(src->id); in mcux_flexcan_from_can_frame()
494 dest->format = kFLEXCAN_FrameFormatStandard; in mcux_flexcan_from_can_frame()
495 dest->id = FLEXCAN_ID_STD(src->id); in mcux_flexcan_from_can_frame()
499 dest->type = kFLEXCAN_FrameTypeRemote; in mcux_flexcan_from_can_frame()
501 dest->type = kFLEXCAN_FrameTypeData; in mcux_flexcan_from_can_frame()
502 dest->dataWord0 = sys_cpu_to_be32(src->data_32[0]); in mcux_flexcan_from_can_frame()
503 dest->dataWord1 = sys_cpu_to_be32(src->data_32[1]); in mcux_flexcan_from_can_frame()
[all …]
/Zephyr-latest/subsys/net/lib/tls_credentials/
Dtls_credentials_digest_raw.c24 int credential_digest_raw(struct tls_credential *credential, void *dest, size_t *len) in credential_digest_raw() argument
42 err = base64_encode(dest, *len, &written, digest_buf, sizeof(digest_buf)); in credential_digest_raw()
53 int credential_digest_raw(struct tls_credential *credential, void *dest, size_t *len) in credential_digest_raw() argument
/Zephyr-latest/soc/intel/intel_adsp/ace/
Dcomm_widget.c15 void cw_sb_write(uint32_t dest, uint32_t func, uint16_t address, uint32_t data) in cw_sb_write() argument
17 cw_upstream_set_attr(dest, func, CW_OPCODE_CRWR, 0, 0); in cw_sb_write()
Dtimestamp.c24 #define BITS_COPY(dest, src, mask) ((dest) = ((dest) & ~(mask)) | ((src) & (mask))) argument
/Zephyr-latest/boards/native/nrf_bsim/
Dargparse.c46 .dest = (void *)&testid, in nrfbsim_register_args()
62 .dest = (void *)&testid, in nrfbsim_register_args()
78 .dest = (void *)&cpu_autostart, in nrfbsim_register_args()
/Zephyr-latest/soc/microchip/mec/common/spigen/
Dmec_spi_gen.py244 dest="chip",
250 dest="infilename",
255 dest="outfilename",
260 dest="spi_size_kb",
265 dest="entry_point",
270 dest="spi_freq_mhz",
276 dest="spi_read_mode",
282 dest="spi_mode",
288 dest="spi_drive_strength",
294 dest="spi_slew_rate",
[all …]
/Zephyr-latest/samples/subsys/settings/src/
Dmain.c276 struct direct_length_data *dest = (struct direct_length_data *)param; in direct_loader() local
283 rc = read_cb(cb_arg, &(dest->length), sizeof(dest->length)); in direct_loader()
295 rc = read_cb(cb_arg, &(dest->length_1), sizeof(dest->length_1)); in direct_loader()
301 rc = read_cb(cb_arg, &(dest->length_2), sizeof(dest->length_2)); in direct_loader()
334 void *dest; member
352 rc = read_cb(cb_arg, one_value->dest, len); in direct_loader_immediate_value()
372 int load_immediate_value(const char *name, void *dest, size_t len) in load_immediate_value() argument
379 dov.dest = dest; in load_immediate_value()
/Zephyr-latest/boards/native/nrf_bsim/common/
Dphy_sync_ctrl.c143 .dest = (void *)&tmp_start_of, in phy_sync_ctrl_register_args()
152 .dest = (void *)&sync_args.sync_preinit, in phy_sync_ctrl_register_args()
167 .dest = (void *)&sync_args.sync_preboot, in phy_sync_ctrl_register_args()
183 .dest = (void *)&sync_args.delay_init, in phy_sync_ctrl_register_args()
198 .dest = (void *)&tmp_max_resync_offset, in phy_sync_ctrl_register_args()
/Zephyr-latest/soc/nuvoton/npcm/common/esiost/
Desiost_args.py102 parser.add_argument("-i", nargs='?', dest="input")
103 parser.add_argument("-o", nargs='?', dest="output")
104 parser.add_argument("-chip", dest="chip")
105 parser.add_argument("-v", action="store_true", dest="verbose")
/Zephyr-latest/tests/boards/native_sim/rtc/src/
Dmain.c20 static char *us_time_to_str(char *dest, uint64_t time) in us_time_to_str() argument
33 sprintf(dest, "%02u:%02u:%02u.%06u", hour, minute, second, us); in us_time_to_str()
35 sprintf(dest, " NEVER/UNKNOWN "); in us_time_to_str()
38 return dest; in us_time_to_str()
/Zephyr-latest/subsys/jwt/
Djwt_legacy_rsa.c21 static int csprng_wrapper(void *ctx, unsigned char *dest, size_t size) in csprng_wrapper() argument
25 return sys_csrand_get((void *)dest, size); in csprng_wrapper()
/Zephyr-latest/kernel/
Dpipes.c202 static size_t pipe_xfer(unsigned char *dest, size_t dest_size, in pipe_xfer() argument
207 if (dest == NULL) { in pipe_xfer()
212 (void) memcpy(dest, src, num_bytes); in pipe_xfer()
330 struct _pipe_desc *dest; in pipe_write() local
335 dest = (struct _pipe_desc *)sys_dlist_get(dest_list); in pipe_write()
337 while ((src != NULL) && (dest != NULL)) { in pipe_write()
338 bytes_copied = pipe_xfer(dest->buffer, dest->bytes_to_xfer, in pipe_write()
343 dest->buffer += bytes_copied; in pipe_write()
344 dest->bytes_to_xfer -= bytes_copied; in pipe_write()
349 if (dest->thread == NULL) { in pipe_write()
[all …]
/Zephyr-latest/drivers/dma/
Ddma_nxp_sof_host_dma.c43 uint32_t dest; member
119 memcpy(UINT_TO_POINTER(chan->dest), UINT_TO_POINTER(chan->src), chan->size); in sof_host_dma_reload()
152 ret = sys_cache_data_flush_range(UINT_TO_POINTER(chan->dest), chan->size); in sof_host_dma_reload()
217 chan->dest = config->head_block->dest_address; in sof_host_dma_config()
222 chan_id, chan->src, chan->dest, chan->size); in sof_host_dma_config()
/Zephyr-latest/scripts/release/
Dlist_backports.py60 parser.add_argument('-t', '--token', dest='tokenfile',
62 parser.add_argument('-b', '--base', dest='base',
64 parser.add_argument('-j', '--json', dest='json', action='store_true',
66 parser.add_argument('-s', '--start', dest='start', help='start date (YYYY-mm-dd)',
68 parser.add_argument('-e', '--end', dest='end', help='end date (YYYY-mm-dd)',
72 parser.add_argument('-p', '--include-pull', dest='includes',
75 parser.add_argument('-P', '--exclude-pull', dest='excludes',
/Zephyr-latest/cmake/
Dllext-edk.cmake69 set(dest ${llext_edk_inc}/zephyr/${dir_tmp}) variable
72 set(dest ${llext_edk_inc}/zephyr/${dir_tmp}) variable
75 set(dest ${llext_edk_inc}/${dir_tmp}) variable
79 set(dest ${llext_edk_inc}/${app_dir}/${dir_tmp}) variable
81 set(dest ${llext_edk_inc}/${dir}) variable
84 set(${relative_out} ${dest} PARENT_SCOPE)
106 relative_dir(${parent} dest bindir)
107 cmake_path(RELATIVE_PATH dest BASE_DIRECTORY ${llext_edk} OUTPUT_VARIABLE dest_rel)
131 relative_dir(${dir} dest bindir)
133 cmake_path(GET dest PARENT_PATH dest_p)
[all …]
/Zephyr-latest/scripts/build/
Dgen_strsignal_table.py71 dest='input',
77 dest='output',

123456