Lines Matching refs:dptr
19 struct zcbor_map_decode_key_val *dptr = map; in zcbor_map_decode_bulk() local
36 if (dptr >= (map + map_size)) { in zcbor_map_decode_bulk()
37 dptr = map; in zcbor_map_decode_bulk()
40 if (key.len == dptr->key.len && in zcbor_map_decode_bulk()
41 memcmp(key.value, dptr->key.value, key.len) == 0) { in zcbor_map_decode_bulk()
43 if (dptr->found) { in zcbor_map_decode_bulk()
46 if (!dptr->decoder(zsd, dptr->value_ptr)) { in zcbor_map_decode_bulk()
55 dptr->found = true; in zcbor_map_decode_bulk()
57 ++dptr; in zcbor_map_decode_bulk()
62 ++dptr; in zcbor_map_decode_bulk()
78 struct zcbor_map_decode_key_val *dptr = map; in zcbor_map_decode_bulk_key_found() local
83 while (dptr < (map + map_size)) { in zcbor_map_decode_bulk_key_found()
84 if (dptr->key.value == (const uint8_t *)key) { in zcbor_map_decode_bulk_key_found()
85 return dptr->found; in zcbor_map_decode_bulk_key_found()
87 ++dptr; in zcbor_map_decode_bulk_key_found()
92 dptr = map; in zcbor_map_decode_bulk_key_found()
94 while (dptr < (map + map_size)) { in zcbor_map_decode_bulk_key_found()
95 if (dptr->key.len == key_len && in zcbor_map_decode_bulk_key_found()
96 memcmp(key, dptr->key.value, key_len) == 0) { in zcbor_map_decode_bulk_key_found()
97 return dptr->found; in zcbor_map_decode_bulk_key_found()
99 ++dptr; in zcbor_map_decode_bulk_key_found()