Searched refs:max_len (Results 1 – 2 of 2) sorted by relevance
/base/security/device_auth/frameworks/deviceauth_lite/source/json/ |
D | commonutil.c | 85 …byte_convert(json_pobject obj, const char *field, uint8_t *hex, uint32_t *length, uint32_t max_len) in byte_convert() argument 93 if ((len / BYTE_TO_HEX_OPER_LENGTH) > max_len) { in byte_convert() 103 …ring_convert(json_pobject obj, const char *field, uint8_t *str, uint32_t *length, uint32_t max_len) in string_convert() argument 111 if (len > max_len) { in string_convert() 114 if (memcpy_s(str, max_len, str_json, len) != EOK) { in string_convert()
|
D | commonutil.h | 29 …yte_convert(json_pobject obj, const char *field, uint8_t *hex, uint32_t *length, uint32_t max_len); 30 …ing_convert(json_pobject obj, const char *field, uint8_t *str, uint32_t *length, uint32_t max_len);
|