/Zephyr-latest/lib/libc/minimal/source/string/ |
D | string.c | 22 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/ |
D | nsi_cmdline_common.c | 122 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 …]
|
D | timer_model.c | 40 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/ |
D | cmdline_common.c | 120 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 …]
|
D | cmdline_common.h | 63 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/ |
D | soc_util.h | 12 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/ |
D | kernel_tls.h | 43 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/ |
D | ecst_args.py | 187 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/ |
D | socks.h | 24 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/ |
D | can_mcux_flexcan.c | 486 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/ |
D | tls_credentials_digest_raw.c | 24 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/ |
D | comm_widget.c | 15 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()
|
D | timestamp.c | 24 #define BITS_COPY(dest, src, mask) ((dest) = ((dest) & ~(mask)) | ((src) & (mask))) argument
|
/Zephyr-latest/boards/native/nrf_bsim/ |
D | argparse.c | 46 .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/ |
D | mec_spi_gen.py | 244 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/ |
D | main.c | 276 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/ |
D | phy_sync_ctrl.c | 143 .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/ |
D | esiost_args.py | 102 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/ |
D | main.c | 20 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/ |
D | jwt_legacy_rsa.c | 21 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/ |
D | pipes.c | 202 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/ |
D | dma_nxp_sof_host_dma.c | 43 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/ |
D | list_backports.py | 60 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/ |
D | llext-edk.cmake | 69 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/ |
D | gen_strsignal_table.py | 71 dest='input', 77 dest='output',
|