Home
last modified time | relevance | path

Searched refs:byte_range (Results 1 – 8 of 8) sorted by relevance

/external/pdfium/fpdfsdk/
Dfpdf_signature_embeddertest.cpp81 std::vector<int> byte_range(size); in TEST_F() local
83 FPDFSignatureObj_GetByteRange(signature, byte_range.data(), size)); in TEST_F()
84 ASSERT_EQ(kExpectedByteRange, byte_range); in TEST_F()
89 byte_range.resize(2); in TEST_F()
90 byte_range[0] = 0; in TEST_F()
91 byte_range[1] = 1; in TEST_F()
92 size = FPDFSignatureObj_GetByteRange(signature, byte_range.data(), in TEST_F()
93 byte_range.size()); in TEST_F()
95 EXPECT_EQ(0, byte_range[0]); in TEST_F()
96 EXPECT_EQ(1, byte_range[1]); in TEST_F()
Dfpdf_signature.cpp107 RetainPtr<const CPDF_Array> byte_range = value_dict->GetArrayFor("ByteRange"); in FPDFSignatureObj_GetByteRange() local
108 if (!byte_range) in FPDFSignatureObj_GetByteRange()
112 fxcrt::CollectionSize<unsigned long>(*byte_range); in FPDFSignatureObj_GetByteRange()
115 buffer[i] = byte_range->GetIntegerAt(i); in FPDFSignatureObj_GetByteRange()
/external/rust/crates/regex/src/
Dcompile.rs1040 for byte_range in seq { in c_utf8_seq_()
1043 start: byte_range.start, in c_utf8_seq_()
1044 end: byte_range.end, in c_utf8_seq_()
1053 self.c.byte_classes.set_range(byte_range.start, byte_range.end); in c_utf8_seq_()
1056 start: byte_range.start, in c_utf8_seq_()
1057 end: byte_range.end, in c_utf8_seq_()
1062 start: byte_range.start, in c_utf8_seq_()
1063 end: byte_range.end, in c_utf8_seq_()
/external/cronet/net/http/
Dhttp_response_headers.cc432 void HttpResponseHeaders::UpdateWithNewRange(const HttpByteRange& byte_range, in UpdateWithNewRange() argument
435 DCHECK(byte_range.IsValid()); in UpdateWithNewRange()
436 DCHECK(byte_range.HasFirstBytePosition()); in UpdateWithNewRange()
437 DCHECK(byte_range.HasLastBytePosition()); in UpdateWithNewRange()
445 int64_t start = byte_range.first_byte_position(); in UpdateWithNewRange()
446 int64_t end = byte_range.last_byte_position(); in UpdateWithNewRange()
Dhttp_response_headers.h137 void UpdateWithNewRange(const HttpByteRange& byte_range,
Dhttp_cache_unittest.cc530 HttpByteRange byte_range = ranges[0]; in RangeHandler() local
533 byte_range.set_first_byte_position(40); in RangeHandler()
534 byte_range.set_last_byte_position(49); in RangeHandler()
537 if (byte_range.first_byte_position() >= length_) { in RangeHandler()
543 EXPECT_TRUE(byte_range.ComputeBounds(length_)); in RangeHandler()
544 int64_t start = byte_range.first_byte_position(); in RangeHandler()
545 int64_t end = byte_range.last_byte_position(); in RangeHandler()
/external/perfetto/src/trace_processor/rpc/
Drpc.cc185 protozero::ConstBytes byte_range = req.append_trace_data(); in ParseRpcRequest() local
186 util::Status res = Parse(byte_range.data, byte_range.size); in ParseRpcRequest()
/external/python/apitools/apitools/base/py/
Dhttp_wrapper.py185 byte_range, _, _ = range_spec.partition('/')
186 start, _, end = byte_range.partition('-')