Home
last modified time | relevance | path

Searched refs:CheckBool (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/courgette/
Dencoded_program.h36 CheckBool DefineRel32Label(int index, RVA address) WARN_UNUSED_RESULT;
37 CheckBool DefineAbs32Label(int index, RVA address) WARN_UNUSED_RESULT;
43 CheckBool AddOrigin(RVA rva) WARN_UNUSED_RESULT;
44 CheckBool AddCopy(uint32 count, const void* bytes) WARN_UNUSED_RESULT;
45 CheckBool AddRel32(int label_index) WARN_UNUSED_RESULT;
46 CheckBool AddRel32ARM(uint16 op, int label_index) WARN_UNUSED_RESULT;
47 CheckBool AddAbs32(int label_index) WARN_UNUSED_RESULT;
48 CheckBool AddPeMakeRelocs(ExecutableType kind) WARN_UNUSED_RESULT;
49 CheckBool AddElfMakeRelocs() WARN_UNUSED_RESULT;
50 CheckBool AddElfARMMakeRelocs() WARN_UNUSED_RESULT;
[all …]
Ddisassembler_elf_32.h59 virtual CheckBool ComputeRelativeTarget(const uint8* op_pointer) = 0;
62 virtual CheckBool EmitInstruction(AssemblyProgram* program,
153 CheckBool IsValidRVA(RVA rva) const WARN_UNUSED_RESULT;
156 virtual CheckBool RelToRVA(Elf32_Rel rel, RVA* result)
160 CheckBool RVAToFileOffset(RVA rva, size_t* result) const WARN_UNUSED_RESULT;
164 CheckBool RVAsToOffsets(std::vector<RVA>* rvas /*in*/,
167 CheckBool RVAsToOffsets(ScopedVector<TypedRVA>* rvas /*in and out*/);
171 CheckBool ParseFile(AssemblyProgram* target) WARN_UNUSED_RESULT;
172 virtual CheckBool ParseRelocationSection(
175 CheckBool ParseProgbitsSection(
[all …]
Dassembly_program.h75 CheckBool EmitPeRelocsInstruction() WARN_UNUSED_RESULT;
78 CheckBool EmitElfRelocationInstruction() WARN_UNUSED_RESULT;
81 CheckBool EmitElfARMRelocationInstruction() WARN_UNUSED_RESULT;
84 CheckBool EmitOriginInstruction(RVA rva) WARN_UNUSED_RESULT;
87 CheckBool EmitByteInstruction(uint8 byte) WARN_UNUSED_RESULT;
90 CheckBool EmitBytesInstruction(const uint8* value, uint32 len)
94 CheckBool EmitRel32(Label* label) WARN_UNUSED_RESULT;
98 CheckBool EmitRel32ARM(uint16 op, Label* label, const uint8* arm_op,
102 CheckBool EmitAbs32(Label* label) WARN_UNUSED_RESULT;
130 CheckBool TrimLabels();
[all …]
Ddisassembler_elf_32_arm.h35 virtual CheckBool ComputeRelativeTarget(const uint8* op_pointer);
37 virtual CheckBool EmitInstruction(AssemblyProgram* program,
55 static CheckBool Compress(ARM_RVA type, uint32 arm_op, RVA rva,
58 static CheckBool Decompress(ARM_RVA type, uint16 c_op, uint32 addr,
63 virtual CheckBool RelToRVA(Elf32_Rel rel, RVA* result)
66 virtual CheckBool ParseRelocationSection(
70 virtual CheckBool ParseRel32RelocsFromSection(
Dstreams.h124 CheckBool Write(const void* data, size_t byte_count) WARN_UNUSED_RESULT;
127 CheckBool WriteVarint32(uint32 value) WARN_UNUSED_RESULT;
130 CheckBool WriteVarint32Signed(int32 value) WARN_UNUSED_RESULT;
134 CheckBool WriteSizeVarint32(size_t value) WARN_UNUSED_RESULT;
138 CheckBool Append(SinkStream* other) WARN_UNUSED_RESULT;
152 CheckBool Reserve(size_t length) WARN_UNUSED_RESULT { in Reserve()
219 CheckBool CopyTo(SinkStream* combined_stream) WARN_UNUSED_RESULT;
224 CheckBool WriteSet(SinkStreamSet* set) WARN_UNUSED_RESULT;
227 CheckBool CopyHeaderTo(SinkStream* stream) WARN_UNUSED_RESULT;
Ddisassembler_elf_32_x86.h24 virtual CheckBool ComputeRelativeTarget(const uint8* op_pointer) OVERRIDE { in ComputeRelativeTarget()
29 virtual CheckBool EmitInstruction(AssemblyProgram* program, in EmitInstruction()
44 virtual CheckBool RelToRVA(Elf32_Rel rel, RVA* result)
47 virtual CheckBool ParseRelocationSection(
51 virtual CheckBool ParseRel32RelocsFromSection(
Dencoded_program.cc45 CheckBool WriteVector(const V& items, SinkStream* buffer) { in WriteVector()
77 CheckBool WriteU32Delta(const V& set, SinkStream* buffer) { in WriteU32Delta()
91 static CheckBool ReadU32Delta(V* set, SourceStream* buffer) { in ReadU32Delta()
122 CheckBool WriteVectorU8(const V& items, SinkStream* buffer) { in WriteVectorU8()
149 CheckBool EncodedProgram::DefineRel32Label(int index, RVA value) { in DefineRel32Label()
153 CheckBool EncodedProgram::DefineAbs32Label(int index, RVA value) { in DefineAbs32Label()
159 CheckBool EncodedProgram::DefineLabelCommon(RvaVector* rvas, in DefineLabelCommon()
195 CheckBool EncodedProgram::AddOrigin(RVA origin) { in AddOrigin()
199 CheckBool EncodedProgram::AddCopy(uint32 count, const void* bytes) { in AddCopy()
238 CheckBool EncodedProgram::AddAbs32(int label_index) { in AddAbs32()
[all …]
Ddisassembler_elf_32_arm.cc20 CheckBool DisassemblerElf32ARM::Compress(ARM_RVA type, uint32 arm_op, RVA rva, in Compress()
134 CheckBool DisassemblerElf32ARM::Decompress(ARM_RVA type, uint16 c_op, in Decompress()
222 CheckBool DisassemblerElf32ARM::TypedRVAARM::ComputeRelativeTarget( in ComputeRelativeTarget()
230 CheckBool ret = Compress(type_, Read16LittleEndian(op_pointer), rva(), in ComputeRelativeTarget()
237 CheckBool ret = Compress(type_, Read32LittleEndian(op_pointer), rva(), in ComputeRelativeTarget()
249 CheckBool ret = Compress(type_, pval, rva(), &c_op_, &relative_target); in ComputeRelativeTarget()
258 CheckBool DisassemblerElf32ARM::TypedRVAARM::EmitInstruction( in EmitInstruction()
272 CheckBool DisassemblerElf32ARM::RelToRVA(Elf32_Rel rel, RVA* result) const { in RelToRVA()
296 CheckBool DisassemblerElf32ARM::ParseRelocationSection( in ParseRelocationSection()
365 CheckBool DisassemblerElf32ARM::ParseRel32RelocsFromSection( in ParseRel32RelocsFromSection()
Dassembly_program.cc161 CheckBool AssemblyProgram::EmitPeRelocsInstruction() { in EmitPeRelocsInstruction()
165 CheckBool AssemblyProgram::EmitElfRelocationInstruction() { in EmitElfRelocationInstruction()
169 CheckBool AssemblyProgram::EmitElfARMRelocationInstruction() { in EmitElfARMRelocationInstruction()
173 CheckBool AssemblyProgram::EmitOriginInstruction(RVA rva) { in EmitOriginInstruction()
177 CheckBool AssemblyProgram::EmitByteInstruction(uint8 byte) { in EmitByteInstruction()
181 CheckBool AssemblyProgram::EmitBytesInstruction(const uint8* values, in EmitBytesInstruction()
186 CheckBool AssemblyProgram::EmitRel32(Label* label) { in EmitRel32()
190 CheckBool AssemblyProgram::EmitRel32ARM(uint16 op, Label* label, in EmitRel32ARM()
196 CheckBool AssemblyProgram::EmitAbs32(Label* label) { in EmitAbs32()
240 CheckBool AssemblyProgram::Emit(Instruction* instruction) { in Emit()
[all …]
Ddisassembler_elf_32.cc142 CheckBool DisassemblerElf32::IsValidRVA(RVA rva) const { in IsValidRVA()
162 CheckBool DisassemblerElf32::RVAToFileOffset(Elf32_Addr addr, in RVAToFileOffset()
206 CheckBool DisassemblerElf32::RVAsToOffsets(std::vector<RVA>* rvas, in RVAsToOffsets()
225 CheckBool DisassemblerElf32::RVAsToOffsets(ScopedVector<TypedRVA>* rvas) { in RVAsToOffsets()
241 CheckBool DisassemblerElf32::ParseFile(AssemblyProgram* program) { in ParseFile()
321 CheckBool DisassemblerElf32::ParseProgbitsSection( in ParseProgbitsSection()
404 CheckBool DisassemblerElf32::ParseSimpleRegion( in ParseSimpleRegion()
423 CheckBool DisassemblerElf32::ParseAbs32Relocs() { in ParseAbs32Relocs()
455 CheckBool DisassemblerElf32::CheckSection(RVA rva) { in CheckSection()
482 CheckBool DisassemblerElf32::ParseRel32RelocsFromSections() { in ParseRel32RelocsFromSections()
Dstreams.cc184 CheckBool SinkStream::Write(const void* data, size_t byte_count) { in Write()
188 CheckBool SinkStream::WriteVarint32(uint32 value) { in WriteVarint32()
194 CheckBool SinkStream::WriteVarint32Signed(int32 value) { in WriteVarint32Signed()
207 CheckBool SinkStream::WriteSizeVarint32(size_t value) { in WriteSizeVarint32()
214 CheckBool SinkStream::Append(SinkStream* other) { in Append()
332 CheckBool SinkStreamSet::CopyHeaderTo(SinkStream* header) { in CopyHeaderTo()
345 CheckBool SinkStreamSet::CopyTo(SinkStream *combined_stream) { in CopyTo()
366 CheckBool SinkStreamSet::WriteSet(SinkStreamSet* set) { in WriteSet()
Dmemory_allocator.h51 typedef CheckReturnValue<bool> CheckBool; typedef
53 typedef bool CheckBool; typedef
326 CheckBool reserve(size_t size) WARN_UNUSED_RESULT { in reserve()
358 CheckBool append(const T* data, size_t size) WARN_UNUSED_RESULT { in append()
388 CheckBool resize(size_t size, const T& init_value) WARN_UNUSED_RESULT { in resize()
404 CheckBool push_back(const T& item) WARN_UNUSED_RESULT { in push_back()
Ddisassembler_win32_x86.h61 CheckBool ParseFile(AssemblyProgram* target) WARN_UNUSED_RESULT;
66 CheckBool ParseNonSectionFileRegion(uint32 start_file_offset,
68 CheckBool ParseFileRegion(const Section* section,
Ddisassembler_win32_x64.h61 CheckBool ParseFile(AssemblyProgram* target) WARN_UNUSED_RESULT;
66 CheckBool ParseNonSectionFileRegion(uint32 start_file_offset,
68 CheckBool ParseFileRegion(const Section* section,
Ddisassembler_elf_32_x86.cc25 CheckBool DisassemblerElf32X86::RelToRVA(Elf32_Rel rel, RVA* result) const { in RelToRVA()
63 CheckBool DisassemblerElf32X86::ParseRelocationSection( in ParseRelocationSection()
117 CheckBool DisassemblerElf32X86::ParseRel32RelocsFromSection( in ParseRel32RelocsFromSection()
Ddisassembler_win32_x86.cc334 CheckBool DisassemblerWin32X86::ParseFile(AssemblyProgram* program) { in ParseFile()
510 CheckBool DisassemblerWin32X86::ParseNonSectionFileRegion( in ParseNonSectionFileRegion()
531 CheckBool DisassemblerWin32X86::ParseFileRegion( in ParseFileRegion()
Ddisassembler_win32_x64.cc334 CheckBool DisassemblerWin32X64::ParseFile(AssemblyProgram* program) { in ParseFile()
510 CheckBool DisassemblerWin32X64::ParseNonSectionFileRegion( in ParseNonSectionFileRegion()
531 CheckBool DisassemblerWin32X64::ParseFileRegion( in ParseFileRegion()
/external/chromium_org/chrome/browser/ui/webui/
Dsync_setup_handler_unittest.cc102 void CheckBool(const base::DictionaryValue* dictionary, in CheckBool() function
118 void CheckBool(const base::DictionaryValue* dictionary, in CheckBool() function
121 return CheckBool(dictionary, key, expected_value, false); in CheckBool()
130 CheckBool(dictionary, "syncAllDataTypes", config == SYNC_ALL_DATA); in CheckConfigDataTypeArguments()
131 CheckBool(dictionary, "syncNothing", config == SYNC_NOTHING); in CheckConfigDataTypeArguments()
132 CheckBool(dictionary, "appsSynced", types.Has(syncer::APPS)); in CheckConfigDataTypeArguments()
133 CheckBool(dictionary, "autofillSynced", types.Has(syncer::AUTOFILL)); in CheckConfigDataTypeArguments()
134 CheckBool(dictionary, "bookmarksSynced", types.Has(syncer::BOOKMARKS)); in CheckConfigDataTypeArguments()
135 CheckBool(dictionary, "extensionsSynced", types.Has(syncer::EXTENSIONS)); in CheckConfigDataTypeArguments()
136 CheckBool(dictionary, "passwordsSynced", types.Has(syncer::PASSWORDS)); in CheckConfigDataTypeArguments()
[all …]
/external/chromium_org/courgette/third_party/
Dbsdiff_create.cc194 static CheckBool WriteHeader(SinkStream* stream, MBSPatchHeader* header) { in WriteHeader()