Lines Matching refs:lg2
490 int lg2 = op - OP_FIXPCK_LG2(0); in decode_toarray() local
491 int mask = (1 << lg2) - 1; in decode_toarray()
492 int count = val.str_val.size >> lg2; in decode_toarray()
497 mem = UPB_PTR_AT(_upb_array_ptr(arr), arr->len << lg2, void); in decode_toarray()
506 int lg2 = op - OP_VARPCK_LG2(0); in decode_toarray() local
507 int scale = 1 << lg2; in decode_toarray()
510 char *out = UPB_PTR_AT(_upb_array_ptr(arr), arr->len << lg2, void); in decode_toarray()
516 out = UPB_PTR_AT(_upb_array_ptr(arr), arr->len << lg2, void); in decode_toarray()
1333 int lg2 = _upb_fieldtype_to_sizelg2[type]; in _upb_array_append_fallback() local
1339 memcpy(data + (elem << lg2), value, 1 << lg2); in _upb_array_append_fallback()
5333 int lg2 = arr->data & 7; in upb_array_get() local
5335 memcpy(&ret, data + (i << lg2), 1 << lg2); in upb_array_get()
5341 int lg2 = arr->data & 7; in upb_array_set() local
5343 memcpy(data + (i << lg2), &val, 1 << lg2); in upb_array_set()