Home
last modified time | relevance | path

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

12345678910>>...108

/external/bcc/src/cc/
Dbcc_common.cc22 auto mod = new ebpf::BPFModule(flags, nullptr, true, "", allow_rlimit, dev_name); in bpf_module_create_c() local
23 if (mod->load_c(filename, cflags, ncflags) != 0) { in bpf_module_create_c()
24 delete mod; in bpf_module_create_c()
27 return mod; in bpf_module_create_c()
32 auto mod = new ebpf::BPFModule(flags, nullptr, true, "", allow_rlimit, dev_name); in bpf_module_create_c_from_string() local
33 if (mod->load_string(text, cflags, ncflags) != 0) { in bpf_module_create_c_from_string()
34 delete mod; in bpf_module_create_c_from_string()
37 return mod; in bpf_module_create_c_from_string()
45 auto mod = static_cast<ebpf::BPFModule *>(program); in bpf_module_destroy() local
46 if (!mod) return; in bpf_module_destroy()
[all …]
/external/mbedtls/tests/suites/
Dtest_suite_bignum_mod.generated.data3 mbedtls_mpi_mod_sub #1 0 - 0 mod 53
6 mbedtls_mpi_mod_sub #2 0 - 1 mod 53
9 mbedtls_mpi_mod_sub #3 0 - 2 mod 53
12 mbedtls_mpi_mod_sub #4 0 - 3 mod 53
15 mbedtls_mpi_mod_sub #5 0 - 4 mod 53
18 mbedtls_mpi_mod_sub #6 0 - 38 mod 53
21 mbedtls_mpi_mod_sub #14 1 - 0 mod 53
24 mbedtls_mpi_mod_sub #15 1 - 1 mod 53
27 mbedtls_mpi_mod_sub #16 1 - 2 mod 53
30 mbedtls_mpi_mod_sub #17 1 - 3 mod 53
[all …]
Dtest_suite_bignum_mod_raw.generated.data3 mbedtls_mpi_mod_raw_add #1 0 + 0 mod 53
6 mbedtls_mpi_mod_raw_add #2 0 + 1 mod 53
9 mbedtls_mpi_mod_raw_add #3 0 + 2 mod 53
12 mbedtls_mpi_mod_raw_add #4 0 + 3 mod 53
15 mbedtls_mpi_mod_raw_add #5 0 + 4 mod 53
18 mbedtls_mpi_mod_raw_add #6 0 + 38 mod 53
21 mbedtls_mpi_mod_raw_add #14 1 + 0 mod 53
24 mbedtls_mpi_mod_raw_add #15 1 + 1 mod 53
27 mbedtls_mpi_mod_raw_add #16 1 + 2 mod 53
30 mbedtls_mpi_mod_raw_add #17 1 + 3 mod 53
[all …]
/external/bc/scripts/
Dbitfuncgen.c74 mod(uint64_t a, size_t bits) in mod() function
76 uint64_t mod; in mod() local
78 if (bits < 64) mod = (uint64_t) ((1ULL << bits) - 1); in mod()
79 else mod = UINT64_MAX; in mod()
81 return a & mod; in mod()
97 return mod(res, bits); in rol()
113 return mod(res, bits); in ror()
149 printf("bshl(%lu, %lu)\n", mod(a, 32), mod(b, 5)); in main()
150 printf("bshr(%lu, %lu)\n", mod(a, 32), mod(b, 5)); in main()
151 printf("bshl(%lu, %lu)\n", mod(b, 32), mod(a, 5)); in main()
[all …]
/external/elfutils/libdwfl/
Ddwfl_module_getdwarf.c76 open_elf (Dwfl_Module *mod, struct dwfl_file *file) in open_elf() argument
155 if (file == &mod->main) in open_elf()
157 mod->e_type = ehdr->e_type; in open_elf()
160 if (mod->e_type == ET_EXEC && file->vaddr != mod->low_addr) in open_elf()
161 mod->e_type = ET_DYN; in open_elf()
164 assert (mod->main.elf != NULL); in open_elf()
172 mod_verify_build_id (Dwfl_Module *mod) in mod_verify_build_id() argument
174 assert (mod->build_id_len > 0); in mod_verify_build_id()
176 switch (__builtin_expect (__libdwfl_find_build_id (mod, false, in mod_verify_build_id()
177 mod->main.elf), 2)) in mod_verify_build_id()
[all …]
Ddwfl_module.c62 __libdwfl_module_free (Dwfl_Module *mod) in __libdwfl_module_free() argument
64 if (mod->lazy_cu_root != NULL) in __libdwfl_module_free()
65 tdestroy (mod->lazy_cu_root, nofree); in __libdwfl_module_free()
67 if (mod->aranges != NULL) in __libdwfl_module_free()
68 free (mod->aranges); in __libdwfl_module_free()
70 if (mod->cu != NULL) in __libdwfl_module_free()
72 for (size_t i = 0; i < mod->ncu; ++i) in __libdwfl_module_free()
73 free_cu (mod->cu[i]); in __libdwfl_module_free()
74 free (mod->cu); in __libdwfl_module_free()
79 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 …]
/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, 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, false); in basic()
43 assertEquals("+a", getPrefix(mod)); in basic()
44 assertEquals("b", getSuffix(mod)); in basic()
[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/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, 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, false); in basic()
40 assertEquals("+a", getPrefix(mod)); in basic()
41 assertEquals("b", getSuffix(mod)); in basic()
[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, 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, 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/cronet/third_party/icu/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, 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, 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/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 …]
/external/swiftshader/tests/regres/
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.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU=
4 cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU=
5 cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY=
6 cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc=
7 cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0=
8 cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To=
9 cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4=
10 cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M=
[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.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU=
4 cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU=
5 cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY=
6 cloud.google.com/go v0.44.3/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY=
7 cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc=
8 cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0=
9 cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To=
10 cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4=
[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/linux-kselftest/tools/testing/selftests/livepatch/
Dfunctions.sh114 local mod="$1"
116 modprobe --dry-run "$mod" &>/dev/null
120 local mod="$1"
122 if [[ $(modinfo "$mod" | awk '/^livepatch:/{print $NF}') == "Y" ]]; then
130 local mod="$1"; shift
132 local msg="% modprobe $mod $*"
134 ret=$(modprobe "$mod" "$@" 2>&1)
141 die "failed to load module $mod"
149 local mod="$1"; shift
151 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/tensorflow/tensorflow/python/module/
Dmodule_test.py41 mod = module.Module(name="simple")
42 self.assertEqual(mod.name, "simple")
43 self.assertEqual(mod.name_scope.name, "simple/")
47 mod = module.Module(name="bar")
48 self.assertEqual(mod.name, "bar")
49 self.assertEqual(mod.name_scope.name, "foo/bar/")
52 mod = ReturnsNameScopeModule()
54 self.assertEqual(mod(), mod.name_scope.name)
57 mod = ReturnsNameScopeModule()
59 self.assertEqual(mod.alternative_forward(), mod.name_scope.name)
[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/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/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 …]

12345678910>>...108