Home
last modified time | relevance | path

Searched refs:data_offset (Results 1 – 25 of 118) sorted by relevance

12345

/external/chromium_org/ui/display/util/
Dedid_parser.cc163 for (size_t data_offset = extension_offset + kDataBlockOffset; in ParseOutputOverscanFlag() local
164 data_offset < extension_offset + timing_descriptors_start;) { in ParseOutputOverscanFlag()
170 unsigned char tag = edid[data_offset] >> 5; in ParseOutputOverscanFlag()
171 unsigned char payload_length = edid[data_offset] & 0x1f; in ParseOutputOverscanFlag()
172 if (data_offset + payload_length > edid.size()) in ParseOutputOverscanFlag()
176 edid[data_offset + 1] != kExtendedVideoCapabilityTag) { in ParseOutputOverscanFlag()
177 data_offset += payload_length + 1; in ParseOutputOverscanFlag()
183 if ((edid[data_offset + 2] & (1 << kPTOverscan)) || in ParseOutputOverscanFlag()
184 (edid[data_offset + 2] & (1 << kITOverscan)) || in ParseOutputOverscanFlag()
185 (edid[data_offset + 2] & (1 << kCEOverscan))) { in ParseOutputOverscanFlag()
/external/chromium_org/mojo/public/python/mojo/bindings/
Ddescriptor.py57 def Serialize(self, value, data_offset, data, handle_offset): argument
104 def Serialize(self, value, data_offset, data, handle_offset): argument
154 def Serialize(self, value, data_offset, data, handle_offset): argument
160 return self.SerializePointer(value, data_offset, data, handle_offset)
172 def SerializePointer(self, value, data_offset, data, handle_offset): argument
199 def SerializePointer(self, value, data_offset, data, handle_offset): argument
203 string_array, data_offset, data, handle_offset)
225 def Serialize(self, value, data_offset, data, handle_offset): argument
250 def SerializePointer(self, value, data_offset, data, handle_offset): argument
253 return self.SerializeArray(value, data_offset, data, handle_offset)
[all …]
/external/chromium_org/components/translate/content/browser/
Ddata_file_browser_cld_data_provider.cc88 uint64 data_offset = 0; in OnCldDataRequest() local
93 data_offset = g_cached_data_offset; in OnCldDataRequest()
100 SendCldDataResponseInternal(handle, data_offset, data_length); in OnCldDataRequest()
126 uint64 data_offset = 0; in SendCldDataResponse() local
131 data_offset = g_cached_data_offset; in SendCldDataResponse()
136 SendCldDataResponseInternal(handle, data_offset, data_length); in SendCldDataResponse()
141 const uint64 data_offset, in SendCldDataResponseInternal() argument
176 data_offset, in SendCldDataResponseInternal()
225 const uint64 data_offset = 0; in OnCldDataRequestInternal() local
237 g_cached_data_offset = data_offset; in OnCldDataRequestInternal()
/external/lldb/source/Host/macosx/
DSymbols.cpp61 lldb::offset_t data_offset, in SkinnyMachOFileContainsArchAndUUID() argument
74 const uint32_t cputype = data.GetU32(&data_offset); // cpu specifier in SkinnyMachOFileContainsArchAndUUID()
75 const uint32_t cpusubtype = data.GetU32(&data_offset); // machine specifier in SkinnyMachOFileContainsArchAndUUID()
76 data_offset+=4; // Skip mach file type in SkinnyMachOFileContainsArchAndUUID()
77 const uint32_t ncmds = data.GetU32(&data_offset); // number of load commands in SkinnyMachOFileContainsArchAndUUID()
78 const uint32_t sizeofcmds = data.GetU32(&data_offset); // the size of all the load commands in SkinnyMachOFileContainsArchAndUUID()
79 data_offset+=4; // Skip flags in SkinnyMachOFileContainsArchAndUUID()
97 data_offset += 4; // Skip reserved field for in mach_header_64 in SkinnyMachOFileContainsArchAndUUID()
119 …const lldb::offset_t cmd_offset = data_offset; // Save this data_offset in case parsing of the … in SkinnyMachOFileContainsArchAndUUID()
120 uint32_t cmd = data.GetU32(&data_offset); in SkinnyMachOFileContainsArchAndUUID()
[all …]
/external/chromium_org/components/translate/content/renderer/
Ddata_file_renderer_cld_data_provider.cc81 const uint64 data_offset, in OnCldDataAvailable() argument
84 data_offset, in OnCldDataAvailable()
89 const uint64 data_offset, in LoadCldData() argument
112 if (data_length + data_offset > g_cld_mmap.Get().value->length() || in LoadCldData()
114 LOG(ERROR) << "Illegal mmap config: data_offset=" << data_offset in LoadCldData()
123 const uint8* data_ptr = g_cld_mmap.Get().value->data() + data_offset; in LoadCldData()
Ddata_file_renderer_cld_data_provider.h27 const uint64 data_offset,
30 const uint64 data_offset,
/external/lldb/examples/summaries/cocoa/
DNSNumber.py104 data_offset = 2 * self.sys_params.pointer_size
107 data_offset,
113 data_offset,
122 data_offset,
129 data_offset = data_offset + 8 # 8 is needed even if we are on 32bit
131 data_offset,
137 data_offset = data_offset + self.sys_params.pointer_size
139 data_offset,
145 data_offset,
154 data_offset,
/external/lldb/source/Plugins/ObjectContainer/Universal-Mach-O/
DObjectContainerUniversalMachO.cpp59 lldb::offset_t data_offset, in CreateInstance() argument
70 data.SetData (data_sp, data_offset, length); in CreateInstance()
73 …O> container_ap(new ObjectContainerUniversalMachO (module_sp, data_sp, data_offset, file, file_off… in CreateInstance()
95 lldb::offset_t data_offset, in ObjectContainerUniversalMachO() argument
100 ObjectContainer (module_sp, file, file_offset, length, data_sp, data_offset), in ObjectContainerUniversalMachO()
247 lldb::offset_t data_offset = 0; in GetObjectFile() local
253 data_offset); in GetObjectFile()
279 lldb::offset_t data_offset, in GetModuleSpecifications() argument
287 data.SetData (data_sp, data_offset, data_sp->GetByteSize()); in GetModuleSpecifications()
DObjectContainerUniversalMachO.h40 lldb::offset_t data_offset,
48 lldb::offset_t data_offset,
61 lldb::offset_t data_offset,
/external/chromium_org/content/child/npapi/
Dplugin_stream.cc111 int data_offset) { in Write() argument
121 WriteToPlugin(buffer, length, data_offset)) { in Write()
147 const int data_offset) { in WriteToPlugin() argument
155 int written = TryWriteToPlugin(buf, length, data_offset); in WriteToPlugin()
164 data_offset_ = data_offset; in WriteToPlugin()
189 const int data_offset) { in TryWriteToPlugin() argument
192 if (data_offset > 0) in TryWriteToPlugin()
193 data_offset_ = data_offset; in TryWriteToPlugin()
Dplugin_stream.h46 int Write(const char* buf, const int len, int data_offset);
107 bool WriteToPlugin(const char* buf, const int length, const int data_offset);
112 const int data_offset);
/external/chromium_org/content/child/
Dthreaded_data_provider.cc40 void OnReceivedData(int request_id, int data_offset, int data_length,
109 int data_offset, in OnReceivedData() argument
116 data_offset, data_length, encoded_data_length)); in OnReceivedData()
242 int data_offset, int data_length, int encoded_data_length) { in OnReceivedDataOnBackgroundThread() argument
246 CHECK_GE(shm_size_, data_offset + data_length); in OnReceivedDataOnBackgroundThread()
249 CHECK(data_ptr + data_offset); in OnReceivedDataOnBackgroundThread()
252 ForwardAndACKData(data_ptr + data_offset, data_length); in OnReceivedDataOnBackgroundThread()
261 queued_data.data = data_ptr + data_offset; in OnReceivedDataOnBackgroundThread()
/external/chromium_org/base/files/
Dmemory_mapped_file_win.cc37 int32 data_offset = 0; in MapFileRegionToMemory() local
55 region.offset, region.size, &aligned_start, &ignored, &data_offset); in MapFileRegionToMemory()
56 int64 size = region.size + data_offset; in MapFileRegionToMemory()
76 data_ += data_offset; in MapFileRegionToMemory()
Dmemory_mapped_file_posix.cc25 int32 data_offset = 0; in MapFileRegionToMemory() local
46 &data_offset); in MapFileRegionToMemory()
74 data_ += data_offset; in MapFileRegionToMemory()
/external/chromium_org/gpu/command_buffer/common/
Dbuffer.cc34 void* Buffer::GetDataAddress(uint32 data_offset, uint32 data_size) const { in GetDataAddress() argument
35 base::CheckedNumeric<uint32> end = data_offset; in GetDataAddress()
39 return static_cast<uint8*>(memory_) + data_offset; in GetDataAddress()
/external/lldb/source/Plugins/Disassembler/llvm/
DDisassemblerLLVMC.cpp123 lldb::offset_t data_offset) in Decode() argument
136 if (!data.ValidOffsetForDataOfSize(data_offset, min_op_byte_size)) in Decode()
142 m_opcode.SetOpcode8 (data.GetU8 (&data_offset)); in Decode()
147 m_opcode.SetOpcode16 (data.GetU16 (&data_offset)); in Decode()
152 m_opcode.SetOpcode32 (data.GetU32 (&data_offset)); in Decode()
157 m_opcode.SetOpcode64 (data.GetU64 (&data_offset)); in Decode()
162 … m_opcode.SetOpcodeBytes(data.PeekData(data_offset, min_op_byte_size), min_op_byte_size); in Decode()
177 uint32_t thumb_opcode = data.GetU16(&data_offset); in Decode()
186 thumb_opcode |= data.GetU16(&data_offset); in Decode()
193 m_opcode.SetOpcode32 (data.GetU32(&data_offset)); in Decode()
[all …]
/external/lldb/source/Symbol/
DObjectFile.cpp36 lldb::offset_t &data_offset) in FindPlugin() argument
62 …ject_container_ap(create_object_container_callback(module_sp, data_sp, data_offset, file, file_off… in FindPlugin()
78 data_offset = 0; in FindPlugin()
104 …ject_container_ap(create_object_container_callback(module_sp, data_sp, data_offset, file, file_off… in FindPlugin()
126 …object_file_sp.reset (create_object_file_callback(module_sp, data_sp, data_offset, file, file_offs… in FindPlugin()
136 …ject_container_ap(create_object_container_callback(module_sp, data_sp, data_offset, file, file_off… in FindPlugin()
214 lldb::offset_t data_offset, in GetModuleSpecifications() argument
225 if (callback (file, data_sp, data_offset, file_offset, file_size, specs) > 0) in GetModuleSpecifications()
232 if (callback (file, data_sp, data_offset, file_offset, file_size, specs) > 0) in GetModuleSpecifications()
243 lldb::offset_t data_offset in ObjectFile() argument
[all …]
/external/chromium_org/ui/base/resource/
Ddata_pack.cc275 uint32 data_offset = kHeaderLength + index_length; in WritePack() local
286 if (fwrite(&data_offset, sizeof(data_offset), 1, file) != 1) { in WritePack()
292 data_offset += it->second.length(); in WritePack()
304 if (fwrite(&data_offset, sizeof(data_offset), 1, file) != 1) { in WritePack()
/external/chromium_org/content/common/
Dchild_process_sandbox_support_impl_linux.cc142 off_t data_offset = 0; // the offset of the data in the file. in GetFontTable() local
173 data_offset = in GetFontTable()
191 (data_offset > kMaxPositiveOffset32 / 2)) in GetFontTable()
193 data_offset += offset; in GetFontTable()
199 ssize_t n = HANDLE_EINTR(pread(fd, output, data_length, data_offset)); in GetFontTable()
/external/lldb/source/Plugins/ObjectContainer/BSD-Archive/
DObjectContainerBSDArchive.cpp301 lldb::offset_t data_offset, in CreateInstance() argument
315 data.SetData (data_sp, data_offset, length); in CreateInstance()
361 …chive> container_ap(new ObjectContainerBSDArchive (module_sp, data_sp, data_offset, file, file_off… in CreateInstance()
395 lldb::offset_t data_offset, in ObjectContainerBSDArchive() argument
400 ObjectContainer (module_sp, file, file_offset, size, data_sp, data_offset), in ObjectContainerBSDArchive()
478 lldb::offset_t data_offset = object->ar_file_offset; in GetObjectFile() local
484 data_offset); in GetObjectFile()
511 lldb::offset_t data_offset, in GetModuleSpecifications() argument
521 data.SetData (data_sp, data_offset, data_sp->GetByteSize()); in GetModuleSpecifications()
/external/lldb/include/lldb/
Dlldb-private-interfaces.h22 …lldb::ModuleSP &module_sp, lldb::DataBufferSP& data_sp, lldb::offset_t data_offset, const FileSpec…
23 …ns) (const FileSpec &file, lldb::DataBufferSP& data_sp, lldb::offset_t data_offset, lldb::offset_t…
24 …lldb::ModuleSP &module_sp, lldb::DataBufferSP& data_sp, lldb::offset_t data_offset, const FileSpec…
/external/chromium_org/chrome/browser/safe_browsing/
Dpe_image_reader_win.cc319 size_t data_offset = entry->VirtualAddress - header->VirtualAddress; in GetImageData() local
320 if (entry->Size > (header->Misc.VirtualSize - data_offset)) in GetImageData()
324 if (data_offset >= header->SizeOfRawData || in GetImageData()
325 header->SizeOfRawData - data_offset < entry->Size) { in GetImageData()
330 return image_data_ + header->PointerToRawData + data_offset; in GetImageData()
/external/chromium_org/tools/grit/grit/format/
Ddata_pack.py92 data_offset = HEADER_LENGTH + index_length
94 ret.append(struct.pack('<HI', id, data_offset))
95 data_offset += len(resources[id])
97 ret.append(struct.pack('<HI', 0, data_offset))
/external/chromium_org/gpu/command_buffer/service/
Dasync_pixel_transfer_delegate.cc10 uint32 data_offset, in AsyncMemoryParams() argument
12 : buffer_(buffer), data_offset_(data_offset), data_size_(data_size) { in AsyncMemoryParams()
/external/lldb/include/lldb/Expression/
DDWARFExpression.h62 lldb::offset_t data_offset,
186 … SetOpcodeData(const DataExtractor& data, lldb::offset_t data_offset, lldb::offset_t data_length);
214 lldb::offset_t data_offset,

12345