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 | 89 char *consumestr(char **buf, size_t *buflength);
|
D | libminijail.c | 983 char *user = consumestr(&serialized, &length); in minijail_unmarshal() 1009 char *chrootdir = consumestr(&serialized, &length); in minijail_unmarshal() 1018 char *hostname = consumestr(&serialized, &length); in minijail_unmarshal() 1027 char *alt_syscall_table = consumestr(&serialized, &length); in minijail_unmarshal() 1066 const char *src = consumestr(&serialized, &length); in minijail_unmarshal() 1069 dest = consumestr(&serialized, &length); in minijail_unmarshal() 1072 type = consumestr(&serialized, &length); in minijail_unmarshal() 1080 data = consumestr(&serialized, &length); in minijail_unmarshal() 1094 char *cgroup = consumestr(&serialized, &length); in minijail_unmarshal()
|
D | util.c | 293 char *consumestr(char **buf, size_t *buflength) in consumestr() function
|