Searched defs:offset (Results 126 - 150 of 3958) sorted by relevance

1234567891011>>

/external/chromium_org/content/browser/fileapi/
H A Dsandbox_database_test_helper.cc24 ptrdiff_t offset,
55 if (offset < 0)
56 offset += file_info.size;
57 EXPECT_GE(offset, 0);
58 EXPECT_LE(offset, file_info.size);
60 size = std::min(size, static_cast<size_t>(file_info.size - offset));
63 int read_size = file.Read(offset, vector_as_array(&buf), buf.size());
71 int written_size = file.Write(offset, vector_as_array(&buf), buf.size());
22 CorruptDatabase(const base::FilePath& db_path, leveldb::FileType type, ptrdiff_t offset, size_t size) argument
/external/chromium_org/content/browser/
H A Dhistogram_internals_request_job.cc23 int offset = parsed.CountCharactersBefore(url::Parsed::PATH, false) + 1; local
25 if (offset < static_cast<int>(spec.size()))
26 path_.assign(spec.substr(offset));
/external/chromium_org/content/common/
H A Dresource_request_body.cc22 uint64 offset, uint64 length,
25 elements_.back().SetToFilePathRange(file_path, offset, length,
35 const GURL& url, uint64 offset, uint64 length,
38 elements_.back().SetToFileSystemUrlRange(url, offset, length,
20 AppendFileRange( const base::FilePath& file_path, uint64 offset, uint64 length, const base::Time& expected_modification_time) argument
34 AppendFileSystemFileRange( const GURL& url, uint64 offset, uint64 length, const base::Time& expected_modification_time) argument
/external/chromium_org/content/public/android/java/src/org/chromium/content_public/browser/
H A DNavigationController.java23 * @param offset The offset into the navigation history.
24 * @return Whether we can move in history by given offset
26 boolean canGoToOffset(int offset); argument
29 * Navigates to the specified offset from the "current entry". Does nothing if the offset is
31 * @param offset The offset into the navigation history.
33 void goToOffset(int offset); argument
/external/chromium_org/gpu/command_buffer/service/
H A Dcmd_parser.cc25 ptrdiff_t offset,
29 DCHECK_EQ(0, offset % 4);
32 DCHECK_GE(shm_size, offset + size);
35 char* buffer_begin = static_cast<char*>(shm_address) + offset;
59 DVLOG(1) << "Error: get offset out of bounds";
22 SetBuffer( void* shm_address, size_t shm_size, ptrdiff_t offset, size_t size) argument
/external/chromium_org/media/cast/test/
H A Dfake_receiver_time_offset_estimator.cc12 base::TimeDelta offset)
13 : offset_(offset) {}
11 FakeReceiverTimeOffsetEstimator( base::TimeDelta offset) argument
H A Dskewed_tick_clock.cc26 void SkewedTickClock::SetSkew(double skew, base::TimeDelta offset) { argument
28 skew_clock_at_last_set_ = SkewTicks(now) + offset;
/external/chromium_org/media/formats/common/
H A Doffset_byte_queue.cc39 void OffsetByteQueue::PeekAt(int64 offset, const uint8** buf, int* size) { argument
40 DCHECK(offset >= head());
41 if (offset < head() || offset >= tail()) {
46 *buf = &buf_[offset - head()];
47 *size = tail() - offset;
/external/chromium_org/mojo/public/cpp/bindings/lib/
H A Dbindings_serialization.h27 // address of where the offset value is stored, such that the pointer may be
30 // ptr = reinterpret_cast<char*>(offset) + *offset
32 // A null pointer is encoded as an offset value of 0.
34 void EncodePointer(const void* ptr, uint64_t* offset);
36 const void* DecodePointerRaw(const uint64_t* offset);
40 inline void DecodePointer(const uint64_t* offset, T** ptr) { argument
41 *ptr = reinterpret_cast<T*>(const_cast<void*>(DecodePointerRaw(offset)));
45 // smaller than |offset|.
46 bool ValidateEncodedPointer(const uint64_t* offset);
[all...]
/external/chromium_org/mojo/system/
H A Draw_shared_buffer_win.cc56 scoped_ptr<RawSharedBufferMapping> RawSharedBuffer::MapImpl(size_t offset, argument
58 size_t offset_rounding = offset % base::SysInfo::VMAllocationGranularity();
59 size_t real_offset = offset - offset_rounding;
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/
H A Dfdopen.c22 static int fdopen_seek(void *cookie, off_t *offset, int whence) { argument
23 off_t ret = lseek((int) cookie, *offset, whence);
27 *offset = ret;
/external/chromium_org/net/quic/test_tools/
H A Dquic_flow_controller_peer.cc18 uint64 offset) {
19 flow_controller->send_window_offset_ = offset;
25 uint64 offset) {
26 flow_controller->receive_window_offset_ = offset;
16 SetSendWindowOffset( QuicFlowController* flow_controller, uint64 offset) argument
23 SetReceiveWindowOffset( QuicFlowController* flow_controller, uint64 offset) argument
/external/chromium_org/net/spdy/fuzzing/
H A Dhpack_fuzz_util.h41 // Holds an input string, and manages an offset into that string.
43 Input(); // Initializes |offset| to zero.
47 return input.size() - offset;
50 return input.data() + offset;
54 size_t offset; member in struct:net::HpackFuzzUtil::Input
/external/chromium_org/pdf/
H A Dpaint_aggregator.h27 pp::Point offset; member in struct:PaintAggregator::ReadyRect
/external/chromium_org/ppapi/proxy/
H A Dfile_mapping_resource_win.cc19 int64_t offset) {
13 DoMapBlocking( scoped_refptr<FileIOResource::FileHolder> file_holder, void* address_hint, int64_t length, uint32_t map_protection, uint32_t map_flags, int64_t offset) argument
/external/chromium_org/ppapi/thunk/
H A Dppb_file_mapping_thunk.cc25 int64_t offset,
37 offset,
20 Map(PP_Instance instance, PP_Resource file_io, int64_t length, uint32_t map_protection, uint32_t map_flags, int64_t offset, void** address, struct PP_CompletionCallback callback) argument
/external/chromium_org/sandbox/linux/seccomp-bpf/
H A Dbasicblock.h44 int offset; member in struct:sandbox::BasicBlock
/external/chromium_org/sandbox/win/wow_helper/
H A Dtarget_code.cc12 SIZE_T commit_size, PLARGE_INTEGER offset, PSIZE_T view_size,
16 offset, view_size, inherit,
10 TargetNtMapViewOfSection( PatchInfo *patch_info, HANDLE process, PVOID *base, ULONG_PTR zero_bits, SIZE_T commit_size, PLARGE_INTEGER offset, PSIZE_T view_size, SECTION_INHERIT inherit, ULONG allocation_type, ULONG protect) argument
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSReflectValue.h40 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> offset, PassRefPtrWillBeRawPtr<CSSValue> mask)
42 return adoptRefWillBeNoop(new CSSReflectValue(direction, offset, mask));
46 CSSPrimitiveValue* offset() const { return m_offset.get(); } function in class:WebCore::CSSReflectValue
56 CSSReflectValue(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> direction, PassRefPtrWillBeRawPtr<CSSPrimitiveValue> offset, PassRefPtrWillBeRawPtr<CSSValue> mask) argument
59 , m_offset(offset)
39 create(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> direction, PassRefPtrWillBeRawPtr<CSSPrimitiveValue> offset, PassRefPtrWillBeRawPtr<CSSValue> mask) argument
/external/chromium_org/third_party/WebKit/Source/core/css/parser/
H A DMediaQueryInputStream.cpp26 void MediaQueryInputStream::advance(unsigned offset) argument
28 ASSERT(m_offset + offset <= maxLength());
29 m_offset += offset;
H A DMediaQueryInputStream.h42 unsigned skipWhilePredicate(unsigned offset) argument
44 while ((m_offset + offset) < m_string.length() && characterPredicate(m_string[m_offset + offset]))
45 ++offset;
46 return offset;
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DChildNodeList.cpp49 Node* ChildNodeList::traverseForwardToOffset(unsigned offset, Node& currentNode, unsigned& currentOffset) const argument
51 ASSERT(currentOffset < offset);
54 if (++currentOffset == offset)
60 Node* ChildNodeList::traverseBackwardToOffset(unsigned offset, Node& currentNode, unsigned& currentOffset) const argument
62 ASSERT(currentOffset > offset);
65 if (--currentOffset == offset)
H A DLiveNodeList.cpp53 Element* LiveNodeList::traverseForwardToOffset(unsigned offset, Element& currentNode, unsigned& currentOffset) const argument
55 return traverseMatchingElementsForwardToOffset(*this, offset, currentNode, currentOffset);
58 Element* LiveNodeList::traverseBackwardToOffset(unsigned offset, Element& currentNode, unsigned& currentOffset) const argument
60 return traverseMatchingElementsBackwardToOffset(*this, offset, currentNode, currentOffset);
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DDeleteFromTextNodeCommand.h37 static PassRefPtrWillBeRawPtr<DeleteFromTextNodeCommand> create(PassRefPtrWillBeRawPtr<Text> node, unsigned offset, unsigned count) argument
39 return adoptRefWillBeNoop(new DeleteFromTextNodeCommand(node, offset, count));
45 DeleteFromTextNodeCommand(PassRefPtrWillBeRawPtr<Text>, unsigned offset, unsigned count);
H A DInsertIntoTextNodeCommand.cpp37 InsertIntoTextNodeCommand::InsertIntoTextNodeCommand(PassRefPtrWillBeRawPtr<Text> node, unsigned offset, const String& text) argument
40 , m_offset(offset)

Completed in 458 milliseconds

1234567891011>>