Searched refs:consumebytes (Results 1 - 6 of 6) sorted by relevance
/external/minijail/ |
H A D | libminijail_unittest.cc | 38 void *consumebytes(size_t length, char **buf, size_t *buflength); 49 TEST(consumebytes, zero) { 53 EXPECT_NE(nullptr, consumebytes(0, &pos, &len)); 58 TEST(consumebytes, exact) { 64 EXPECT_NE(nullptr, consumebytes(len, &pos, &len)); 69 TEST(consumebytes, half) { 75 EXPECT_NE(nullptr, consumebytes(len / 2, &pos, &len)); 80 TEST(consumebytes, toolong) { 85 EXPECT_EQ(nullptr, consumebytes(len + 1, &pos, &len));
|
H A D | util.h | 73 * consumebytes: consumes @length bytes from a buffer @buf of length @buflength 80 void *consumebytes(size_t length, char **buf, size_t *buflength);
|
H A D | util.c | 283 void *consumebytes(size_t length, char **buf, size_t *buflength) function 299 return consumebytes(len + 1, buf, buflength);
|
H A D | libminijail.c | 997 consumebytes(gid_list_size, &serialized, &length); 1042 void *program = consumebytes(program_len, &serialized, &length); 1075 has_data = consumebytes(sizeof(*has_data), &serialized, 1084 flags = consumebytes(sizeof(*flags), &serialized, &length);
|
/external/protobuf/php/ext/google/protobuf/ |
H A D | upb.c | 7761 UPB_FORCEINLINE static void consumebytes(upb_pbdecoder *d, void *buf, function 7774 consumebytes(d, buf, avail); 7781 consumebytes(d, (char *)buf + avail, bytes); 7798 consumebytes(d, buf, bytes);
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
H A D | upb.c | 8473 UPB_FORCEINLINE static void consumebytes(upb_pbdecoder *d, void *buf, function 8486 consumebytes(d, buf, avail); 8493 consumebytes(d, (char *)buf + avail, bytes); 8510 consumebytes(d, buf, bytes);
|
Completed in 215 milliseconds