HomeSort by relevance Sort by last modified time
    Searched refs:consumebytes (Results 1 - 2 of 2) sorted by null

  /external/minijail/
libminijail_unittest.c 20 void *consumebytes(size_t length, char **buf, size_t *buflength);
34 EXPECT_NE(NULL, consumebytes(0, &pos, &len));
45 EXPECT_NE(NULL, consumebytes(len, &pos, &len));
56 EXPECT_NE(NULL, consumebytes(len / 2, &pos, &len));
66 EXPECT_EQ(NULL, consumebytes(len + 1, &pos, &len));
libminijail.c 726 * consumebytes: consumes @length bytes from a buffer @buf of length @buflength
733 void *consumebytes(size_t length, char **buf, size_t *buflength) function
756 return consumebytes(len + 1, buf, buflength);
791 consumebytes(gid_list_size, &serialized, &length);
827 void *program = consumebytes(program_len, &serialized, &length);
858 flags = consumebytes(sizeof(*flags), &serialized, &length);
    [all...]

Completed in 1007 milliseconds