Searched refs:GetIntPtr (Results 1 – 2 of 2) sorted by relevance
37 const uint32_t* GetIntPtr(const char* ptr) { in GetIntPtr() function61 uint32_t num_strings = *GetIntPtr(buffer_ptr); in VerifyStringTensorBuffer()81 if (*GetIntPtr(buffer_ptr + offset) != header_offsets) { in VerifyStringTensorBuffer()89 int string_offset = *GetIntPtr(buffer_ptr + offset); in VerifyStringTensorBuffer()96 if (*GetIntPtr(buffer_ptr + offset - sizeof(int32_t)) != buffer_size) { in VerifyStringTensorBuffer()
27 int32_t* GetIntPtr(char* ptr) { return reinterpret_cast<int32_t*>(ptr); } in GetIntPtr() function105 return *GetIntPtr(tensor->data.raw); in GetStringCount()110 GetIntPtr(tensor->data.raw + sizeof(int32_t) * (string_index + 1)); in GetString()