/external/bcc/src/cc/ |
D | bpf_common.cc | 21 auto mod = new ebpf::BPFModule(flags); in bpf_module_create_b() local 22 if (mod->load_b(filename, proto_filename) != 0) { in bpf_module_create_b() 23 delete mod; in bpf_module_create_b() 26 return mod; in bpf_module_create_b() 30 auto mod = new ebpf::BPFModule(flags); in bpf_module_create_c() local 31 if (mod->load_c(filename, cflags, ncflags) != 0) { in bpf_module_create_c() 32 delete mod; in bpf_module_create_c() 35 return mod; in bpf_module_create_c() 39 auto mod = new ebpf::BPFModule(flags); in bpf_module_create_c_from_string() local 40 if (mod->load_string(text, cflags, ncflags) != 0) { in bpf_module_create_c_from_string() [all …]
|
/external/elfutils/libdwfl/ |
D | dwfl_module_getdwarf.c | 77 open_elf (Dwfl_Module *mod, struct dwfl_file *file) in open_elf() argument 156 if (file == &mod->main) in open_elf() 158 mod->e_type = ehdr->e_type; in open_elf() 161 if (mod->e_type == ET_EXEC && file->vaddr != mod->low_addr) in open_elf() 162 mod->e_type = ET_DYN; in open_elf() 165 assert (mod->main.elf != NULL); in open_elf() 173 mod_verify_build_id (Dwfl_Module *mod) in mod_verify_build_id() argument 175 assert (mod->build_id_len > 0); in mod_verify_build_id() 177 switch (__builtin_expect (__libdwfl_find_build_id (mod, false, in mod_verify_build_id() 178 mod->main.elf), 2)) in mod_verify_build_id() [all …]
|
D | dwfl_module.c | 63 __libdwfl_module_free (Dwfl_Module *mod) in __libdwfl_module_free() argument 65 if (mod->lazy_cu_root != NULL) in __libdwfl_module_free() 66 tdestroy (mod->lazy_cu_root, nofree); in __libdwfl_module_free() 68 if (mod->aranges != NULL) in __libdwfl_module_free() 69 free (mod->aranges); in __libdwfl_module_free() 71 if (mod->cu != NULL) in __libdwfl_module_free() 73 for (size_t i = 0; i < mod->ncu; ++i) in __libdwfl_module_free() 74 free_cu (mod->cu[i]); in __libdwfl_module_free() 75 free (mod->cu); in __libdwfl_module_free() 80 if (mod->eh_cfi != NULL) in __libdwfl_module_free() [all …]
|
D | dwfl_module_getsym.c | 37 __libdwfl_getsym (Dwfl_Module *mod, int ndx, GElf_Sym *sym, GElf_Addr *addr, in __libdwfl_getsym() argument 41 if (unlikely (mod == NULL)) in __libdwfl_getsym() 44 if (unlikely (mod->symdata == NULL)) in __libdwfl_getsym() 46 int result = INTUSE(dwfl_module_getsymtab) (mod); in __libdwfl_getsym() 57 int skip_aux_zero = (mod->syments > 0 && mod->aux_syments > 0) ? 1 : 0; in __libdwfl_getsym() 62 if (mod->aux_symdata == NULL in __libdwfl_getsym() 63 || ndx < mod->first_global) in __libdwfl_getsym() 67 elf = mod->symfile->elf; in __libdwfl_getsym() 68 symdata = mod->symdata; in __libdwfl_getsym() 69 symxndxdata = mod->symxndxdata; in __libdwfl_getsym() [all …]
|
D | derelocate.c | 80 cache_sections (Dwfl_Module *mod) in cache_sections() argument 82 if (likely (mod->reloc_info != NULL)) in cache_sections() 83 return mod->reloc_info->count; in cache_sections() 89 if (unlikely (elf_getshdrstrndx (mod->main.elf, &shstrndx) < 0)) in cache_sections() 99 while ((scn = elf_nextscn (mod->main.elf, scn)) != NULL) in cache_sections() 107 && mod->e_type == ET_REL) in cache_sections() 110 if (__libdwfl_relocate_value (mod, mod->main.elf, &shstrndx, in cache_sections() 121 const char *name = elf_strptr (mod->main.elf, shstrndx, in cache_sections() 138 newref->start = dwfl_adjusted_address (mod, shdr->sh_addr); in cache_sections() 145 if (mod->e_type == ET_REL in cache_sections() [all …]
|
D | cu.c | 40 dwar (Dwfl_Module *mod, unsigned int idx) in dwar() argument 42 return &mod->dw->aranges->info[mod->aranges[idx].arange]; in dwar() 47 addrarange (Dwfl_Module *mod, Dwarf_Addr addr, struct dwfl_arange **arange) in addrarange() argument 49 if (mod->aranges == NULL) in addrarange() 54 if (INTUSE(dwarf_getaranges) (mod->dw, &dwaranges, &naranges) != 0) in addrarange() 85 mod->naranges = naranges; in addrarange() 87 mod->aranges = (realloc (aranges, naranges * sizeof aranges[0]) in addrarange() 91 mod->lazycu += naranges; in addrarange() 95 addr = dwfl_deadjust_dwarf_addr (mod, addr); in addrarange() 98 size_t l = 0, u = mod->naranges; in addrarange() [all …]
|
D | dwfl_module_getelf.c | 36 dwfl_module_getelf (Dwfl_Module *mod, GElf_Addr *loadbase) in dwfl_module_getelf() argument 38 if (mod == NULL) in dwfl_module_getelf() 41 __libdwfl_getelf (mod); in dwfl_module_getelf() 42 if (mod->elferr == DWFL_E_NOERROR) in dwfl_module_getelf() 44 if (mod->e_type == ET_REL && ! mod->main.relocated) in dwfl_module_getelf() 49 mod->main.relocated = true; in dwfl_module_getelf() 50 if (likely (__libdwfl_module_getebl (mod) == DWFL_E_NOERROR)) in dwfl_module_getelf() 52 (void) __libdwfl_relocate (mod, mod->main.elf, false); in dwfl_module_getelf() 54 if (mod->debug.elf == mod->main.elf) in dwfl_module_getelf() 55 mod->debug.relocated = true; in dwfl_module_getelf() [all …]
|
D | dwfl_module_build_id.c | 36 found_build_id (Dwfl_Module *mod, bool set, in found_build_id() argument 43 return 1 + (mod->build_id_len == len in found_build_id() 44 && !memcmp (bits, mod->build_id_bits, len)); in found_build_id() 53 mod->build_id_bits = memcpy (copy, bits, len); in found_build_id() 54 mod->build_id_vaddr = vaddr; in found_build_id() 55 mod->build_id_len = len; in found_build_id() 61 __libdwfl_find_build_id (Dwfl_Module *mod, bool set, Elf *elf) in __libdwfl_find_build_id() argument 68 assert (mod != NULL); in __libdwfl_find_build_id() 70 int result = __libdwfl_find_elf_build_id (mod, elf, &build_id_bits, in __libdwfl_find_build_id() 76 ? mod->main_bias : 0); in __libdwfl_find_build_id() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | MutablePatternModifierTest.java | 30 MutablePatternModifier mod = new MutablePatternModifier(false); in basic() local 31 mod.setPatternInfo(PatternStringParser.parseToPatternInfo("a0b"), null); in basic() 32 mod.setPatternAttributes(SignDisplay.AUTO, false); in basic() 33 mod.setSymbols(DecimalFormatSymbols.getInstance(ULocale.ENGLISH), in basic() 38 mod.setNumberProperties(1, null); in basic() 39 assertEquals("a", getPrefix(mod)); in basic() 40 assertEquals("b", getSuffix(mod)); in basic() 41 mod.setPatternAttributes(SignDisplay.ALWAYS, false); in basic() 42 assertEquals("+a", getPrefix(mod)); in basic() 43 assertEquals("b", getSuffix(mod)); in basic() [all …]
|
/external/kmod/testsuite/ |
D | delete_module.c | 37 struct mod { struct 38 struct mod *next; argument 44 static struct mod *modules; argument 47 static void parse_retcodes(struct mod **_modules, const char *s) in parse_retcodes() 55 struct mod *mod; in parse_retcodes() local 89 mod = malloc(sizeof(*mod) + modnamelen + 1); in parse_retcodes() 90 if (mod == NULL) in parse_retcodes() 93 memcpy(mod->name, modname, modnamelen); in parse_retcodes() 94 mod->name[modnamelen] = '\0'; in parse_retcodes() 95 mod->ret = ret; in parse_retcodes() [all …]
|
D | init_module.c | 52 struct mod { struct 53 struct mod *next; argument 59 static struct mod *modules; argument 63 static void parse_retcodes(struct mod *_modules, const char *s) in parse_retcodes() 71 struct mod *mod; in parse_retcodes() local 104 mod = malloc(sizeof(*mod) + modnamelen + 1); in parse_retcodes() 105 if (mod == NULL) in parse_retcodes() 108 memcpy(mod->name, modname, modnamelen); in parse_retcodes() 109 mod->name[modnamelen] = '\0'; in parse_retcodes() 110 mod->ret = ret; in parse_retcodes() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | MutablePatternModifierTest.java | 27 MutablePatternModifier mod = new MutablePatternModifier(false); in basic() local 28 mod.setPatternInfo(PatternStringParser.parseToPatternInfo("a0b"), null); in basic() 29 mod.setPatternAttributes(SignDisplay.AUTO, false); in basic() 30 mod.setSymbols(DecimalFormatSymbols.getInstance(ULocale.ENGLISH), in basic() 35 mod.setNumberProperties(1, null); in basic() 36 assertEquals("a", getPrefix(mod)); in basic() 37 assertEquals("b", getSuffix(mod)); in basic() 38 mod.setPatternAttributes(SignDisplay.ALWAYS, false); in basic() 39 assertEquals("+a", getPrefix(mod)); in basic() 40 assertEquals("b", getSuffix(mod)); in basic() [all …]
|
/external/linux-kselftest/tools/testing/selftests/livepatch/ |
D | functions.sh | 98 local mod="$1" 100 modprobe --dry-run "$mod" &>/dev/null 104 local mod="$1" 106 if [[ $(modinfo "$mod" | awk '/^livepatch:/{print $NF}') == "Y" ]]; then 114 local mod="$1"; shift 116 local msg="% modprobe $mod $*" 118 ret=$(modprobe "$mod" "$@" 2>&1) 125 die "failed to load module $mod" 133 local mod="$1"; shift 135 assert_mod "$mod" || [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | numbertest_patternmodifier.cpp | 25 MutablePatternModifier mod(false); in testBasic() local 29 mod.setPatternInfo(&patternInfo, UNUM_FIELD_COUNT); in testBasic() 30 mod.setPatternAttributes(UNUM_SIGN_AUTO, false); in testBasic() 36 mod.setSymbols(&symbols, ¤cySymbols, UNUM_UNIT_WIDTH_SHORT, nullptr); in testBasic() 38 mod.setNumberProperties(SIGNUM_POS, StandardPlural::Form::COUNT); in testBasic() 39 assertEquals("Pattern a0b", u"a", getPrefix(mod, status)); in testBasic() 40 assertEquals("Pattern a0b", u"b", getSuffix(mod, status)); in testBasic() 41 mod.setPatternAttributes(UNUM_SIGN_ALWAYS, false); in testBasic() 42 assertEquals("Pattern a0b", u"+a", getPrefix(mod, status)); in testBasic() 43 assertEquals("Pattern a0b", u"b", getSuffix(mod, status)); in testBasic() [all …]
|
/external/elfutils/libcpu/defs/ |
D | i386 | 16 %mask {mod} 2 74 1000000{w},{mod}010{r_m},{imm}:adc{w} {imm}{w},{mod}{r_m}{w} 75 1000001{w},{mod}010{r_m},{imms8}:adc{w} {imms8},{mod}{r_m} 76 0001000{w},{mod}{reg}{r_m}:adc {reg}{w},{mod}{r_m}{w} 77 0001001{w},{mod}{reg}{r_m}:adc {mod}{r_m}{w},{reg}{w} 79 1000000{w},{mod}000{r_m},{imm}:add{w} {imm}{w},{mod}{r_m}{w} 80 10000011,{mod}000{r_m},{imms8}:add{w} {imms8},{mod}{r_m} 81 0000000{w},{mod}{reg}{r_m}:add {reg}{w},{mod}{r_m}{w} 82 0000001{w},{mod}{reg}{r_m}:add {mod}{r_m}{w},{reg}{w} 86 1000000{w},{mod}100{r_m},{imm}:and{w} {imm}{w},{mod}{r_m}{w} [all …]
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
D | EventBuilder.java | 44 EventMod mod = new EventMod(EventMod.ModKind.Count); in setCount() local 45 mod.count = count; in setCount() 46 modifiers.add(mod); in setCount() 57 EventMod mod = new EventMod(EventMod.ModKind.ThreadOnly); in setThreadOnly() local 58 mod.thread = thread; in setThreadOnly() 59 modifiers.add(mod); in setThreadOnly() 70 EventMod mod = new EventMod(EventMod.ModKind.ClassOnly); in setClassOnly() local 71 mod.clazz = classId; in setClassOnly() 72 modifiers.add(mod); in setClassOnly() 83 EventMod mod = new EventMod(EventMod.ModKind.ClassMatch); in setClassMatch() local [all …]
|
/external/python/cryptography/tests/ |
D | test_warnings.py | 18 mod = types.ModuleType("TestDeprecated/test_deprecated") 19 monkeypatch.setitem(sys.modules, mod.__name__, mod) 20 mod.X = deprecated( 22 module_name=mod.__name__, 26 mod.Y = deprecated( 28 module_name=mod.__name__, 32 mod = sys.modules[mod.__name__] 33 mod.Z = 3 38 assert mod.X == 1 39 assert mod.Y == 2 [all …]
|
/external/kmod/libkmod/ |
D | libkmod-module.c | 126 static inline bool module_is_inkernel(struct kmod_module *mod) in module_is_inkernel() argument 128 int state = kmod_module_get_initstate(mod); in module_is_inkernel() 137 int kmod_module_parse_depline(struct kmod_module *mod, char *line) in kmod_module_parse_depline() argument 139 struct kmod_ctx *ctx = mod->ctx; in kmod_module_parse_depline() 147 if (mod->init.dep) in kmod_module_parse_depline() 148 return mod->n_dep; in kmod_module_parse_depline() 149 assert(mod->dep == NULL); in kmod_module_parse_depline() 150 mod->init.dep = true; in kmod_module_parse_depline() 157 dirname = kmod_get_dirname(mod->ctx); in kmod_module_parse_depline() 167 if (mod->path == NULL) { in kmod_module_parse_depline() [all …]
|
/external/skia/ |
D | go.sum | 1 cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= 2 cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= 4 cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= 6 cloud.google.com/go v0.43.0/go.mod h1:BOSR3VbTLkk6FDC/TcffxP4NF/FFBGA5ku+jvKOP7pg= 8 cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= 9 cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= 11 cloud.google.com/go v0.44.3/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= 13 cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= 14 cloud.google.com/go v0.46.1/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= 16 cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= [all …]
|
/external/e2fsprogs/tests/f_unshare_blocks_no_space/ |
D | expect.1 | 18 File /file4.txt (inode #24, mod time Mon Mar 5 20:30:04 2018) 20 /file18.txt (inode #32, mod time Mon Mar 5 20:30:04 2018) 21 /file6.txt (inode #31, mod time Mon Mar 5 20:30:04 2018) 22 /file12.txt (inode #30, mod time Mon Mar 5 20:30:04 2018) 23 /file3.txt (inode #29, mod time Mon Mar 5 20:30:04 2018) 24 /file9.txt (inode #28, mod time Mon Mar 5 20:30:04 2018) 25 /file8.txt (inode #27, mod time Mon Mar 5 20:30:04 2018) 26 /file15.txt (inode #26, mod time Mon Mar 5 20:30:04 2018) 27 /file20.txt (inode #25, mod time Mon Mar 5 20:30:04 2018) 30 File /file20.txt (inode #25, mod time Mon Mar 5 20:30:04 2018) [all …]
|
/external/kmod/testsuite/module-playground/ |
D | Makefile | 5 obj-m := mod-simple.o 9 obj-m += mod-foo-a.o 10 obj-m += mod-foo-b.o 11 obj-m += mod-foo-c.o 12 obj-m += mod-foo.o 22 obj-m += mod-loop-a.o 23 obj-m += mod-loop-b.o 24 obj-m += mod-loop-c.o 25 obj-m += mod-loop-d.o 26 obj-m += mod-loop-e.o [all …]
|
/external/tensorflow/tensorflow/python/module/ |
D | module_test.py | 44 mod = module.Module(name="simple") 45 self.assertEqual(mod.name, "simple") 46 self.assertEqual(mod.name_scope.name, "simple/") 50 mod = module.Module(name="bar") 51 self.assertEqual(mod.name, "bar") 52 self.assertEqual(mod.name_scope.name, "foo/bar/") 55 mod = ReturnsNameScopeModule() 57 self.assertEqual(mod(), mod.name_scope.name) 60 mod = ReturnsNameScopeModule() 62 self.assertEqual(mod.alternative_forward(), mod.name_scope.name) [all …]
|
/external/u-boot/drivers/sound/ |
D | samsung-i2s.c | 32 unsigned int mod = readl(&i2s_reg->mod); in i2s_set_lr_framesize() local 34 mod &= ~MOD_RCLK_MASK; in i2s_set_lr_framesize() 38 mod |= MOD_RCLK_768FS; in i2s_set_lr_framesize() 41 mod |= MOD_RCLK_512FS; in i2s_set_lr_framesize() 44 mod |= MOD_RCLK_384FS; in i2s_set_lr_framesize() 47 mod |= MOD_RCLK_256FS; in i2s_set_lr_framesize() 51 writel(mod, &i2s_reg->mod); in i2s_set_lr_framesize() 63 unsigned int mod = readl(&i2s_reg->mod) & ~MOD_MASK; in i2s_txctrl() local 73 writel(mod, &i2s_reg->mod); in i2s_txctrl() 85 unsigned int mod = readl(&i2s_reg->mod); in i2s_set_bitclk_framesize() local [all …]
|
/external/mesa3d/src/panfrost/bifrost/ |
D | gen_pack.py | 49 def mod_arg(mod): argument 50 return int(mod[-1]) if mod[-1] in "0123" else 0 56 def pack_widen(mod, opts, body, pack_exprs): argument 57 marg = mod_arg(mod) 59 …ppend('unsigned {}_sz = nir_alu_type_get_type_size(ins->src_types[{}]);'.format(mod, mod_arg(mod))) 60 body.append('unsigned {}_temp = 0;'.format(mod)) 71 body.append('{}if ({}_sz == 32) {}_temp = {};'.format(t_else, mod, mod, i)) 73 body.append('{}if ({}_sz == 64) {}_temp = {};'.format(t_else, mod, mod, i)) 82 … body.append('{}if ({}_sz == {} && {}) {}_temp = {};'.format(t_else, mod, sz, cond, mod, i)) 85 return mod + '_temp' [all …]
|
/external/fsck_msdos/ |
D | check.c | 55 int mod = 0; in checkfilesys() local 98 mod |= readfat(dosfs, &boot, &fat); in checkfilesys() 99 if (mod & FSFATAL) { in checkfilesys() 107 mod |= resetDosDirSection(fat); in checkfilesys() 109 if (mod & FSFATAL) in checkfilesys() 113 mod |= handleDirTree(fat); in checkfilesys() 114 if (mod & FSFATAL) in checkfilesys() 120 mod |= checklost(fat); in checkfilesys() 121 if (mod & FSFATAL) in checkfilesys() 125 if (mod & FSFATMOD) { in checkfilesys() [all …]
|