Searched refs:ofs (Results 1 – 3 of 3) sorted by relevance
53 ssize_t decode(const std::vector<int32_t>& in, ssize_t ofs);66 size_t ofs = out->size(); in encode() local67 out->resize(ofs + STATS_COUNT); in encode()68 int32_t* cur = &(*out)[ofs]; in encode()79 inline ssize_t ResolverStats::decode(const std::vector<int32_t>& in, ssize_t ofs) { in decode() argument80 if (ofs < 0 || static_cast<size_t>(ofs) + STATS_COUNT > in.size()) { in decode()83 const int32_t* cur = &in[ofs]; in decode()91 return ofs + STATS_COUNT; in decode()109 ssize_t ofs = 0; in decodeAll() local111 ofs = s.decode(in, ofs); in decodeAll()[all …]
206 unsigned ofs = *buffer & 0x3F; in parseField() local210 if (ofs == 0) { in parseField()214 if (cur + ofs > buffer_end) { in parseField()218 name.append(cur, ofs); in parseField()220 return cur + ofs; in parseField()
382 uint32_t ofs = arc4random_uniform(mappings.size()); in RunGetAddrInfoStressTest_Binder() local383 ASSERT_TRUE(ofs < mappings.size()); in RunGetAddrInfoStressTest_Binder()