/external/minijail/ |
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));
|
util.h | 71 * consumebytes: consumes @length bytes from a buffer @buf of length @buflength 78 void *consumebytes(size_t length, char **buf, size_t *buflength);
|
util.c | 342 void *consumebytes(size_t length, char **buf, size_t *buflength) function 358 return consumebytes(len + 1, buf, buflength);
|
libminijail.c | 956 consumebytes(gid_list_size, &serialized, &length); 992 void *program = consumebytes(program_len, &serialized, &length); 1025 has_data = consumebytes(sizeof(*has_data), &serialized, 1034 flags = consumebytes(sizeof(*flags), &serialized, &length); [all...] |
/external/protobuf/php/ext/google/protobuf/ |
upb.c | 7761 UPB_FORCEINLINE static void consumebytes(upb_pbdecoder *d, void *buf, function [all...] |
/external/protobuf/ruby/ext/google/protobuf_c/ |
upb.c | 8473 UPB_FORCEINLINE static void consumebytes(upb_pbdecoder *d, void *buf, function [all...] |