Home
last modified time | relevance | path

Searched refs:mod (Results 1 – 25 of 2498) sorted by relevance

12345678910>>...100

/external/bcc/src/cc/
Dbpf_common.cc21 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/
Ddwfl_module_getdwarf.c77 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 …]
Ddwfl_module.c63 __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 …]
Ddwfl_module_getsym.c37 __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 …]
Dderelocate.c80 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 …]
Dcu.c40 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 …]
Ddwfl_module_getelf.c36 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 …]
Ddwfl_module_build_id.c36 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/javassist/src/main/javassist/
DModifier.java52 public static boolean isPublic(int mod) { in isPublic() argument
53 return (mod & PUBLIC) != 0; in isPublic()
60 public static boolean isPrivate(int mod) { in isPrivate() argument
61 return (mod & PRIVATE) != 0; in isPrivate()
68 public static boolean isProtected(int mod) { in isProtected() argument
69 return (mod & PROTECTED) != 0; in isProtected()
76 public static boolean isPackage(int mod) { in isPackage() argument
77 return (mod & (PUBLIC | PRIVATE | PROTECTED)) == 0; in isPackage()
84 public static boolean isStatic(int mod) { in isStatic() argument
85 return (mod & STATIC) != 0; in isStatic()
[all …]
/external/kmod/testsuite/
Ddelete_module.c37 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 …]
Dinit_module.c52 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/
DMutablePatternModifierTest.java28 MutablePatternModifier mod = new MutablePatternModifier(false); in basic() local
29 mod.setPatternInfo(PatternStringParser.parseToPatternInfo("a0b"), null); in basic()
30 mod.setPatternAttributes(SignDisplay.AUTO, false); in basic()
31 mod.setSymbols(DecimalFormatSymbols.getInstance(ULocale.ENGLISH), in basic()
36 mod.setNumberProperties(Signum.POS, null); in basic()
37 assertEquals("a", getPrefix(mod)); in basic()
38 assertEquals("b", getSuffix(mod)); in basic()
39 mod.setPatternAttributes(SignDisplay.ALWAYS, false); in basic()
40 assertEquals("+a", getPrefix(mod)); in basic()
41 assertEquals("b", getSuffix(mod)); in basic()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DMutablePatternModifierTest.java31 MutablePatternModifier mod = new MutablePatternModifier(false); in basic() local
32 mod.setPatternInfo(PatternStringParser.parseToPatternInfo("a0b"), null); in basic()
33 mod.setPatternAttributes(SignDisplay.AUTO, false); in basic()
34 mod.setSymbols(DecimalFormatSymbols.getInstance(ULocale.ENGLISH), in basic()
39 mod.setNumberProperties(Signum.POS, null); in basic()
40 assertEquals("a", getPrefix(mod)); in basic()
41 assertEquals("b", getSuffix(mod)); in basic()
42 mod.setPatternAttributes(SignDisplay.ALWAYS, false); in basic()
43 assertEquals("+a", getPrefix(mod)); in basic()
44 assertEquals("b", getSuffix(mod)); in basic()
[all …]
/external/llvm-project/clang/test/CodeGen/
Dbuiltins-hexagon-circ.c6 unsigned char test1(int mod, void *start) { in test1() argument
8 return __builtin_HEXAGON_L2_loadrub_pci(&base, 4, mod, start); in test1()
13 unsigned char test2(int mod, void *start) { in test2() argument
15 return __builtin_HEXAGON_L2_loadrb_pci(&base, 4, mod, start); in test2()
20 unsigned short test3(int mod, void *start) { in test3() argument
22 return __builtin_HEXAGON_L2_loadruh_pci(&base, 4, mod, start); in test3()
27 short test4(int mod, void *start) { in test4() argument
29 return __builtin_HEXAGON_L2_loadrh_pci(&base, 4, mod, start); in test4()
34 int test5(int mod, void *start) { in test5() argument
36 return __builtin_HEXAGON_L2_loadri_pci(&base, 4, mod, start); in test5()
[all …]
/external/icu/icu4c/source/test/intltest/
Dnumbertest_patternmodifier.cpp25 MutablePatternModifier mod(false); in testBasic() local
29 mod.setPatternInfo(&patternInfo, kUndefinedField); in testBasic()
30 mod.setPatternAttributes(UNUM_SIGN_AUTO, false); in testBasic()
32 mod.setSymbols(&symbols, {u"USD", status}, UNUM_UNIT_WIDTH_SHORT, nullptr, status); in testBasic()
37 mod.setNumberProperties(SIGNUM_POS, StandardPlural::Form::COUNT); in testBasic()
38 assertEquals("Pattern a0b", u"a", getPrefix(mod, status)); in testBasic()
39 assertEquals("Pattern a0b", u"b", getSuffix(mod, status)); in testBasic()
40 mod.setPatternAttributes(UNUM_SIGN_ALWAYS, false); in testBasic()
41 assertEquals("Pattern a0b", u"+a", getPrefix(mod, status)); in testBasic()
42 assertEquals("Pattern a0b", u"b", getSuffix(mod, status)); in testBasic()
[all …]
/external/linux-kselftest/tools/testing/selftests/livepatch/
Dfunctions.sh98 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/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DEventBuilder.java44 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/elfutils/libcpu/defs/
Di38616 %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/python/cryptography/tests/
Dtest_warnings.py18 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/
Dlibkmod-module.c126 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/
Dgo.sum1 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=
3 cloud.google.com/go v0.37.4/go.mod h1:NHPJ89PdicEuT9hdPXMROBD91xc5uRDxsMtSB16k7hw=
5 cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU=
7 cloud.google.com/go v0.43.0/go.mod h1:BOSR3VbTLkk6FDC/TcffxP4NF/FFBGA5ku+jvKOP7pg=
9 cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU=
10 cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY=
12 cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc=
14 cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0=
15 cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To=
[all …]
/external/kmod/testsuite/module-playground/
DMakefile5 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/e2fsprogs/tests/f_unshare_blocks_no_space/
Dexpect.118 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/starlark-go/
Dgo.sum1 cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
2 github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
3 github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983Of…
5 github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI=
7 github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscD…
9 github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzF…
10 github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
11 github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRv…
12 github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesAr…
13 github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP…
[all …]
/external/tensorflow/tensorflow/python/module/
Dmodule_test.py46 mod = module.Module(name="simple")
47 self.assertEqual(mod.name, "simple")
48 self.assertEqual(mod.name_scope.name, "simple/")
52 mod = module.Module(name="bar")
53 self.assertEqual(mod.name, "bar")
54 self.assertEqual(mod.name_scope.name, "foo/bar/")
57 mod = ReturnsNameScopeModule()
59 self.assertEqual(mod(), mod.name_scope.name)
62 mod = ReturnsNameScopeModule()
64 self.assertEqual(mod.alternative_forward(), mod.name_scope.name)
[all …]

12345678910>>...100