Searched defs:section (Results 1 - 25 of 25) sorted by relevance

/frameworks/base/cmds/incident_helper/src/
H A Dmain.cpp42 fprintf(out, " -s section id, must be positive\n");
46 static TextParserBase* selectParser(int section) { argument
47 switch (section) {
53 case 1: // 1 is reserved for incident header so it won't be section id
56 // IDs larger than 1 are section ids reserved in incident.proto
98 fprintf(stderr, "Pasring section %d...\n", sectionID);
104 fprintf(stderr, "Parse error in section %d: %s\n", sectionID, strerror(-err));
110 fprintf(stderr, "Finish section %d, exiting...\n", sectionID);
/frameworks/compile/mclinker/include/mcld/LD/
H A DELFReaderIf.h55 /// readSectionHeaders - read ELF section header table and create LDSections
59 /// readRegularSection - read a regular section and create fragments.
69 /// This is used to get the signature of a group section.
88 /// LinkInfo - some section needs sh_link and sh_info, remember them.
90 LDSection* section; member in struct:mcld::ELFReaderIF::LinkInfo
/frameworks/base/core/java/android/os/
H A DIncidentReportArgs.java161 * Add this section to the incident report. Skip if the input is smaller than 2 since section
164 public void addSection(int section) { argument
165 if (!mAll && section > 1) {
166 mSections.add(section);
178 * Returns whether this section will be included in the incident report.
180 public boolean containsSection(int section) { argument
181 return mAll || mSections.indexOf(section) >= 0;
/frameworks/base/libs/incident/src/
H A DIncidentReportArgs.cpp108 int32_t section; local
109 err = in->readInt32(&section);
114 mSections.insert(section);
156 IncidentReportArgs::addSection(int section) argument
159 mSections.insert(section);
176 IncidentReportArgs::containsSection(int section) const
178 return mAll || mSections.find(section) != mSections.end();
/frameworks/compile/mclinker/unittests/
H A DNamePoolTest.cpp147 const llvm::MCSectionData* section = 0; local
154 name, isDyn, type, binding, section, value, size, other);
173 const llvm::MCSectionData* section = 0; local
184 name, isDyn, type, binding, section, value, size, other);
194 name, isDyn, type, binding, section, value, size, other);
203 name, isDyn, type, binding, section, value, size, other);
/frameworks/compile/mclinker/lib/LD/
H A DELFObjectReader.cpp92 /// readHeader - read section header and create LDSections.
111 LDContext::sect_iterator section, sectEnd = pInput.context()->sectEnd(); local
112 for (section = pInput.context()->sectBegin(); section != sectEnd; ++section) {
113 // ignore the section if the LDSection* in input context is NULL
114 if (*section == NULL)
117 switch ((*section)->kind()) {
120 assert((*section)->getLink() != NULL);
122 pInput, *(*section)
[all...]
H A DEhFrameReader.cpp120 LDSection& section = pEhFrame.getSection(); local
121 if (section.size() == 0x0) {
128 uint64_t file_off = pInput.fileOffset() + section.offset();
130 pInput.memArea()->request(file_off, section.size());
H A DGarbageCollection.cpp43 // SectionMap will cause the output order change in .text section and leads to
50 /// shouldKeep - check the section name for the keep sections
61 /// shouldProcessGC - check if the section kind is handled in GC
109 // section
131 // bypass the discarded relocation section
132 // 1. its section kind is changed to Ignore. (The target section is a
133 // discarded group section.)
168 // of this section, create an entry in ReachedSections map
190 LDSection* section local
332 LDSection* section = *sect; local
[all...]
H A DELFObjectWriter.cpp53 LDSection* section) {
56 switch (section->kind()) {
58 if (section->getSectionData() == NULL)
69 region = pOutput.request(section->offset(), section->size());
85 llvm::errs() << "WARNING: unsupported section kind: " << section->kind()
86 << " of section " << section->name() << ".\n";
91 switch (section
51 writeSection(Module& pModule, FileOutputBuffer& pOutput, LDSection* section) argument
371 Module::const_iterator section, sectEnd = pModule.end(); local
[all...]
H A DELFReader.cpp53 /// readRegularSection - read a regular section and create fragments.
103 // If the section should not be included, set the st_shndx SHN_UNDEF
104 // - A section in interrelated groups are not included.
121 // get ld_value - ld_value must be section relative.
127 // get section
128 LDSection* section = NULL; local
130 section = pInput.context()->getSection(st_shndx);
135 // Section symbol's st_name is the section index.
136 assert(section != NULL && "get a invalid section");
405 LDSection* section = IRBuilder::CreateELFHeader( local
628 LDSection* section = NULL; local
899 LDSection* section = IRBuilder::CreateELFHeader( local
[all...]
/frameworks/base/cmds/idmap/
H A Dinspect.cpp128 void print(const char *section, const char *subsection, uint32_t value, const char *fmt, ...) { argument
132 printf("%-12s %-12s 0x%08x ", section, subsection, value);
138 void print_path(const char *section, const char *subsection, const char *fmt, ...) { argument
142 printf("%-12s %-12s .......... ", section, subsection);
/frameworks/base/cmds/incident/
H A Dmain.cpp47 virtual Status onReportSectionStatus(int32_t section, int32_t status);
68 StatusListener::onReportSectionStatus(int32_t section, int32_t status) argument
70 fprintf(stderr, "section %d status %d\n", section, status);
133 IncidentSection const* section = INCIDENT_SECTIONS + mid; local
135 int cmp = strcmp(section->name, name);
141 return section;
225 int section = strtol(arg, &end, 0); local
227 args.addSection(section);
231 fprintf(stderr, "Invalid section
[all...]
/frameworks/base/cmds/incidentd/tests/
H A DReporter_test.cpp53 virtual Status onReportSectionStatus(int section, int status) { argument
56 if (startSections.count(section) == 0) startSections[section] = 0;
57 startSections[section] = startSections[section] + 1;
60 if (finishSections.count(section) == 0) finishSections[section] = 0;
61 finishSections[section] = finishSections[section] + 1;
/frameworks/base/tools/aapt2/compile/
H A DPseudolocaleGenerator.cpp59 inline static UnifiedSpan UntranslatableSectionToUnifiedSpan(const UntranslatableSection& section) { argument
61 {}, static_cast<uint32_t>(section.start), static_cast<uint32_t>(section.end) - 1};
167 // An untranslatable section has begun!
193 // An end to an untranslatable section.
251 for (const UntranslatableSection& section : string->untranslatable_sections) {
252 // Pseudolocalize the content before the untranslatable section.
253 const size_t len = section.start - start;
259 result += original_string.substr(section.start, section
[all...]
/frameworks/av/camera/
H A DVendorTagDescriptor.cpp141 ALOGE("%s: vendor tag %d not in vendor tag section.", __FUNCTION__, tag);
162 ALOGE("%s: could not read section index for tag %d.", __FUNCTION__, tag);
181 ALOGE("%s: could not read section count for.", __FUNCTION__);
194 ALOGE("%s: parcel section name was NULL for section %zu.",
299 status_t VendorTagDescriptor::lookupTag(const String8& name, const String8& section, /*out*/uint32_t* tag) const { argument
300 ssize_t index = mReverseMapping.indexOfKey(section);
302 ALOGE("%s: Section '%s' does not exist.", __FUNCTION__, section.string());
342 dprintf(fd, "%*s0x%x (%s) with type %d (%s) defined in section %s\n", indentation + 2,
537 ALOGE("%s: vendor tag %d not in vendor tag section
[all...]
H A DCameraMetadata.cpp715 // First, find the section by the longest string match
716 const char *section = NULL; local
725 ALOGV("%s: Trying to match against section '%s'", __FUNCTION__, str);
727 if (strstr(name, str) == name) { // name begins with the section name
730 ALOGV("%s: Name begins with section name", __FUNCTION__);
732 // section name is the longest we've found so far
733 if (section == NULL || sectionLength < strLength) {
734 section = str;
738 ALOGV("%s: Found new best section (%s)", __FUNCTION__, section);
[all...]
/frameworks/native/libs/vr/libpdx/
H A Dencoder_performance_test.cpp187 auto section = reader->GetNextReadBufferSection(); local
188 memcpy(dummy_data.data(), section.first, dummy_data.size());
190 AdvancePointer(section.first, dummy_data.size()));
/frameworks/av/services/camera/libcameraservice/common/
H A DCameraProviderManager.cpp1209 "does not have @<major>. version section",
1216 "does not have .<minor>/ version section",
1395 const hardware::camera::common::V1_0::VendorTagSection& section = vts[s]; local
1396 const char *sectionName = section.sectionName.c_str();
1398 ALOGE("%s: no section name defined for vendor tag section %zu.", __FUNCTION__, s);
1404 for (size_t j = 0; j < section.tags.size(); j++) {
1405 uint32_t tag = section.tags[j].tagId;
1407 ALOGE("%s: vendor tag %d not in vendor tag section.", __FUNCTION__, tag);
1411 tagArray.editItemAt(idx++) = section
[all...]
/frameworks/base/cmds/incidentd/src/
H A DSection.cpp53 // special section ids
57 // incident section parameters
144 // Reports bytes of the section uploaded via dropbox after filtering.
405 const WorkerThreadSection* section; member in struct:android::os::incidentd::WorkerThreadData
413 WorkerThreadData(const WorkerThreadSection* section);
418 : section(sec), workerDone(false), workerError(NO_ERROR) {}
430 status_t err = data->section->BlockingCall(data->pipe.writeFd().get());
439 data->decStrong(data->section);
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_CameraMetadata.cpp757 const char* section = vTags->getSectionName(id); local
761 size_t totalLen = strlen(section) + strlen(tag) + 2;
763 snprintf(&fullName[0], totalLen, "%s.%s", section, tag);
/frameworks/base/tools/aapt2/
H A DResourceUtils.cpp914 UntranslatableSection section; local
915 section.start = section.end = xml_string_.text.size();
916 xml_string_.untranslatable_sections.push_back(section);
/frameworks/av/media/libstagefright/mpeg2ts/
H A DATSParser.cpp514 // variable length section of ES_infos. It does not include the
1832 sp<PSISection> section = mPSISections.valueAt(sectionIndex); local
1835 if (!section->isEmpty()) {
1836 ALOGW("parsePID encounters payload_unit_start_indicator when section is not empty");
1837 section->clear();
1841 section->setSkipBytes(skip + 1); // skip filler bytes + pointer field itself
1848 status_t err = section->append(br->data(), br->numBitsLeft() / 8);
1854 if (!section->isComplete()) {
1858 if (!section->isCRCOkay()) {
1861 ABitReader sectionBits(section
[all...]
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsLDBackend.cpp189 // when building shared object, the .got section is must.
214 "static linkage should not result in a dynamic relocation section");
223 "static linkage should not result in a dynamic relocation section");
246 /// dynamic - the dynamic section of the target machine.
247 /// Use co-variant return type to return its own dynamic section.
253 /// dynamic - the dynamic section of the target machine.
254 /// Use co-variant return type to return its own dynamic section.
372 // SHT_MIPS_OPTIONS section's block descriptor.
377 Elf64_Half section; // Section header index of section affecte member in struct:llvm::ELF::Elf_Options
[all...]
/frameworks/compile/mclinker/lib/Target/
H A DGNULDBackend.cpp212 /// This function is called after section merging but before read relocations.
221 LDSection* section = *iter; local
223 switch (section->kind()) {
227 if (!section->hasEhFrame())
231 if (!section->hasSectionData())
236 if (isCIdentifier(section->name())) {
237 std::string start_name = "__start_" + section->name();
239 FragmentRef::Create(section->getSectionData()->front(), 0x0);
251 std::string stop_name = "__stop_" + section->name();
253 section
[all...]
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 628 milliseconds