Home
last modified time | relevance | path

Searched refs:sname (Results 1 – 25 of 99) sorted by relevance

1234

/external/cn-cbor/test/
Dctest.h44 #define __FNAME(sname, tname) __ctest_##sname##_##tname##_run argument
45 #define __TNAME(sname, tname) __ctest_##sname##_##tname argument
54 #define __CTEST_STRUCT(sname, tname, _skip, __data, __setup, __teardown) \ argument
55 struct ctest __TNAME(sname, tname) __Test_Section = { \
56 .ssname=#sname, \
58 .run = __FNAME(sname, tname), \
65 #define CTEST_DATA(sname) struct sname##_data argument
67 #define CTEST_SETUP(sname) \ argument
68 void __attribute__ ((weak)) sname##_setup(struct sname##_data* data)
70 #define CTEST_TEARDOWN(sname) \ argument
[all …]
/external/elfutils/backends/
Daarch64_symbol.c75 const char *sname = elf_strptr (elf, shstrndx, destshdr->sh_name); in aarch64_check_special_symbol() local
76 if (sname != NULL in aarch64_check_special_symbol()
77 && (strcmp (sname, ".got") == 0 || strcmp (sname, ".got.plt") == 0)) in aarch64_check_special_symbol()
86 sname = elf_strptr (elf, shstrndx, shdr->sh_name); in aarch64_check_special_symbol()
87 if (sname != NULL && strcmp (sname, ".got") == 0) in aarch64_check_special_symbol()
102 aarch64_data_marker_symbol (const GElf_Sym *sym, const char *sname) in aarch64_data_marker_symbol() argument
104 return (sym != NULL && sname != NULL in aarch64_data_marker_symbol()
107 && (strcmp (sname, "$d") == 0 || strncmp (sname, "$d.", 3) == 0)); in aarch64_data_marker_symbol()
Ds390_symbol.c74 const char *sname = elf_strptr (elf, shstrndx, destshdr->sh_name); in s390_check_special_symbol() local
75 if (sname != NULL in s390_check_special_symbol()
76 && (strcmp (sname, ".got") == 0 || strcmp (sname, ".got.plt") == 0)) in s390_check_special_symbol()
85 sname = elf_strptr (elf, shstrndx, shdr->sh_name); in s390_check_special_symbol()
86 if (sname != NULL && strcmp (sname, ".got") == 0) in s390_check_special_symbol()
Driscv_symbol.c100 const char *sname = elf_strptr (elf, shstrndx, destshdr->sh_name); in riscv_check_special_symbol() local
101 if (sname == NULL) in riscv_check_special_symbol()
107 return (strcmp (sname, ".got") == 0 in riscv_check_special_symbol()
115 return (((strcmp (sname, ".sdata") == 0 in riscv_check_special_symbol()
117 || strcmp (sname, ".got") == 0) in riscv_check_special_symbol()
Dppc_symbol.c159 const char *sname = elf_strptr (elf, shstrndx, destshdr->sh_name); in ppc_check_special_symbol() local
160 if (sname == NULL) in ppc_check_special_symbol()
168 return (((strcmp (sname, ".sdata") == 0 in ppc_check_special_symbol()
170 || strcmp (sname, ".data") == 0) in ppc_check_special_symbol()
174 return (strcmp (sname, ".sdata2") == 0 in ppc_check_special_symbol()
Darm_symbol.c152 arm_data_marker_symbol (const GElf_Sym *sym, const char *sname) in arm_data_marker_symbol() argument
154 return (sym != NULL && sname != NULL in arm_data_marker_symbol()
157 && (strcmp (sname, "$d") == 0 || strncmp (sname, "$d.", 3) == 0)); in arm_data_marker_symbol()
Dppc64_symbol.c106 const char *sname = elf_strptr (elf, shstrndx, destshdr->sh_name); in ppc64_check_special_symbol() local
107 if (sname == NULL) in ppc64_check_special_symbol()
109 return strcmp (sname, ".opd") == 0; in ppc64_check_special_symbol()
/external/boringssl/src/crypto/asn1/
Dtasn_typ.c63 #define IMPLEMENT_ASN1_STRING_FUNCTIONS(sname) \ argument
64 IMPLEMENT_ASN1_TYPE(sname) \
65 IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname(sname, sname, sname) \
66 sname *sname##_new(void) \
68 return ASN1_STRING_type_new(V_##sname); \
70 void sname##_free(sname *x) \
Dtasn_new.c107 if (it->sname) in asn1_item_ex_combine_new()
108 CRYPTO_push_info(it->sname); in asn1_item_ex_combine_new()
150 if (it->sname) in asn1_item_ex_combine_new()
175 if (it->sname) in asn1_item_ex_combine_new()
199 if (it->sname) in asn1_item_ex_combine_new()
209 if (it->sname) in asn1_item_ex_combine_new()
219 if (it->sname) in asn1_item_ex_combine_new()
295 if (it->sname) in ASN1_template_new()
/external/elfutils/tests/
Dfillfile.c129 add_data_section (Elf *elf, Elf_Scn *strtab, const char *sname) in add_data_section() argument
131 printf ("Add data section %s\n", sname); in add_data_section()
144 sname, elf_errmsg (-1)); in add_data_section()
155 shdr->sh_name = add_strtab_entry (strtab, sname); in add_data_section()
159 printf ("cannot update %s section header: %s\n", sname, elf_errmsg (-1)); in add_data_section()
167 printf ("cannot update %s section header: %s\n", sname, elf_errmsg (-1)); in add_data_section()
175 check_data (const char *sname, Elf_Data *data, char *buf) in check_data() argument
177 printf ("check data %s [", sname); in check_data()
183 printf ("No data in section %s\n", sname); in check_data()
189 printf ("Wrong data in section %s [", sname); in check_data()
[all …]
Ddwelfgnucompressed.c77 const char *sname = elf_strptr (elf, shdrstrndx, shdr.sh_name); in main() local
78 if (sname == NULL) in main()
85 if (strncmp(".zdebug", sname, strlen (".zdebug")) == 0) in main()
Dvdsosyms.c57 const char *sname = dwfl_module_getsym_info (mod, i, &sym, &addr, in module_callback() local
59 assert (sname != NULL); in module_callback()
61 i, sname, sym.st_value, addr); in module_callback()
Delfgetchdr.c93 const char *sname = elf_strptr (elf, shdrstrndx, shdr.sh_name); in main() local
94 if (sname == NULL) in main()
102 if (strncmp(".zdebug", sname, strlen (".zdebug")) == 0) in main()
Demptyfile.c247 const char *sname = elf_strptr (elf, shstrndx, shdr->sh_name); in check_elf() local
248 if (sname == NULL || strcmp (sname, ".strtab") != 0) in check_elf()
250 printf ("Bad section name: %s\n", sname); in check_elf()
/external/elfutils/src/
Delfcompress.c470 const char *sname = elf_strptr (elf, shdrstrndx, shdr->sh_name); in process_file() local
471 if (sname == NULL) in process_file()
477 if (section_name_matches (sname)) in process_file()
481 && strncmp (sname, ".zdebug", strlen (".zdebug")) != 0) in process_file()
484 printf ("[%zd] %s already decompressed\n", ndx, sname); in process_file()
490 printf ("[%zd] %s already compressed\n", ndx, sname); in process_file()
493 && strncmp (sname, ".zdebug", strlen (".zdebug")) == 0) in process_file()
496 printf ("[%zd] %s already GNU compressed\n", ndx, sname); in process_file()
505 && strncmp (sname, ".zdebug", in process_file()
508 && strncmp (sname, ".debug", in process_file()
[all …]
/external/boringssl/src/include/openssl/
Dasn1t.h524 const char *sname; /* Structure name */ member
737 #define IMPLEMENT_COMPAT_ASN1(sname) IMPLEMENT_COMPAT_ASN1_type(sname, V_ASN1_SEQUENCE) argument
739 #define IMPLEMENT_COMPAT_ASN1_type(sname, tag) \ argument
740 static const ASN1_COMPAT_FUNCS sname##_ff = { \
741 (ASN1_new_func *)sname##_new, \
742 (ASN1_free_func *)sname##_free, \
743 (ASN1_d2i_func *)d2i_##sname, \
744 (ASN1_i2d_func *)i2d_##sname, \
746 ASN1_ITEM_start(sname) \
751 &sname##_ff, \
[all …]
/external/mksh/src/
Demacsfn.h23 #define FN(cname,sname,flags) static int x_##cname(int); argument
25 #define FN(cname,sname,flags) XFUNC_##cname, argument
26 #define F0(cname,sname,flags) XFUNC_##cname = 0, argument
28 #define FN(cname,sname,flags) { x_##cname, sname, flags }, argument
/external/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify04.c37 static char sname[BUF_SIZE]; variable
188 CHECK_MARK(sname, FAN_MARK_DONT_FOLLOW, 0, test_open_symlink); in test01()
191 CHECK_MARK(sname, 0, 0, test_open_file); in test01()
230 sprintf(sname, "symlink_%d", getpid()); in setup()
231 SAFE_SYMLINK(fname, sname); in setup()
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/C/
DC.stg2659 typedef struct <scopeStruct(sname=scope.name,...)>_struct
2666 void (ANTLR3_CDECL *free) (struct <scopeStruct(sname=scope.name,...)>_struct * frame);
2677 <scopeStruct(sname=scope.name,...)>, * <scopeType(sname=scope.name,...)>;
2705 static <scopeType(sname=scope.name,...)> <scopePushName(sname=scope.name,...)>(p<name> ctx);
2706 static void ANTLR3_CDECL <scope.name>Free(<scopeType(sname=scope.name)> scope);
2716 /** Function for popping the top value from a <scopeStack(sname=scope.name)>
2719 <scopePopName(sname=scope.name,...)>(p<name> ctx)
2735 ctx-><scopeStack(sname=scope.name,...)>_limit--;
2736 …(<scopeType(sname=scope.name)>)(ctx-><scopeStack(sname=scope.name,...)>->get(ctx-><scopeStack(snam…
2748 static <scopeType(sname=scope.name,...)> <scopePushName(sname=scope.name,...)>(p<name> ctx);
[all …]
/external/python/cpython2/Objects/
Dclassobject.c228 register char *sname; in class_getattr() local
237 sname = PyString_AsString(name); in class_getattr()
238 if (sname[0] == '_' && sname[1] == '_') { in class_getattr()
239 if (strcmp(sname, "__dict__") == 0) { in class_getattr()
248 if (strcmp(sname, "__bases__") == 0) { in class_getattr()
252 if (strcmp(sname, "__name__") == 0) { in class_getattr()
265 PyString_AS_STRING(op->cl_name), sname); in class_getattr()
339 char *sname; in class_setattr() local
349 sname = PyString_AsString(name); in class_setattr()
350 if (sname[0] == '_' && sname[1] == '_') { in class_setattr()
[all …]
/external/autotest/client/bin/
Dlocal_host_unittest.py164 sname = os.path.join(self.tmpdir.name, 'sym')
166 os.symlink(fname, sname)
171 [fname, sname],
172 host.symlink_closure([fname, sname]))
180 sname = os.path.join(self.tmpdir.name, 'sym')
182 os.symlink(fname, sname)
186 [fname, sname],
187 host.symlink_closure([sname]))
/external/skqp/gm/
Dfontmgr.cpp96 SkString sname; in onDraw() local
98 set->getStyle(j, &fs, &sname); in onDraw()
99 sname.appendf(" [%d %d %d]", fs.weight(), fs.width(), fs.slant()); in onDraw()
102 x = drawString(canvas, sname, x, y, font) + 20; in onDraw()
144 SkString sname; in iterateFamily() local
146 fset->getStyle(j, &fs, &sname); in iterateFamily()
148 sname.appendf(" [%d %d]", fs.weight(), fs.width()); in iterateFamily()
151 (void)drawString(canvas, sname, 0, y, f); in iterateFamily()
/external/skia/gm/
Dfontmgr.cpp95 SkString sname; in onDraw() local
97 set->getStyle(j, &fs, &sname); in onDraw()
98 sname.appendf(" [%d %d %d]", fs.weight(), fs.width(), fs.slant()); in onDraw()
101 x = drawString(canvas, sname, x, y, font) + 20; in onDraw()
141 SkString sname; in iterateFamily() local
143 fset->getStyle(j, &fs, &sname); in iterateFamily()
145 sname.appendf(" [%d %d]", fs.weight(), fs.width()); in iterateFamily()
148 (void)drawString(canvas, sname, 0, y, f); in iterateFamily()
/external/doclava/src/com/google/doclava/
DHierarchy.java39 String sname = superclass != null ? superclass.qualifiedName() : null; in makeHierarchy() local
40 if (sname != null) { in makeHierarchy()
41 TreeSet<String> s = nodes.get(sname); in makeHierarchy()
44 nodes.put(sname, s); in makeHierarchy()
/external/elfutils/libebl/
Debl_data_marker_symbol.c38 ebl_data_marker_symbol (Ebl *ebl, const GElf_Sym *sym, const char *sname) in ebl_data_marker_symbol() argument
43 return ebl->data_marker_symbol (sym, sname); in ebl_data_marker_symbol()

1234