Searched refs:vector_ptr (Results 1 - 3 of 3) sorted by relevance

/fuchsia/zircon/system/ulib/fidl/
H A Dencoding.cpp467 fidl_vector_t* vector_ptr = TypedAt<fidl_vector_t>(frame->offset); local
469 if (vector_ptr->data == nullptr) {
476 if (vector_ptr->count > frame->vector_state.max_count) {
482 if (mul_overflow(vector_ptr->count, frame->vector_state.element_size, &size)) {
487 if (!ClaimOutOfLineStorage(size, vector_ptr->data, &frame->offset)) {
492 vector_ptr->data = reinterpret_cast<void*>(FIDL_ALLOC_PRESENT);
H A Ddecoding.cpp447 fidl_vector_t* vector_ptr = TypedAt<fidl_vector_t>(frame->offset); local
450 switch (reinterpret_cast<uintptr_t>(vector_ptr->data)) {
457 if (vector_ptr->count != 0u) {
465 if (vector_ptr->count > frame->vector_state.max_count) {
469 if (mul_overflow(vector_ptr->count, frame->vector_state.element_size, &size)) {
475 vector_ptr->data = TypedAt<void>(frame->offset);
H A Dvalidating.cpp436 const fidl_vector_t* vector_ptr = TypedAt<fidl_vector_t>(frame->offset); local
439 switch (reinterpret_cast<uintptr_t>(vector_ptr->data)) {
446 if (vector_ptr->count != 0u) {
454 if (vector_ptr->count > frame->vector_state.max_count) {
458 if (mul_overflow(vector_ptr->count, frame->vector_state.element_size, &size)) {

Completed in 27 milliseconds