| /components/utilities/utest/ |
| A D | utest_assert.h | 26 void utest_assert_buf(const char *a, const char *b, rt_size_t sz, rt_bool_t equal, const char *file… 109 #define uassert_buf_equal(a, b, sz) utest_assert_buf((const char*)(a), (const char*)(b), (sz),… argument 110 #define uassert_buf_not_equal(a, b, sz) utest_assert_buf((const char*)(a), (const char*)(b), (sz),… argument
|
| A D | utest.c | 478 void utest_assert_buf(const char *a, const char *b, rt_size_t sz, rt_bool_t equal, const char *file… in utest_assert_buf() argument 487 if (rt_memcmp(a, b, sz) == 0) in utest_assert_buf() 498 if (rt_memcmp(a, b, sz) == 0) in utest_assert_buf()
|
| /components/utilities/libadt/uthash/ |
| A D | rt_uthash.h | 15 #define uthash_malloc(sz) rt_malloc(sz) argument 16 #define uthash_free(ptr, sz) rt_free(ptr) argument
|
| A D | uthash.h | 78 #define uthash_malloc(sz) malloc(sz) /* malloc fcn */ argument 81 #define uthash_free(ptr,sz) free(ptr) /* free fcn */ argument
|
| /components/drivers/ofw/ |
| A D | raw.c | 55 #define FDT_RAW_GET_VAL_FLAG(std_type, s, sz) \ argument 56 int fdt_getprop_##std_type##sz(void *fdt, int nodeoffset, \ 57 const char *name, s##int##sz##_t *out_value, int *lenp) \ 62 const fdt##sz##_t *ptr; \ 65 *out_value = fdt##sz##_to_cpu(*ptr); \
|
| /components/legacy/fdt/src/ |
| A D | dtb_access.c | 67 uint32_t *out_values, size_t sz) in dtb_node_read_u32_array() argument 73 sz * sizeof(*out_values)); in dtb_node_read_u32_array() 78 debug("size %zd, val:%d\n", sz, *val); in dtb_node_read_u32_array() 79 while (sz--) in dtb_node_read_u32_array() 462 size_t sz, int skip) in dtb_node_property_read_string_helper() argument 475 for (i = 0; p < end && (!out_strs || i < skip + sz); i++, p += l) in dtb_node_property_read_string_helper()
|
| A D | dtb_base.c | 340 size_t sz) in dtb_node_read_u8_array_ptr() argument 345 if (!prop || sz != psize) in dtb_node_read_u8_array_ptr()
|
| /components/drivers/block/partitions/ |
| A D | efi.c | 96 rt_uint32_t sz = 0; in is_pmbr_valid() local 149 sz = rt_le32_to_cpu(mbr->partition_record[part].size_in_lba); in is_pmbr_valid() 151 if (sz != (rt_uint32_t)total_sectors - 1 && sz != 0xffffffff) in is_pmbr_valid() 154 sz, rt_min_t(rt_uint32_t, total_sectors - 1, 0xffffffff)); in is_pmbr_valid()
|
| /components/dfs/dfs_v1/filesystems/iso9660/ |
| A D | dfs_iso9660.c | 222 rt_size_t sz, len, namelen; in iso9660_lookup() local 263 sz = 0; in iso9660_lookup() 271 sz += dlen; in iso9660_lookup() 273 if (ISO9660_BLKSZ - sz < sizeof(*dirent)) in iso9660_lookup() 281 sz = 0; in iso9660_lookup() 360 sz = 0; in iso9660_lookup()
|
| /components/legacy/fdt/inc/ |
| A D | dtb_node.h | 176 uint32_t *out_values, size_t sz); 208 size_t sz, int skip); 336 uint32_t *out_values, size_t sz); 358 … uint8_t *dtb_node_read_u8_array_ptr(const struct dtb_node *node, const char *propname, size_t sz);
|
| /components/net/lwip/lwip-2.1.2/src/apps/altcp_tls/ |
| A D | altcp_tls_mbedtls.c | 675 size_t sz; in altcp_tls_create_config() local 687 sz = sizeof(struct altcp_tls_config); in altcp_tls_create_config() 689 sz += sizeof(mbedtls_x509_crt); in altcp_tls_create_config() 692 sz += sizeof(mbedtls_x509_crt); in altcp_tls_create_config() 695 sz += sizeof(mbedtls_pk_context); in altcp_tls_create_config() 698 conf = (struct altcp_tls_config *)altcp_mbedtls_alloc_config(sz); in altcp_tls_create_config()
|
| /components/net/lwip/lwip-2.1.2/test/unit/api/ |
| A D | test_sockets.c | 219 …c void test_sockets_init_loopback_addr(int domain, struct sockaddr_storage *addr_st, socklen_t *sz) in test_sockets_init_loopback_addr() argument 230 *sz = sizeof(*addr); in test_sockets_init_loopback_addr() 240 *sz = sizeof(*addr); in test_sockets_init_loopback_addr() 245 *sz = 0; in test_sockets_init_loopback_addr()
|
| /components/lwp/ |
| A D | lwp_syscall.c | 9602 sysret_t sys_statfs64(const char *path, size_t sz, struct statfs *buf) in sys_statfs64() argument 9615 if (sz != sizeof(struct statfs)) in sys_statfs64() 9721 sysret_t sys_fstatfs64(int fd, size_t sz, struct statfs *buf) in sys_fstatfs64() argument 9731 if (sz != sizeof(struct statfs)) in sys_fstatfs64()
|