Lines Matching refs:a_data_ptr

59 uint32_t get_checksum(void *a_data_ptr, size_t a_data_size)  in get_checksum()  argument
61 uint32_t *ptr32 = a_data_ptr; in get_checksum()
96 tbd_error_t validate_anysize(void *a_data_ptr) in validate_anysize() argument
103 tbd_header_t *header_ptr = a_data_ptr; in validate_anysize()
125 eof_ptr = (uint8_t *)(a_data_ptr) + header_ptr->size; in validate_anysize()
171 tbd_error_t validate(void *a_data_ptr, size_t a_data_size) in validate() argument
174 tbd_header_t *header_ptr = a_data_ptr; in validate()
195 return validate_anysize(a_data_ptr); in validate()
209 tbd_error_t tbd_create(void *a_data_ptr, size_t a_data_size in tbd_create() argument
221 memset(a_data_ptr, 0, sizeof(tbd_header_t)); in tbd_create()
224 header_ptr = a_data_ptr; in tbd_create()
247 tbd_error_t tbd_validate_anytag(void *a_data_ptr, size_t a_data_size) in tbd_validate_anytag() argument
253 if ((r = validate(a_data_ptr, a_data_size))) { in tbd_validate_anytag()
258 header_ptr = a_data_ptr; in tbd_validate_anytag()
286 tbd_error_t tbd_validate(void *a_data_ptr, size_t a_data_size in tbd_validate() argument
293 if ((r = validate(a_data_ptr, a_data_size))) { in tbd_validate()
298 header_ptr = a_data_ptr; in tbd_validate()
344 tbd_error_t tbd_get_record(void *a_data_ptr in tbd_get_record() argument
353 if ((r = validate_anysize(a_data_ptr))) { in tbd_get_record()
358 header_ptr = a_data_ptr; in tbd_get_record()
362 eof_ptr = (uint8_t *)(a_data_ptr) + header_ptr->size; in tbd_get_record()
412 tbd_error_t tbd_insert_record(void *a_data_ptr, size_t a_data_size in tbd_insert_record() argument
423 if ((r = validate(a_data_ptr, a_data_size))) { in tbd_insert_record()
428 header_ptr = a_data_ptr; in tbd_insert_record()
451 record_ptr = (tbd_record_header_t *)((char *)(a_data_ptr) + header_ptr->size); in tbd_insert_record()
485 tbd_error_t tbd_remove_record(void *a_data_ptr in tbd_remove_record() argument
495 if ((r = validate_anysize(a_data_ptr))) { in tbd_remove_record()
500 header_ptr = a_data_ptr; in tbd_remove_record()
504 eof_ptr = (uint8_t *)(a_data_ptr) + header_ptr->size; in tbd_remove_record()
551 tbd_error_t tbd_infoprint(void *a_data_ptr, size_t a_data_size in tbd_infoprint() argument
562 if ((r = validate(a_data_ptr, a_data_size))) { in tbd_infoprint()
567 header_ptr = a_data_ptr; in tbd_infoprint()
580 eof_ptr = (uint8_t *)(a_data_ptr) + header_ptr->size; in tbd_infoprint()