Searched refs:ofs (Results 1 – 5 of 5) sorted by relevance
53 ssize_t decode(const std::vector<int32_t>& in, ssize_t ofs);65 size_t ofs = out->size(); in encode() local66 out->resize(ofs + STATS_COUNT); in encode()67 int32_t* cur = &(*out)[ofs]; in encode()78 inline ssize_t ResolverStats::decode(const std::vector<int32_t>& in, ssize_t ofs) { in decode() argument79 if (ofs < 0 || static_cast<size_t>(ofs) + STATS_COUNT > in.size()) { in decode()82 const int32_t* cur = &in[ofs]; in decode()90 return ofs + STATS_COUNT; in decode()108 ssize_t ofs = 0; in decodeAll() local110 ofs = s.decode(in, ofs); in decodeAll()[all …]
246 uint32_t ofs = arc4random_uniform(mappings.size()); in RunGetAddrInfoStressTest_Binder() local247 auto& mapping = mappings[ofs]; in RunGetAddrInfoStressTest_Binder()
89 const uint32_t ofs = arc4random_uniform(getMappings().size()); in benchmark() local90 const auto& mapping = getMappings()[ofs]; in benchmark()
312 std::ofstream ofs; in UploadInner() local313 ofs.open(outfile, std::ofstream::out | std::ofstream::binary); in UploadInner()314 if (ofs.fail()) { in UploadInner()318 ofs.write(data.data(), data.size()); in UploadInner()319 if (ofs.fail() || ofs.bad()) { in UploadInner()323 ofs.close(); in UploadInner()
220 unsigned ofs = *buffer & 0x3F; in parseField() local224 if (ofs == 0) { in parseField()228 if (cur + ofs > buffer_end) { in parseField()232 name.append(cur, ofs); in parseField()234 return cur + ofs; in parseField()