/frameworks/compile/mclinker/lib/LD/ |
ELFObjectReader.cpp | 60 bool ELFObjectReader::isMyFormat(Input &pInput) const 62 assert(pInput.hasMemArea()); 67 MemoryRegion* region = pInput.memArea()->request(pInput.fileOffset(), 80 pInput.memArea()->release(region); 85 bool ELFObjectReader::readHeader(Input& pInput) 87 assert(pInput.hasMemArea()); 90 MemoryRegion* region = pInput.memArea()->request(pInput.fileOffset(), 93 bool result = m_pELFReader->readSectionHeaders(pInput, ELF_hdr) [all...] |
ELFDynObjReader.cpp | 47 bool ELFDynObjReader::isMyFormat(Input &pInput) const 49 assert(pInput.hasMemArea()); 54 MemoryRegion* region = pInput.memArea()->request(pInput.fileOffset(), 67 pInput.memArea()->release(region); 72 bool ELFDynObjReader::readHeader(Input& pInput) 74 assert(pInput.hasMemArea()); 77 MemoryRegion* region = pInput.memArea()->request(pInput.fileOffset(), 81 bool shdr_result = m_pELFReader->readSectionHeaders(pInput, ELF_hdr) [all...] |
ELFReader.cpp | 56 ELFReader<32, true>::readRegularSection(Input& pInput, SectionData& pSD) const 58 uint32_t offset = pInput.fileOffset() + pSD.getSection().offset(); 61 Fragment* frag = IRBuilder::CreateRegion(pInput, offset, size); 67 bool ELFReader<32, true>::readSymbols(Input& pInput, 85 pInput.context()->addSymbol(LDSymbol::Null()); 89 bool is_dyn_obj = (pInput.type()==Input::DynObj); 109 if (pInput.type() == Input::Object && 112 if (NULL == pInput.context()->getSection(st_shndx)) 120 ResolveInfo::Desc ld_desc = getSymDesc(st_shndx, pInput); 126 uint64_t ld_value = getSymValue(st_value, st_shndx, pInput); [all...] |
ELFBinaryReader.cpp | 41 bool ELFBinaryReader::readBinary(Input& pInput) 44 m_Builder.CreateELFHeader(pInput, 52 m_Builder.CreateELFHeader(pInput, 60 size_t data_size = pInput.memArea()->handler()->size(); 61 Fragment* frag = m_Builder.CreateRegion(pInput, 0x0, data_size); 65 m_Builder.CreateELFHeader(pInput, 72 m_Builder.CreateELFHeader(pInput, 79 m_Builder.AddSymbol(pInput, 90 std::string mangled_name = pInput.path().filename().native(); 98 m_Builder.AddSymbol(pInput, [all...] |
ELFReaderIf.cpp | 49 ResolveInfo::Desc ELFReaderIF::getSymDesc(uint16_t pShndx, const Input& pInput) const 58 if (NULL == pInput.context()->getSection(pShndx) || 59 LDFileFormat::Ignore == pInput.context()->getSection(pShndx)->kind()) 102 ELFReaderIF::getSymFragmentRef(Input& pInput, 107 if (Input::DynObj == pInput.type()) 116 LDSection* sect_hdr = pInput.context()->getSection(pShndx); 120 << pInput.path().native(); 141 const Input& pInput) const 143 if (Input::Object == pInput.type()) {
|
/frameworks/compile/mclinker/include/mcld/LD/ |
ELFReaderIf.h | 66 virtual bool readSectionHeaders(Input& pInput, void* pELFHeader) const = 0; 69 virtual bool readRegularSection(Input& pInput, SectionData& pSD) const = 0; 72 virtual bool readSymbols(Input& pInput, 79 virtual ResolveInfo* readSignature(Input& pInput, 84 virtual bool readRela(Input& pInput, 89 virtual bool readRel(Input& pInput, 94 virtual bool readDynamic(Input& pInput) const = 0; 109 ResolveInfo::Desc getSymDesc(uint16_t pShndx, const Input& pInput) const; 117 const Input& pInput) const; 119 FragmentRef* getSymFragmentRef(Input& pInput, [all...] |
Relocator.h | 69 /// initializeScan - do initialization before scan relocations in pInput 71 virtual bool initializeScan(Input& pInput) 74 /// finalizeScan - do finalization after scan relocations in pInput 76 virtual bool finalizeScan(Input& pInput) 79 /// initializeApply - do initialization before apply relocations in pInput 81 virtual bool initializeApply(Input& pInput) 84 /// finalizeApply - do finalization after apply relocations in pInput 86 virtual bool finalizeApply(Input& pInput)
|
ELFReader.h | 75 bool readSectionHeaders(Input& pInput, void* pELFHeader) const; 78 bool readRegularSection(Input& pInput, SectionData& pSD) const; 81 bool readSymbols(Input& pInput, 88 ResolveInfo* readSignature(Input& pInput, 93 bool readRela(Input& pInput, 98 bool readRel(Input& pInput, 103 bool readDynamic(Input& pInput) const; 165 bool readSectionHeaders(Input& pInput, void* pELFHeader) const; 168 bool readRegularSection(Input& pInput, SectionData& pSD) const; 171 bool readSymbols(Input& pInput, [all...] |
EhFrameReader.h | 37 /// @param pInput [in] the Input contains this eh_frame 42 bool read(Input& pInput, EhFrame& pEhFrame); 99 EhFrameReader::read<32, true>(Input& pInput, EhFrame& pEhFrame);
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
MipsRelocator.h | 45 /// initializeScan - do initialization before scan relocations in pInput 47 bool initializeScan(Input& pInput); 49 /// finalizeScan - do finalization after scan relocations in pInput 51 bool finalizeScan(Input& pInput); 53 /// initializeApply - do initialization before apply relocations in pInput 55 bool initializeApply(Input& pInput); 57 /// finalizeApply - do finalization after apply relocations in pInput 59 bool finalizeApply(Input& pInput);
|
/frameworks/compile/mclinker/lib/MC/ |
InputBuilder.cpp | 108 bool InputBuilder::setContext(Input& pInput, bool pCheck) 114 if (0 != pInput.fileOffset() || !pCheck) { 115 // pInput is an object in an archive file. Produce a new context in this 120 // Using pInput.path() to avoid from creating context for identical file 122 context = m_pContextFactory->produce(pInput.path()); 125 pInput.setContext(context); 129 bool InputBuilder::setMemory(Input& pInput, 133 MemoryArea *memory = m_pMemFactory->produce(pInput.path(), pMode, pPerm); 138 pInput.setMemArea(memory); 142 bool InputBuilder::setMemory(Input& pInput, void* pMemBuffer, size_t pSize [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
colorspace.cpp | 58 uint8* const pInput = static_cast<uint8*>(env->GetDirectBufferAddress(input)); 63 uint8* pInY = pInput; 64 uint8* pInU = pInput + size; 65 uint8* pInV = pInput + size + size / 4; 100 Rgba* pInput = static_cast<Rgba*>(env->GetDirectBufferAddress(input)); 104 Rgba color_in = *pInput++; 115 Rgba* pInput = static_cast<Rgba*>(env->GetDirectBufferAddress(input)); 121 Rgba color_in = *pInput++; 158 Rgba* pInput = static_cast<Rgba*>(env->GetDirectBufferAddress(input)); 163 Rgba color_in = *pInput++ [all...] |
/development/tools/etc1tool/ |
etc1tool.cpp | 136 int read_PNG_File(const char* pInput, etc1_byte** ppImageData, 149 if ((pIn = fopen(pInput, "rb")) == NULL) { 151 pInput, errno); 158 fprintf(stderr, "Could not read PNG header from %s: %d\n", pInput, 164 fprintf(stderr, "%s is not a PNG file.\n", pInput); 234 int readPKMFile(const char* pInput, etc1_byte** ppImageData, 247 if ((pIn = fopen(pInput, "rb")) == NULL) { 249 pInput, errno); 255 pInput, errno); 260 fprintf(stderr, "Bad header PKM header for input file %s\n", pInput); [all...] |
/external/chromium_org/third_party/sqlite/src/ext/fts1/ |
fts1_tokenizer.h | 50 ** xClose() to free any internal state. The pInput passed to 55 /* TODO(shess) current implementation requires pInput to be 56 ** nul-terminated. This should either be fixed, or pInput/nBytes 60 const char *pInput, int nBytes,
|
fts1_tokenizer1.c | 35 const char *pInput; /* input we are tokenizing */ 37 int iOffset; /* current position in pInput */ 101 ** string to be tokenized is pInput[0..nBytes-1]. A cursor 107 const char *pInput, int nBytes, /* String to be tokenized */ 115 c->pInput = pInput; 116 if( pInput==0 ){ 119 c->nBytes = (int)strlen(pInput); 157 unsigned char *p = (unsigned char *)c->pInput;
|
simple_tokenizer.c | 38 const char *pInput; /* input we are tokenizing */ 40 const char *pCurrent; /* current position in pInput */ 92 const char *pInput, int nBytes, 98 c->pInput = pInput; 99 c->nBytes = nBytes<0 ? (int) strlen(pInput) : nBytes; 100 c->pCurrent = c->pInput; /* start tokenizing at the beginning */ 130 while( c->pCurrent-c->pInput<c->nBytes ){ 146 *piStartOffset = (int) (c->pCurrent-c->pInput);
|
tokenizer.h | 50 ** xClose() to free any internal state. The pInput passed to 55 /* TODO(shess) current implementation requires pInput to be 56 ** nul-terminated. This should either be fixed, or pInput/nBytes 60 const char *pInput, int nBytes,
|
/external/chromium_org/third_party/sqlite/src/ext/fts2/ |
fts2_tokenizer1.c | 42 const char *pInput; /* input we are tokenizing */ 44 int iOffset; /* current position in pInput */ 110 ** string to be tokenized is pInput[0..nBytes-1]. A cursor 116 const char *pInput, int nBytes, /* String to be tokenized */ 124 c->pInput = pInput; 125 if( pInput==0 ){ 128 c->nBytes = (int)strlen(pInput); 166 unsigned char *p = (unsigned char *)c->pInput;
|
/external/chromium_org/third_party/sqlite/src/ext/fts3/ |
fts3_tokenizer1.c | 43 const char *pInput; /* input we are tokenizing */ 45 int iOffset; /* current position in pInput */ 110 ** string to be tokenized is pInput[0..nBytes-1]. A cursor 116 const char *pInput, int nBytes, /* String to be tokenized */ 126 c->pInput = pInput; 127 if( pInput==0 ){ 130 c->nBytes = (int)strlen(pInput); 168 unsigned char *p = (unsigned char *)c->pInput;
|
/external/chromium_org/media/filters/ |
h264_to_annex_b_bitstream_converter.h | 61 // some bytes to buffer pointed by pinput but user should ignore those bytes. 65 // pinput 90 // some bytes to buffer pointed by pinput but user should ignore those bytes. 94 // pinput
|
/frameworks/compile/libbcc/lib/Renderscript/ |
RSInfoReader.cpp | 176 RSInfo *RSInfo::ReadFromFile(InputFile &pInput, const DependencyTableTy &pDeps) { 182 const char *input_filename = pInput.getName().c_str(); 183 const off_t cur_input_offset = pInput.tell(); 185 if (pInput.hasError()) { 187 pInput.getErrorMessage().c_str()); 191 filesize = pInput.getSize(); 192 if (pInput.hasError()) { 194 input_filename, pInput.getErrorMessage().c_str()); 199 map = pInput.createMap(/* pOffset */cur_input_offset, 203 input_filename, pInput.getErrorMessage().c_str()) [all...] |
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/ |
LVREV_Process.c | 55 LVM_INT32 *pInput = (LVM_INT32 *)pInData; 103 if(pInput != pOutput) 110 MonoTo2I_32(pInput, pOutput, NumSamples); 112 Copy_16((LVM_INT16 *)pInput, 145 ReverbBlock(pInput, pOutput, pLVREV_Private, (LVM_UINT16)SamplesToProcess); 147 pInput = (LVM_INT32 *)(pInput +(SamplesToProcess*format)); 179 void ReverbBlock(LVM_INT32 *pInput, LVM_INT32 *pOutput, LVREV_Instance_st *pPrivate, LVM_UINT16 NumSamples) 219 pIn = pInput; 227 From2iToMono_32( pInput, [all...] |
/ndk/build/tools/toolchain-patches/mclinker/ |
0001-Compile-against-llvm-3.3.patch | 34 @@ -91,7 +91,7 @@ bool ELFReader<32, true>::readSymbols(Input& pInput, 61 @@ -322,7 +322,7 @@ ELFReader<32, true>::readSectionHeaders(Input& pInput, void* pELFHeader) const 70 @@ -356,7 +356,7 @@ ELFReader<32, true>::readSectionHeaders(Input& pInput, void* pELFHeader) const 79 @@ -381,7 +381,7 @@ ELFReader<32, true>::readSectionHeaders(Input& pInput, void* pELFHeader) const 88 @@ -399,7 +399,7 @@ ELFReader<32, true>::readSectionHeaders(Input& pInput, void* pELFHeader) const 97 @@ -479,7 +479,7 @@ ResolveInfo* ELFReader<32, true>::readSignature(Input& pInput, 106 @@ -541,7 +541,7 @@ bool ELFReader<32, true>::readDynamic(Input& pInput) const 115 @@ -636,7 +636,7 @@ bool ELFReader<64, true>::readSymbols(Input& pInput, 142 @@ -863,7 +863,7 @@ ELFReader<64, true>::readSectionHeaders(Input& pInput, void* pELFHeader) const 151 @@ -897,7 +897,7 @@ ELFReader<64, true>::readSectionHeaders(Input& pInput, void* pELFHeader) cons [all...] |
/frameworks/compile/libbcc/lib/Core/ |
Source.cpp | 37 // and take the ownership of input memory buffer (i.e., pInput). On error, 38 // return NULL and will NOT take the ownership of pInput. 40 llvm::MemoryBuffer *pInput) { 42 llvm::Module *module = llvm::getLazyBitcodeModule(pInput, pContext, &error); 46 pInput->getBufferIdentifier(), error.c_str());
|
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/ |
LVCS_ReverbGenerator.h | 82 const LVM_INT16 *pInput,
|