Searched refs:OBJ_MAX_SIZE (Results 1 – 3 of 3) sorted by relevance
25 #define OBJ_MAX_SIZE 1024 macro35 static unsigned char obj_data_buf[OBJ_MAX_SIZE];135 size_to_write = MIN(OBJ_MAX_SIZE, otc.cur_object.size.alloc); in otc_btn_work_fn()568 (void)memset(obj_data_buf, 0, OBJ_MAX_SIZE); in on_obj_selected()578 if ((offset + len) > OBJ_MAX_SIZE) { in on_obj_data_read()581 (void)memcpy((obj_data_buf + offset), data_p, MIN((OBJ_MAX_SIZE - offset), len)); in on_obj_data_read()587 (void)memset(obj_data_buf, 0, OBJ_MAX_SIZE); in on_obj_data_read()604 if (ots_inst->cur_object.size.cur > OBJ_MAX_SIZE) { in on_obj_metadata_read()
20 #define OBJ_MAX_SIZE 100 macro23 uint8_t data[OBJ_MAX_SIZE];160 if (add_param->size > OBJ_MAX_SIZE) { in ots_obj_created()178 created_desc->size.alloc = OBJ_MAX_SIZE; in ots_obj_created()
24 #define OBJ_MAX_SIZE 100 macro36 uint8_t data[OBJ_MAX_SIZE];86 if (add_param->size > OBJ_MAX_SIZE) { in ots_obj_created()101 created_desc->size.alloc = OBJ_MAX_SIZE; in ots_obj_created()