Searched refs:consumebytes (Results 1 – 6 of 6) sorted by relevance
/external/minijail/ |
D | libminijail_unittest.cc | 108 TEST(consumebytes, zero) { in TEST() argument 112 EXPECT_NE(nullptr, consumebytes(0, &pos, &len)); in TEST() 117 TEST(consumebytes, exact) { in TEST() argument 123 EXPECT_NE(nullptr, consumebytes(len, &pos, &len)); in TEST() 128 TEST(consumebytes, half) { in TEST() argument 134 EXPECT_NE(nullptr, consumebytes(len / 2, &pos, &len)); in TEST() 139 TEST(consumebytes, toolong) { in TEST() argument 144 EXPECT_EQ(nullptr, consumebytes(len + 1, &pos, &len)); in TEST()
|
D | util.c | 440 void *consumebytes(size_t length, char **buf, size_t *buflength) in consumebytes() function 456 return consumebytes(len + 1, buf, buflength); in consumestr()
|
D | util.h | 148 void *consumebytes(size_t length, char **buf, size_t *buflength);
|
D | libminijail.c | 1179 consumebytes(gid_list_size, &serialized, &length); in minijail_unmarshal() 1224 void *program = consumebytes(program_len, &serialized, &length); in minijail_unmarshal() 1257 has_data = consumebytes(sizeof(*has_data), &serialized, in minijail_unmarshal() 1266 flags = consumebytes(sizeof(*flags), &serialized, &length); in minijail_unmarshal()
|
/external/protobuf/php/ext/google/protobuf/ |
D | upb.c | 7761 UPB_FORCEINLINE static void consumebytes(upb_pbdecoder *d, void *buf, in consumebytes() function 7774 consumebytes(d, buf, avail); in getbytes_slow() 7781 consumebytes(d, (char *)buf + avail, bytes); in getbytes_slow() 7798 consumebytes(d, buf, bytes); in getbytes()
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | upb.c | 8473 UPB_FORCEINLINE static void consumebytes(upb_pbdecoder *d, void *buf, in consumebytes() function 8486 consumebytes(d, buf, avail); in getbytes_slow() 8493 consumebytes(d, (char *)buf + avail, bytes); in getbytes_slow() 8510 consumebytes(d, buf, bytes); in getbytes()
|