/AliOS-Things-master/components/linkkit/wrappers/os/ |
A D | HAL_PRODUCT_rhino.c | 29 int len; in HAL_SetProductKey() local 46 int len; in HAL_SetDeviceName() local 64 int len; in HAL_SetProductSecret() local 82 int len; in HAL_SetDeviceSecret() local 99 int len = strlen(_product_key); in HAL_GetProductKey() local 113 int len = strlen(_product_secret); in HAL_GetProductSecret() local 134 int len = strlen(_device_name); in HAL_GetDeviceName() local 147 int len = strlen(_device_secret); in HAL_GetDeviceSecret() local 166 int res, len; in HAL_SaveDeviceIdentity() local
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/multimedia/speech/inc/ |
A D | speech_utils.h | 19 #define SPEECH_FRAME_LEN_TO_MS(fs, len) ( (len) / ( (fs) / 1000) ) argument 22 inline void speech_set_int16(short *dst, short v, int len) in speech_set_int16() 30 inline void speech_set_int32(int *dst, int v, int len) in speech_set_int32() 38 inline void speech_set_f32(float *dst, float v, int len) in speech_set_f32() 46 static inline void speech_copy_int16(short *dst, short *src, int len) in speech_copy_int16() 54 inline void speech_copy_f32(float *dst, float *src, int len) in speech_copy_f32()
|
/AliOS-Things-master/components/mbedtls/library/ |
A D | asn1parse.c | 52 size_t *len ) in mbedtls_asn1_get_len() 110 size_t *len, int tag ) in mbedtls_asn1_get_tag() 128 size_t len; in mbedtls_asn1_get_bool() local 147 size_t len; in mbedtls_asn1_get_int() local 172 size_t len; in mbedtls_asn1_get_mpi() local 219 size_t *len ) in mbedtls_asn1_get_bitstring_null() 243 size_t len; in mbedtls_asn1_get_sequence_of() local 292 size_t len; in mbedtls_asn1_get_alg() local 373 const char *oid, size_t len ) in mbedtls_asn1_find_named_data()
|
A D | asn1write.c | 42 int mbedtls_asn1_write_len( unsigned char **p, unsigned char *start, size_t len ) in mbedtls_asn1_write_len() 119 size_t len = 0; in mbedtls_asn1_write_raw_buffer() local 135 size_t len = 0; in mbedtls_asn1_write_mpi() local 172 size_t len = 0; in mbedtls_asn1_write_null() local 186 size_t len = 0; in mbedtls_asn1_write_oid() local 201 size_t len = 0; in mbedtls_asn1_write_algorithm_identifier() local 220 size_t len = 0; in mbedtls_asn1_write_bool() local 237 size_t len = 0; in mbedtls_asn1_write_int() local 264 size_t len = 0; in mbedtls_asn1_write_tagged_string() local 297 size_t len = 0, size; in mbedtls_asn1_write_bitstring() local [all …]
|
A D | entropy_poll.c | 66 int mbedtls_platform_entropy_poll( void *data, unsigned char *output, size_t len, in mbedtls_platform_entropy_poll() 120 unsigned char *output, size_t len, size_t *olen ) in mbedtls_platform_entropy_poll() 171 unsigned char *output, size_t len, size_t *olen ) in mbedtls_null_entropy_poll() 188 unsigned char *output, size_t len, size_t *olen ) in mbedtls_hardclock_poll() 206 unsigned char *output, size_t len, size_t *olen ) in mbedtls_havege_poll() 222 unsigned char *output, size_t len, size_t *olen ) in mbedtls_nv_seed_poll()
|
/AliOS-Things-master/components/debug/src/ |
A D | debug_cli_cmd.c | 51 static void debug_cmd(char *buf, int32_t len, int32_t argc, char **argv) in debug_cmd() 56 static void version_cmd(char *buf, int32_t len, int32_t argc, char **argv) in version_cmd() 65 static void uptime_cmd(char *buf, int32_t len, int32_t argc, char **argv) in uptime_cmd() 70 static void msleep_cmd(char *buf, int32_t len, int32_t argc, char **argv) in msleep_cmd() 87 static void devname_cmd(char *buf, int32_t len, int32_t argc, char **argv) in devname_cmd() 99 static void pmem_cmd(char *buf, int32_t len, int32_t argc, char **argv) in pmem_cmd() 174 static void mmem_cmd(char *buf, int32_t len, int32_t argc, char **argv) in mmem_cmd() 222 static void func_cmd(char *buf, int32_t len, int32_t argc, char **argv) in func_cmd() 251 static void debug_panic_runto_cli(char *buf, int32_t len, int32_t argc, char **argv) in debug_panic_runto_cli()
|
/AliOS-Things-master/hardware/chip/rtl872xd/2nd_boot/ |
A D | rec_flash.c | 14 static void flash_read_data(UINT8 *buffer, UINT32 address, UINT32 len) in flash_read_data() 19 static void flash_write_data(UINT8 *buffer, UINT32 address, UINT32 len) in flash_write_data() 37 void rec_flash_read_data(unsigned char *buffer, unsigned long offset, unsigned long len) in rec_flash_read_data() 43 void rec_flash_write_data(unsigned char *buffer, unsigned long offset, unsigned long len) in rec_flash_write_data()
|
/AliOS-Things-master/components/linkkit/infra/ |
A D | infra_net.c | 28 static int read_ssl(utils_network_pt pNetwork, char *buffer, uint32_t len, in read_ssl() 40 uint32_t len, uint32_t timeout_ms) in write_ssl() 101 static int read_ssl(utils_network_pt pNetwork, char *buffer, uint32_t len, in read_ssl() 113 uint32_t len, uint32_t timeout_ms) in write_ssl() 171 static int read_tcp(utils_network_pt pNetwork, char *buffer, uint32_t len, in read_tcp() 178 uint32_t len, uint32_t timeout_ms) in write_tcp() 212 static int read_tcp(utils_network_pt pNetwork, char *buffer, uint32_t len, in read_tcp() 219 uint32_t len, uint32_t timeout_ms) in write_tcp() 254 int utils_net_read(utils_network_pt pNetwork, char *buffer, uint32_t len, in utils_net_read() 267 int utils_net_write(utils_network_pt pNetwork, const char *buffer, uint32_t len, in utils_net_write()
|
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | frozenmod.c | 47 const char *mp_find_frozen_str(const char *str, size_t *len) { in mp_find_frozen_str() 63 STATIC mp_lexer_t *mp_lexer_frozen_str(const char *str, size_t len) { in mp_lexer_frozen_str() 85 STATIC const mp_raw_code_t *mp_find_frozen_mpy(const char *str, size_t len) { in mp_find_frozen_mpy() 102 size_t len = strlen(str); in mp_frozen_stat_helper() local 138 int mp_find_frozen_module(const char *str, size_t len, void **data) { in mp_find_frozen_module()
|
A D | sequence.c | 38 void mp_seq_multiply(const void *items, size_t item_sz, size_t len, size_t times, void *dest) { in mp_seq_multiply() 48 bool mp_seq_get_fast_slice_indexes(mp_uint_t len, mp_obj_t slice, mp_bound_slice_t *indexes) { in mp_seq_get_fast_slice_indexes() 68 mp_obj_t mp_seq_extract_slice(size_t len, const mp_obj_t *seq, mp_bound_slice_t *indexes) { in mp_seq_extract_slice() 152 size_t len = len1 < len2 ? len1 : len2; in mp_seq_cmp_objs() local 185 mp_obj_t mp_seq_index_obj(const mp_obj_t *items, size_t len, size_t n_args, const mp_obj_t *args) { in mp_seq_index_obj() 208 mp_obj_t mp_seq_count_obj(const mp_obj_t *items, size_t len, mp_obj_t value) { in mp_seq_count_obj()
|
/AliOS-Things-master/components/ucloud_ai/src/ |
A D | ucloud_ai_ocr.c | 15 int len; in ucloud_ai_ocr_recognize_identity_card_face_side() local 30 int len; in ucloud_ai_ocr_recognize_identity_card_back_side() local 45 int len; in ucloud_ai_ocr_recognize_bank_card() local 60 int len; in ucloud_ai_ocr_recognize_character() local
|
A D | ucloud_ai_facebody.c | 14 int len; in ucloud_ai_facebody_comparing_face() local 45 int len; in ucloud_ai_facebody_recognize_expression() local 60 int len; in ucloud_ai_facebody_generate_human_anime_style() local
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/ |
A D | efuse_api.c | 77 int efuse_mtp_write(uint8_t *data, uint8_t len) in efuse_mtp_write() 107 int efuse_otp_read(u8 address, u8 len, u8 *buf) in efuse_otp_read() 138 int efuse_otp_write(u8 address, u8 len, u8 *buf) in efuse_otp_write() 162 int efuse_otp_chk(u8 len, u8 *buf) in efuse_otp_chk()
|
/AliOS-Things-master/components/ble_host/bt_crypto/tinycrypt/source/ |
A D | ctr_prng.c | 53 static void arrInc(uint8_t arr[], unsigned int len) in arrInc() 79 unsigned int len = 0U; in tc_ctr_prng_update() local 131 unsigned int len = pLen; in tc_ctr_prng_init() local 177 unsigned int len = additionallen; in tc_ctr_prng_reseed() local 227 unsigned int len = additionallen; in tc_ctr_prng_generate() local 238 unsigned int len = 0U; in tc_ctr_prng_generate() local
|
/AliOS-Things-master/components/ble_host/bt_host/port/core/settings/src/ |
A D | settings_runtime.c | 15 size_t len; member 18 static ssize_t settings_runtime_read_cb(void *cb_arg, void *data, size_t len) in settings_runtime_read_cb() 26 int settings_runtime_set(const char *name, const void *data, size_t len) in settings_runtime_set() 42 int settings_runtime_get(const char *name, void *data, size_t len) in settings_runtime_get()
|
/AliOS-Things-master/components/vfs/example/ |
A D | vfs_example.c | 31 static int32_t driver_vfs_read(vfs_file_t *fp, char *buf, uint32_t len) in driver_vfs_read() 37 static int32_t driver_vfs_write(vfs_file_t *fp, const char *buf, uint32_t len) in driver_vfs_write() 69 uint32_t len = 0; in driver_vfs_example() local 110 static int32_t fs_vfs_read(vfs_file_t *fp, char *buf, uint32_t len) in fs_vfs_read() 115 static int32_t fs_vfs_write(vfs_file_t *fp, const char *buf, uint32_t len) in fs_vfs_write() 132 uint32_t len = 0; in fs_vfs_example() local
|
/AliOS-Things-master/components/py_engine/engine/drivers/bus/ |
A D | softqspi.c | 83 STATIC void mp_soft_qspi_transfer(mp_soft_qspi_obj_t *self, size_t len, const uint8_t *src, uint8_t… in mp_soft_qspi_transfer() 122 STATIC void mp_soft_qspi_qread(mp_soft_qspi_obj_t *self, size_t len, uint8_t *buf) { in mp_soft_qspi_qread() 140 STATIC void mp_soft_qspi_qwrite(mp_soft_qspi_obj_t *self, size_t len, const uint8_t *buf) { in mp_soft_qspi_qwrite() 161 STATIC void mp_soft_qspi_write_cmd_data(void *self_in, uint8_t cmd, size_t len, uint32_t data) { in mp_soft_qspi_write_cmd_data() 169 STATIC void mp_soft_qspi_write_cmd_addr_data(void *self_in, uint8_t cmd, uint32_t addr, size_t len,… in mp_soft_qspi_write_cmd_addr_data() 179 STATIC uint32_t mp_soft_qspi_read_cmd(void *self_in, uint8_t cmd, size_t len) { in mp_soft_qspi_read_cmd() 188 STATIC void mp_soft_qspi_read_cmd_qaddr_qdata(void *self_in, uint8_t cmd, uint32_t addr, size_t len… in mp_soft_qspi_read_cmd_qaddr_qdata()
|
/AliOS-Things-master/components/ota/tools/xz/src/ |
A D | xz_hal_plat.c | 4 int xz_flash_erase(hal_partition_t flash_partition, unsigned int offset, unsigned int len) in xz_flash_erase() 11 …data(hal_partition_t flash_partition, unsigned int offset, unsigned char *buffer, unsigned int len) in xz_flash_read_data() 19 …data(hal_partition_t flash_partition, unsigned int offset, unsigned char *buffer, unsigned int len) in xz_flash_write_data()
|
/AliOS-Things-master/components/linkkit/wifi_provision/smartconfig/ |
A D | awss_smartconfig.c | 8 uint8_t is_start_frame(uint16_t len) in is_start_frame() 13 uint8_t is_group_frame(uint16_t len) in is_group_frame() 19 uint8_t is_data_frame(uint16_t len) in is_data_frame() 37 uint8_t get_group_index(uint16_t len) in get_group_index() 46 uint8_t get_data_index(uint16_t len) in get_data_index() 74 uint8_t len; /* total len, include len(1B) & crc(2B) */ in zconfig_get_data_len() local 108 uint8_t len, flag, ssid_len, passwd_len; in zconfig_recv_completed() local 410 uint16_t len) in package_cmp() 421 uint16_t len) in package_save() 812 int awss_ieee80211_smartconfig_process(uint8_t *ieee80211, int len, in awss_ieee80211_smartconfig_process() [all …]
|
/AliOS-Things-master/components/uvoice/example/ |
A D | uvoice_example.c | 19 static void cmd_play_handler(char *buf, int len, int argc, char **argv) in cmd_play_handler() 24 static void cmd_record_handler(char *buf, int len, int argc, char **argv) in cmd_record_handler() 29 static void cmd_tts_handler(char *buf, int len, int argc, char **argv) in cmd_tts_handler()
|
/AliOS-Things-master/components/py_engine/external/unzip/src/ |
A D | gzread.c | 21 local int gz_load(state, buf, len, have) in gz_load() argument 109 unsigned len; local 238 unsigned long crc, len; local 330 local int gz_skip(state, len) in gz_skip() argument 362 int ZEXPORT gzread(file, buf, len) in gzread() argument 539 char * ZEXPORT gzgets(file, buf, len) in gzgets() argument
|
/AliOS-Things-master/components/linkkit/wifi_provision/frameworks/utils/ |
A D | zconfig_utils.c | 10 void dump_hex(uint8_t *data, int len, int tab_num) in dump_hex() 24 uint16_t zconfig_checksum_v3(uint8_t *data, uint8_t len) in zconfig_checksum_v3() 43 uint16_t zconfig_checksum_v5(uint8_t *data, uint8_t len) in zconfig_checksum_v5()
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/common/src/ |
A D | bt_vendor_drv.c | 23 static bool bt_vendor_init_callback(T_HCI_IF_EVT evt, bool status, uint8_t *p_buf, uint32_t len) in bt_vendor_init_callback() 107 size_t bt_vendor_drv_rx(uint8_t *data, size_t len) in bt_vendor_drv_rx() 119 size_t bt_vendor_drv_tx(uint8_t *data, size_t len, void *reserve) in bt_vendor_drv_tx()
|
/AliOS-Things-master/hardware/chip/haas1000/hal/2ndboot/ |
A D | flash.c | 21 int flash_erase(unsigned int offset, unsigned int len) in flash_erase() 48 int flash_read_data(unsigned int offset, unsigned char *buf, unsigned int len) in flash_read_data() 76 int flash_write_data(unsigned int offset, unsigned char *buf, unsigned int len) in flash_write_data()
|
/AliOS-Things-master/components/linkkit/wrappers/platform/os/ |
A D | HAL_OS_yoc.c | 36 int HAL_Kv_Set(const char *key, const void *val, int len, int sync) in HAL_Kv_Set() 206 int HAL_Snprintf(char *str, const int len, const char *fmt, ...) in HAL_Snprintf() 252 int len = strlen(_device_name); in HAL_GetDeviceName() local 271 int len = strlen(_device_secret); in HAL_GetDeviceSecret() local 290 int len = strlen(_product_key); in HAL_GetProductKey() local 309 int len = strlen(_product_secret); in HAL_GetProductSecret() local 328 int len; in HAL_SetDeviceName() local 350 int len; in HAL_SetDeviceSecret() local 371 int len; in HAL_SetProductKey() local 393 int len; in HAL_SetProductSecret() local [all …]
|