Searched refs:consumestr (Results 1 – 4 of 4) sorted by relevance
/external/minijail/ |
D | libminijail_unittest.cc | 39 char *consumestr(char **buf, size_t *buflength); 90 TEST(consumestr, zero) { in TEST() argument 95 EXPECT_EQ(nullptr, consumestr(&pos, &len)); in TEST() 100 TEST(consumestr, nonul) { in TEST() argument 105 EXPECT_EQ(nullptr, consumestr(&pos, &len)); in TEST() 110 TEST(consumestr, full) { in TEST() argument 116 EXPECT_EQ((void *)buf, consumestr(&pos, &len)); in TEST() 121 TEST(consumestr, trailing_nul) { in TEST() argument 127 EXPECT_EQ(nullptr, consumestr(&pos, &len)); in TEST()
|
D | util.h | 87 char *consumestr(char **buf, size_t *buflength);
|
D | libminijail.c | 942 char *user = consumestr(&serialized, &length); in minijail_unmarshal() 968 char *chrootdir = consumestr(&serialized, &length); in minijail_unmarshal() 977 char *alt_syscall_table = consumestr(&serialized, &length); in minijail_unmarshal() 1016 const char *src = consumestr(&serialized, &length); in minijail_unmarshal() 1019 dest = consumestr(&serialized, &length); in minijail_unmarshal() 1022 type = consumestr(&serialized, &length); in minijail_unmarshal() 1030 data = consumestr(&serialized, &length); in minijail_unmarshal() 1044 char *cgroup = consumestr(&serialized, &length); in minijail_unmarshal()
|
D | util.c | 352 char *consumestr(char **buf, size_t *buflength) in consumestr() function
|