Home
last modified time | relevance | path

Searched refs:in_buf (Results 1 – 21 of 21) sorted by relevance

/AliOS-Things-master/components/genie_service/genie_port/hal/
A Dgenie_hal_flash.c48 int32_t hal_flash_write_otp(uint32_t off_set, const void *in_buf, uint32_t in_buf_len) in hal_flash_write_otp() argument
78 int32_t hal_flash_write_xtalcap_params(const void *in_buf, uint32_t in_buf_len) in hal_flash_write_xtalcap_params() argument
92 int32_t hal_flash_write_sn_params(const void *in_buf, uint32_t in_buf_len) in hal_flash_write_sn_params() argument
94 return hal_flash_write_otp(SN_PARAMS_OFFSET, in_buf, in_buf_len); in hal_flash_write_sn_params()
105 int32_t hal_flash_write_mac_params(const void *in_buf, uint32_t in_buf_len) in hal_flash_write_mac_params() argument
107 if (!in_buf || in_buf_len != 6) in hal_flash_write_mac_params()
118 int32_t hal_flash_write_triples(const void *in_buf, uint32_t in_buf_len) in hal_flash_write_triples() argument
120 return hal_flash_write_otp(TRIPLE_OFFSET, in_buf, in_buf_len); in hal_flash_write_triples()
128 int32_t hal_flash_write_group_addr(const void *in_buf, uint32_t in_buf_len) in hal_flash_write_group_addr() argument
130 return hal_flash_write_otp(GROUP_ADDR_OFFSET, in_buf, in_buf_len); in hal_flash_write_group_addr()
A Dflash.h16 int32_t hal_flash_write_triples(const void *in_buf, uint32_t in_buf_len);
36 int32_t hal_flash_write_group_addr(const void *in_buf, uint32_t in_buf_len);
48 int32_t hal_flash_write_xtalcap_params(const void *in_buf, uint32_t in_buf_len);
54 int32_t hal_flash_write_mac_params(const void *in_buf, uint32_t in_buf_len);
64 int32_t hal_flash_write_sn_params(const void *in_buf, uint32_t in_buf_len);
/AliOS-Things-master/components/ota/tools/xz/src/
A Dxz_export.c68 unsigned char* in_buf = NULL; in copy_xz() local
93 if(in_buf == NULL) { in copy_xz()
102 b.in = in_buf; in copy_xz()
178 if(in_buf != NULL) { in copy_xz()
179 ota_free(in_buf); in copy_xz()
180 in_buf = NULL; in copy_xz()
224 if(in_buf == NULL) { in xz_verify_uncompress_file()
234 b.in = in_buf; in xz_verify_uncompress_file()
298 if(in_buf != NULL) { in xz_verify_uncompress_file()
299 ota_free(in_buf); in xz_verify_uncompress_file()
[all …]
/AliOS-Things-master/components/ota/2ndboot/updater/
A Dxzupdater.c78 unsigned char* in_buf = NULL; in ota_copy_xz() local
97 in_buf = malloc(XZ_BUF_SIZE); in ota_copy_xz()
98 if(in_buf == NULL) { in ota_copy_xz()
106 b.in = in_buf; in ota_copy_xz()
180 if(in_buf) { in ota_copy_xz()
181 free(in_buf); in ota_copy_xz()
203 unsigned char* in_buf = NULL; in ota_verify_xz() local
217 if(in_buf == NULL) { in ota_verify_xz()
225 b.in = in_buf; in ota_verify_xz()
288 if(in_buf) { in ota_verify_xz()
[all …]
A Dnbpatch.h20 unsigned char in_buf [IN_BUF_MAX]; member
A Dnbpatch.c61 b->in_size = ota_patch_read(patch, handler->in_buf, handler->read_pos, readsize); in xz_read()
65 b->in = handler->in_buf; in xz_read()
/AliOS-Things-master/components/ota/hal/
A Dota_hal_ctrl.c46 int ota_write(unsigned int *off, char *in_buf, unsigned int in_buf_len) in ota_write() argument
51 if (memcmp(in_buf, "BSDIFF40", 8) == 0) { in ota_write()
53 } else if (memcmp(in_buf, xz_header, 6) == 0) { in ota_write()
59 ret = ota_hal_write(off, in_buf, in_buf_len); in ota_write()
67 ret = ota_hash_update(&hash_ctx, (const unsigned char *)in_buf, tmp_len); in ota_write()
75 ret = ota_hash_update(&hash_ctx, (const unsigned char *)in_buf, in_buf_len); in ota_write()
A Dota_hal_plat.c72 OTA_WEAK int ota_hal_write(unsigned int *off, char *in_buf, unsigned int in_buf_len) in ota_hal_write() argument
85 memcpy(ota_cache + ota_cache_len, in_buf, tocopy); in ota_hal_write()
98 memcpy(ota_cache, in_buf + tocopy, in_buf_len - tocopy); in ota_hal_write()
A Dota_hal_vfs_plat.c113 OTA_WEAK int ota_hal_write(unsigned int *off, char *in_buf, unsigned int in_buf_len) in ota_hal_write() argument
127 memcpy(ota_cache + ota_cache_len, in_buf, tocopy); in ota_hal_write()
145 memcpy(ota_cache, in_buf + tocopy, in_buf_len - tocopy); in ota_hal_write()
/AliOS-Things-master/hardware/chip/rtl872xd/hal/
A Dflash.c54 int32_t hal_flash_write(hal_partition_t in_partition, uint32_t *off_set, const void *in_buf , uint3… in hal_flash_write() argument
62 … if(off_set == NULL || in_buf == NULL || *off_set + in_buf_len > partition_info->partition_length){ in hal_flash_write()
67 ret = flash_stream_write(&flash_obj, start_addr, in_buf_len, (uint8_t *)in_buf); in hal_flash_write()
/AliOS-Things-master/components/amp_adapter/include/peripheral/
A Daos_hal_flash.h152 const void *in_buf, uint32_t in_buf_len);
168 const void *in_buf, uint32_t in_buf_len);
/AliOS-Things-master/components/drivers/peripheral/flash/include/aos/hal/
A Dflash.h154 const void *in_buf, uint32_t in_buf_len);
170 const void *in_buf, uint32_t in_buf_len);
/AliOS-Things-master/hardware/chip/haas1000/hal/
A Dflash.c523 const void *in_buf, uint32_t in_buf_len) in hal_flash_write() argument
552 ret = bes_hal_flash_write(operate_partition_id, start_addr, in_buf, in_buf_len); in hal_flash_write()
576 const void *in_buf, uint32_t in_buf_len) in hal_flash_erase_write() argument
611 ret = bes_hal_flash_write(operate_partition_id, start_addr, in_buf, in_buf_len); in hal_flash_erase_write()
/AliOS-Things-master/components/uvoice/codec/
A Dpvaac_decoder.c209 static int find_box_head(const char *box_type, const uint8_t *in_buf, uint32_t size) in find_box_head() argument
220 f = (char *)in_buf + i; in find_box_head()
336 static void pcm_output(m4a_decoder_t *m4adec, uint8_t *in_buf, uint32_t samples) in pcm_output() argument
367 mdecoder->output(mdecoder->priv, in_buf, samples * 2)) { in pcm_output()
/AliOS-Things-master/components/ota/include/
A Dota_import.h127 int ota_write(unsigned int *off, char *in_buf, unsigned int in_buf_len);
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dmoducryptolib.c267 mp_obj_t in_buf = args[1]; in aes_process() local
274 mp_get_buffer_raise(in_buf, &in_bufinfo, MP_BUFFER_READ); in aes_process()
/AliOS-Things-master/components/csi/csi2/dsp/include/
A Dcsky_math.h1899 q15_t * in_buf,
1909 q31_t * in_buf,
1918 q15_t * in_buf,
1928 q31_t * in_buf,
1937 q15_t * in_buf,
1948 q31_t * in_buf,
1958 q15_t * in_buf,
1969 q31_t * in_buf,
/AliOS-Things-master/components/mbedtls/library/
A Dssl_tls.c2440 ptrdiff_t header_bytes = ssl->in_msg - ssl->in_buf; in ssl_decompress_buf()
3993 ssl->in_buf, ssl->in_left, in ssl_handle_possible_reconnect()
4881 (size_t)( ssl->in_hdr - ssl->in_buf ) ) in ssl_load_buffered_record()
6918 ssl->in_hdr = ssl->in_buf; in ssl_reset_in_out_pointers()
6924 ssl->in_hdr = ssl->in_buf + 8; in ssl_reset_in_out_pointers()
6947 if( ssl->in_buf == NULL ) in mbedtls_ssl_setup()
6970 mbedtls_free( ssl->in_buf ); in mbedtls_ssl_setup()
6975 ssl->in_buf = NULL; in mbedtls_ssl_setup()
7065 memset( ssl->in_buf, 0, MBEDTLS_SSL_IN_BUFFER_LEN ); in ssl_session_reset_int()
9006 if( ssl->in_buf != NULL ) in mbedtls_ssl_free()
[all …]
/AliOS-Things-master/components/mbedtls/include/mbedtls/
A Dssl.h1086 unsigned char *in_buf; /*!< input buffer */ member
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/
A Dunicode_gen.c2856 void check_str(const char *msg, int num, const int *in_buf, int in_len, in check_str() argument
2862 dump_str(" in", in_buf, in_len); in check_str()
A Dlibbf.c7541 NTTLimb *out_buf, NTTLimb *in_buf, in ntt_fft() argument
7561 tab_in = in_buf; in ntt_fft()
7721 static no_inline int ntt_fft(BFNTTState *s, NTTLimb *out_buf, NTTLimb *in_buf, in ntt_fft() argument
7735 tab_in = in_buf; in ntt_fft()

Completed in 88 milliseconds