/external/google-breakpad/src/common/windows/ |
D | omap.cc | 264 void FillInRemovedLengths(Mapping* mapping) { in FillInRemovedLengths() argument 265 assert(mapping != NULL); in FillInRemovedLengths() 285 for (size_t find = 0; find < mapping->size(); ++find) { in FillInRemovedLengths() 289 assert(mapping->at(find - 1).rva_original <= in FillInRemovedLengths() 290 mapping->at(find).rva_original); in FillInRemovedLengths() 294 if (rva_front < mapping->at(find).rva_original) { in FillInRemovedLengths() 297 DWORD removed = mapping->at(find).rva_original - rva_front; in FillInRemovedLengths() 299 if (mapping->at(fill).rva_original + mapping->at(fill).length != in FillInRemovedLengths() 306 mapping->at(fill).removed = removed; in FillInRemovedLengths() 311 rva_front = mapping->at(find).rva_original + mapping->at(find).length; in FillInRemovedLengths() [all …]
|
D | omap_unittest.cc | 161 EXPECT_EQ(0u, image_map.mapping.size()); in TEST_F() 173 EXPECT_LE(9u, image_map.mapping.size()); in TEST_F() 176 Mapping mapping; in TEST_F() local 177 mapping.push_back(CreateMappedRange(0, 0, B.rva, 0, 0)); in TEST_F() 179 mapping.push_back(CreateMappedRange(B.rva, Bt.rva, B.length, 0, C.length)); in TEST_F() 181 mapping.push_back(CreateMappedRange(D.rva, Dt.rva, Dt.length, 0, 5)); in TEST_F() 183 mapping.push_back(CreateMappedRange(E.rva, Et.rva, E.length, injected.length, in TEST_F() 185 mapping.push_back(CreateMappedRange(F.rva, Ft.rva, F.length, 0, 0)); in TEST_F() 187 mapping.push_back(CreateMappedRange(G.rva, G1t.rva, G.length, 0, 0)); in TEST_F() 188 mapping.push_back(CreateMappedRange(G.rva, G2t.rva, G.length, 0, 0)); in TEST_F() [all …]
|
/external/jetty/src/java/org/eclipse/jetty/servlet/ |
D | FilterHolder.java | 195 FilterMapping mapping = new FilterMapping(); in addMappingForServletNames() local 196 mapping.setFilterHolder(FilterHolder.this); in addMappingForServletNames() 197 mapping.setServletNames(servletNames); in addMappingForServletNames() 198 mapping.setDispatcherTypes(dispatcherTypes); in addMappingForServletNames() 200 _servletHandler.addFilterMapping(mapping); in addMappingForServletNames() 202 _servletHandler.prependFilterMapping(mapping); in addMappingForServletNames() 208 FilterMapping mapping = new FilterMapping(); in addMappingForUrlPatterns() local 209 mapping.setFilterHolder(FilterHolder.this); in addMappingForUrlPatterns() 210 mapping.setPathSpecs(urlPatterns); in addMappingForUrlPatterns() 211 mapping.setDispatcherTypes(dispatcherTypes); in addMappingForUrlPatterns() [all …]
|
D | ServletHandler.java | 631 FilterMapping mapping = (FilterMapping)_filterPathMappings.get(i); in getFilterChain() local 632 if (mapping.appliesTo(pathInContext, dispatch)) in getFilterChain() 633 filters= LazyList.add(filters, mapping.getFilterHolder()); in getFilterChain() 646 FilterMapping mapping = (FilterMapping)LazyList.get(o,i); in getFilterChain() local 647 if (mapping.appliesTo(dispatch)) in getFilterChain() 648 filters=LazyList.add(filters,mapping.getFilterHolder()); in getFilterChain() 654 FilterMapping mapping = (FilterMapping)LazyList.get(o,i); in getFilterChain() local 655 if (mapping.appliesTo(dispatch)) in getFilterChain() 656 filters=LazyList.add(filters,mapping.getFilterHolder()); in getFilterChain() 870 ServletMapping mapping = new ServletMapping(); in addServletWithMapping() local [all …]
|
/external/jetty/src/java/org/eclipse/jetty/security/ |
D | ConstraintSecurityHandler.java | 182 for (ConstraintMapping mapping:constraintMappings) in getConstraintMappingsForPath() 184 if (pathSpec.equals(mapping.getPathSpec())) in getConstraintMappingsForPath() 186 mappings.add(mapping); in getConstraintMappingsForPath() 207 for (ConstraintMapping mapping:constraintMappings) in removeConstraintMappingsForPath() 210 if (!pathSpec.equals(mapping.getPathSpec())) in removeConstraintMappingsForPath() 212 mappings.add(mapping); in removeConstraintMappingsForPath() 253 ConstraintMapping mapping = new ConstraintMapping(); in createConstraintsWithMappingsForPath() local 254 mapping.setConstraint(mconstraint); in createConstraintsWithMappingsForPath() 255 mapping.setPathSpec(pathSpec); in createConstraintsWithMappingsForPath() 258 mapping.setMethod(methodConstraint.getMethodName()); in createConstraintsWithMappingsForPath() [all …]
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | linux_dumper.cc | 60 const google_breakpad::MappingInfo& mapping) { in IsMappedFileOpenUnsafe() argument 65 return my_strncmp(mapping.name, in IsMappedFileOpenUnsafe() 96 LinuxDumper::ElfFileIdentifierForMapping(const MappingInfo& mapping, in ElfFileIdentifierForMapping() argument 102 if (IsMappedFileOpenUnsafe(mapping)) in ElfFileIdentifierForMapping() 106 if (my_strcmp(mapping.name, kLinuxGateLibraryName) == 0) { in ElfFileIdentifierForMapping() 109 linux_gate = reinterpret_cast<void*>(mapping.start_addr); in ElfFileIdentifierForMapping() 111 linux_gate = allocator_.Alloc(mapping.size); in ElfFileIdentifierForMapping() 113 reinterpret_cast<const void*>(mapping.start_addr), in ElfFileIdentifierForMapping() 114 mapping.size); in ElfFileIdentifierForMapping() 120 size_t filename_len = my_strlen(mapping.name); in ElfFileIdentifierForMapping() [all …]
|
D | linux_ptrace_dumper_unittest.cc | 161 void Init(int fd, char* mapping, size_t size) { in Init() argument 163 mapping_ = mapping; in Init() 167 char* mapping() const { return mapping_; } in mapping() function in StackHelper 199 char* mapping = in SetUp() local 206 ASSERT_TRUE(mapping); in SetUp() 209 helper_.Init(fd, mapping, kMappingSize); in SetUp() 213 mmap(mapping + 2 * page_size_, in SetUp() 232 const MappingInfo& mapping = *dumper.mappings()[i]; in TEST_F() local 233 if (strcmp(mapping.name, this->helper_path_.c_str()) == 0) { in TEST_F() 236 EXPECT_EQ(reinterpret_cast<uintptr_t>(this->helper_.mapping()), in TEST_F() [all …]
|
D | minidump_writer.cc | 343 const MappingInfo& mapping = *dumper_->mappings()[j]; in WriteThreadListStream() local 344 if (ip >= mapping.start_addr && in WriteThreadListStream() 345 ip < mapping.start_addr + mapping.size) { in WriteThreadListStream() 350 std::max(mapping.start_addr, in WriteThreadListStream() 354 uintptr_t(mapping.start_addr + mapping.size)); in WriteThreadListStream() 452 static bool ShouldIncludeMapping(const MappingInfo& mapping) { in ShouldIncludeMapping() argument 453 if (mapping.name[0] == 0 || // only want modules with filenames. in ShouldIncludeMapping() 456 (mapping.offset != 0 && !mapping.exec) || in ShouldIncludeMapping() 457 mapping.size < 4096) { // too small to get a signature for. in ShouldIncludeMapping() 466 bool HaveMappingInfo(const MappingInfo& mapping) { in HaveMappingInfo() argument [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/input/ |
D | InputManager.java | 162 Mapping mapping = maps.get(i); in invokeActions() local 163 ArrayList<InputListener> listeners = mapping.listeners; in invokeActions() 168 ((ActionListener) listener).onAction(mapping.name, pressed, frameTPF); in invokeActions() 237 Mapping mapping = maps.get(i); in invokeAnalogs() local 238 ArrayList<InputListener> listeners = mapping.listeners; in invokeAnalogs() 244 ((AnalogListener) listener).onAnalog(mapping.name, value, frameTPF); in invokeAnalogs() 268 Mapping mapping = maps.get(i); in invokeAnalogsAndActions() local 269 ArrayList<InputListener> listeners = mapping.listeners; in invokeAnalogsAndActions() 275 ((ActionListener) listener).onAction(mapping.name, true, frameTPF); in invokeAnalogsAndActions() 279 ((AnalogListener) listener).onAnalog(mapping.name, value, frameTPF); in invokeAnalogsAndActions() [all …]
|
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
D | resource.hpp | 34 class mapping; 59 friend class mapping; 76 std::list<mapping> maps; 105 class mapping { class 107 mapping(command_queue &q, resource &r, cl_map_flags flags, 110 mapping(const mapping &m) = delete; 111 mapping(mapping &&m); 112 ~mapping();
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
D | PropertyBoxParserImpl.java | 36 Properties mapping; field in PropertyBoxParserImpl 41 mapping = new Properties(); in PropertyBoxParserImpl() 43 mapping.load(is); in PropertyBoxParserImpl() 50 mapping.load(customIS); in PropertyBoxParserImpl() 56 … mapping.load(new BufferedInputStream(getClass().getResourceAsStream(customProperty))); in PropertyBoxParserImpl() 71 public PropertyBoxParserImpl(Properties mapping) { in PropertyBoxParserImpl() argument 72 this.mapping = mapping; in PropertyBoxParserImpl() 170 …constructor = mapping.getProperty((parent) + "-uuid[" + Hex.encodeHex(userType).toUpperCase() + "]… in invoke() 172 … constructor = mapping.getProperty("uuid[" + Hex.encodeHex(userType).toUpperCase() + "]"); in invoke() 175 constructor = mapping.getProperty("uuid"); in invoke() [all …]
|
/external/llvm/docs/ |
D | CoverageMappingFormat.rst | 14 LLVM's code coverage mapping format is used to provide code coverage 18 This document is aimed at those who use LLVM's code coverage mapping to provide 24 then we briefly desribe LLVM's code coverage mapping format and the 26 the basics are down, more advanced features of the coverage mapping format 37 ``-fprofile-instr-generate`` option with the additional ``-fcoverage-mapping`` 40 ``clang -o test -fprofile-instr-generate -fcoverage-mapping test.c`` 56 LLVM's code coverage mapping format is designed to be a self contained 58 It's described in this document as a **mapping** format because its goal is 63 The mapping data is used in two places in the code coverage process: 65 1. When clang compiles a source file with ``-fcoverage-mapping``, it [all …]
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/ |
D | LocalVariablesSorter.java | 55 int[] mapping = new int[40]; field in LocalVariablesSorter.State 130 int length = state.mapping.length; in remap() 133 System.arraycopy(state.mapping, 0, newMapping, 0, length); in remap() 134 state.mapping = newMapping; in remap() 136 int value = state.mapping[key]; in remap() 139 state.mapping[key] = value; in remap() 150 int value = key < state.mapping.length ? state.mapping[key] : 0; in remap() 152 value = key + 1 < state.mapping.length ? state.mapping[key + 1] : 0; in remap()
|
/external/google-breakpad/src/client/linux/microdump_writer/ |
D | microdump_writer.cc | 278 bool HaveMappingInfo(const MappingInfo& mapping) { in HaveMappingInfo() argument 284 if (mapping.start_addr >= iter->first.start_addr && in HaveMappingInfo() 285 (mapping.start_addr + mapping.size) <= in HaveMappingInfo() 295 void DumpModule(const MappingInfo& mapping, in DumpModule() argument 305 mapping, in DumpModule() 314 mapping, file_path, sizeof(file_path), file_name, sizeof(file_name)); in DumpModule() 317 LogAppend(static_cast<uintptr_t>(mapping.start_addr)); in DumpModule() 319 LogAppend(mapping.offset); in DumpModule() 321 LogAppend(mapping.size); in DumpModule() 343 const MappingInfo& mapping = *dumper_->mappings()[i]; in DumpMappings() local [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | sprpdata.c | 37 compareMapping(UStringPrepProfile* data, uint32_t codepoint, uint32_t* mapping, int32_t mapLength, 50 uint32_t mapping[40]; in strprepProfileLineFn() local 80 length=u_parseCodePoints(map, mapping, sizeof(mapping)/4, pErrorCode); in strprepProfileLineFn() 83 compareMapping(data, code,mapping, length,USPREP_MAP); in strprepProfileLineFn() 147 compareMapping(UStringPrepProfile* data, uint32_t codepoint, uint32_t* mapping,int32_t mapLength, in compareMapping() argument 192 if(mapping[j] > 0xFFFF){ in compareMapping() 205 if(mapping[i] <= 0xFFFF){ in compareMapping() 206 if(mappingData[idx+i] != (uint16_t)mapping[i]){ in compareMapping() 207 …_err("Did not get the expected result. Expected: 0x%04X Got: 0x%04X \n", mapping[i], mappingData[i… in compareMapping() 210 UChar lead = U16_LEAD(mapping[i]); in compareMapping() [all …]
|
/external/v8/tools/ |
D | SourceMap.js | 196 var mapping = this._mappings[middle]; 197 if (lineNumber < mapping[0] || (lineNumber === mapping[0] && columnNumber < mapping[1])) 219 var mapping = mappings[lineNumber]; 220 if (mapping) 221 return mapping; 289 var mapping = this._mappings[i]; 290 var url = mapping[2]; 296 var sourceLine = mapping[3]; 298 reverseMappings[sourceLine] = [mapping[0], mapping[1]];
|
/external/llvm/include/llvm/Object/ |
D | COFFYAML.h | 167 static void mapping(IO &IO, COFFYAML::Relocation &Rel); in LLVM_YAML_IS_SEQUENCE_VECTOR() 172 static void mapping(IO &IO, COFFYAML::PEHeader &PH); in LLVM_YAML_IS_SEQUENCE_VECTOR() 177 static void mapping(IO &IO, COFF::DataDirectory &DD); in LLVM_YAML_IS_SEQUENCE_VECTOR() 182 static void mapping(IO &IO, COFF::header &H); in LLVM_YAML_IS_SEQUENCE_VECTOR() 186 static void mapping(IO &IO, COFF::AuxiliaryFunctionDefinition &AFD); in LLVM_YAML_IS_SEQUENCE_VECTOR() 190 static void mapping(IO &IO, COFF::AuxiliarybfAndefSymbol &AAS); in LLVM_YAML_IS_SEQUENCE_VECTOR() 194 static void mapping(IO &IO, COFF::AuxiliaryWeakExternal &AWE); in LLVM_YAML_IS_SEQUENCE_VECTOR() 198 static void mapping(IO &IO, COFF::AuxiliarySectionDefinition &ASD); in LLVM_YAML_IS_SEQUENCE_VECTOR() 202 static void mapping(IO &IO, COFF::AuxiliaryCLRToken &ACT); in LLVM_YAML_IS_SEQUENCE_VECTOR() 207 static void mapping(IO &IO, COFFYAML::Symbol &S); in LLVM_YAML_IS_SEQUENCE_VECTOR() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | testidn.cpp | 53 compareMapping(uint32_t codepoint, uint32_t* mapping, int32_t mapLength, 146 uint32_t mapping[40]; in strprepProfileLineFn() local 188 length=u_parseCodePoints(map, mapping, sizeof(mapping)/4, pErrorCode); in strprepProfileLineFn() 191 compareMapping(code,mapping, length,USPREP_MAP); in strprepProfileLineFn() 327 compareMapping(uint32_t codepoint, uint32_t* mapping,int32_t mapLength, in compareMapping() argument 368 if(mapping[j] > 0xFFFF){ in compareMapping() 381 if(mapping[i] <= 0xFFFF){ in compareMapping() 382 if(mappingData[index+i] != (uint16_t)mapping[i]){ in compareMapping() 383 …rrln("Did not get the expected result. Expected: 0x%04X Got: 0x%04X \n", mapping[i], mappingData[i… in compareMapping() 386 UChar lead = U16_LEAD(mapping[i]); in compareMapping() [all …]
|
D | nptrans.cpp | 50 mapping = NULL; in NamePrepTransform() 71 mapping = Transliterator::createFromRules(UnicodeString("NamePrepTransform", ""), rule, in NamePrepTransform() 113 (mapping == NULL) in NamePrepTransform() 116 delete mapping; in NamePrepTransform() 118 mapping = NULL; in NamePrepTransform() 130 delete mapping; in ~NamePrepTransform() 131 mapping = NULL; in ~NamePrepTransform() 157 mapping->transliterate(rsource); in map()
|
/external/google-breakpad/src/tools/linux/md2core/ |
D | minidump-2-core.cc | 554 CrashedProcess::Mapping mapping; in ParseMaps() local 555 mapping.permissions = 0; in ParseMaps() 557 mapping.permissions |= PF_R; in ParseMaps() 560 mapping.permissions |= PF_W; in ParseMaps() 563 mapping.permissions |= PF_X; in ParseMaps() 565 mapping.start_address = start; in ParseMaps() 566 mapping.end_address = stop; in ParseMaps() 567 mapping.offset = offset; in ParseMaps() 569 mapping.filename = filename; in ParseMaps() 571 crashinfo->mappings[mapping.start_address] = mapping; in ParseMaps() [all …]
|
/external/libopus/src/ |
D | opus_multistream.c | 50 if (layout->mapping[i] >= max_channel && layout->mapping[i] != 255) in validate_layout() 63 if (layout->mapping[i]==stream_id*2) in get_left_channel() 75 if (layout->mapping[i]==stream_id*2+1) in get_right_channel() 87 if (layout->mapping[i]==stream_id+layout->nb_coupled_streams) in get_mono_channel()
|
/external/libphonenumber/internal/prefixmapper/test/com/google/i18n/phonenumbers/prefixmapper/ |
D | MappingFileProviderTest.java | 44 SortedMap<Integer, Set<String>> mapping = new TreeMap<Integer, Set<String>>(); in MappingFileProviderTest() local 45 mapping.put(1, newHashSet("en")); in MappingFileProviderTest() 46 mapping.put(86, newHashSet("zh", "en", "zh_Hant")); in MappingFileProviderTest() 47 mapping.put(41, newHashSet("de", "fr", "it", "rm")); in MappingFileProviderTest() 48 mapping.put(65, newHashSet("en", "zh_Hans", "ms", "ta")); in MappingFileProviderTest() 50 mappingProvider.readFileConfigs(mapping); in MappingFileProviderTest()
|
/external/libopus/include/ |
D | opus_multistream.h | 262 const unsigned char *mapping, 273 unsigned char *mapping, 332 const unsigned char *mapping, 343 unsigned char *mapping, 509 const unsigned char *mapping, 553 const unsigned char *mapping
|
/external/valgrind/none/tests/ |
D | faultstatus.c | 51 static char volatile *volatile mapping; variable 110 mapping[0] = 'x'; 115 mapping[FILESIZE+10]; 150 mapping = mmap(0, MAPSIZE, PROT_READ, MAP_PRIVATE, fd, 0); 157 T(2, SIGSEGV, SEGV_ACCERR, mapping), 158 T(3, SIGBUS, BUS_ADRERR, &mapping[FILESIZE+10]),
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_stacktrace_test.cc | 32 void *mapping; member in __sanitizer::FastUnwindTest 47 mapping = MmapOrDie(2 * ps, "FastUnwindTest"); in SetUp() 48 MprotectNoAccess((uptr)mapping, ps); in SetUp() 51 fake_stack = (uhwptr *)((uptr)mapping + ps + sizeof(uhwptr)); in SetUp() 65 fake_bottom = (uhwptr)mapping; in SetUp() 71 UnmapOrDie(mapping, 2 * ps); in TearDown()
|