/freebsd-10.1-release/contrib/ntp/sntp/unity/ |
H A D | unity_fixture.h | 29 #define TEST(group, name) \ 30 void TEST_##group##_##name##_(void);\ 31 void TEST_##group##_##name##_run(void);\ 32 void TEST_##group##_##name##_run(void)\ 35 TEST_##group##_##name##_,\ 37 "TEST(" #group ", " #name ")",\ 38 TEST_GROUP_##group, #name,\ 41 void TEST_##group##_##name##_(void) 43 #define IGNORE_TEST(group, name) \ 44 void TEST_##group##_##name## [all...] |
/freebsd-10.1-release/contrib/dtc/libfdt/ |
H A D | libfdt.h | 178 #define __fdt_set_hdr(name) \ 179 static inline void fdt_set_##name(void *fdt, uint32_t val) \ 182 fdth->name = cpu_to_fdt32(val); \ 285 * @name: name of the subnode to locate 286 * @namelen: number of characters of name to consider 289 * namelen characters of name for matching the subnode name. This is 294 const char *name, int namelen); 299 * @name 481 fdt_get_property_w(void *fdt, int nodeoffset, const char *name, int *lenp) argument 566 fdt_getprop_w(void *fdt, int nodeoffset, const char *name, int *lenp) argument 918 fdt_setprop_inplace_u32(void *fdt, int nodeoffset, const char *name, uint32_t val) argument 953 fdt_setprop_inplace_u64(void *fdt, int nodeoffset, const char *name, uint64_t val) argument 965 fdt_setprop_inplace_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument 1031 fdt_property_u32(void *fdt, const char *name, uint32_t val) argument 1036 fdt_property_u64(void *fdt, const char *name, uint64_t val) argument 1041 fdt_property_cell(void *fdt, const char *name, uint32_t val) argument 1191 fdt_setprop_u32(void *fdt, int nodeoffset, const char *name, uint32_t val) argument 1226 fdt_setprop_u64(void *fdt, int nodeoffset, const char *name, uint64_t val) argument 1238 fdt_setprop_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument 1333 fdt_appendprop_u32(void *fdt, int nodeoffset, const char *name, uint32_t val) argument 1368 fdt_appendprop_u64(void *fdt, int nodeoffset, const char *name, uint64_t val) argument 1380 fdt_appendprop_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument [all...] |
/freebsd-10.1-release/sys/contrib/libfdt/ |
H A D | libfdt.h | 156 #define __fdt_set_hdr(name) \ 157 static inline void fdt_set_##name(void *fdt, uint32_t val) \ 160 fdth->name = cpu_to_fdt32(val); \ 263 * @name: name of the subnode to locate 264 * @namelen: number of characters of name to consider 267 * namelen characters of name for matching the subnode name. This is 272 const char *name, int namelen); 277 * @name 459 fdt_get_property_w(void *fdt, int nodeoffset, const char *name, int *lenp) argument 544 fdt_getprop_w(void *fdt, int nodeoffset, const char *name, int *lenp) argument 882 fdt_setprop_inplace_u32(void *fdt, int nodeoffset, const char *name, uint32_t val) argument 917 fdt_setprop_inplace_u64(void *fdt, int nodeoffset, const char *name, uint64_t val) argument 929 fdt_setprop_inplace_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument 994 fdt_property_u32(void *fdt, const char *name, uint32_t val) argument 999 fdt_property_u64(void *fdt, const char *name, uint64_t val) argument 1004 fdt_property_cell(void *fdt, const char *name, uint32_t val) argument 1154 fdt_setprop_u32(void *fdt, int nodeoffset, const char *name, uint32_t val) argument 1189 fdt_setprop_u64(void *fdt, int nodeoffset, const char *name, uint64_t val) argument 1201 fdt_setprop_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument 1296 fdt_appendprop_u32(void *fdt, int nodeoffset, const char *name, uint32_t val) argument 1331 fdt_appendprop_u64(void *fdt, int nodeoffset, const char *name, uint64_t val) argument 1343 fdt_appendprop_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument [all...] |
/freebsd-10.1-release/sys/fs/pseudofs/ |
H A D | pseudofs.h | 14 * 3. The name of the author may not be used to endorse or promote products 93 #define PFS_INIT_PROTO(name) \ 94 int name(PFS_INIT_ARGS); 106 #define PFS_FILL_PROTO(name) \ 107 int name(PFS_FILL_ARGS); 120 #define PFS_ATTR_PROTO(name) \ 121 int name(PFS_ATTR_ARGS); 134 #define PFS_VIS_PROTO(name) \ 135 int name(PFS_VIS_ARGS); 147 #define PFS_IOCTL_PROTO(name) \ [all...] |
/freebsd-10.1-release/contrib/gcc/ |
H A D | genflags.c | 101 gen_macro (const char *name, int real, int expect) argument 110 for (i = 0; name[i]; i++) 111 putchar (TOUPPER (name[i])); 116 printf ("%c) gen_%s (", i + 'A', name); 132 const char *name = XSTR (insn, 0); local 140 if (name[0] == 'c' || name[0] == 's') 142 if (!strcmp (name, "call") 143 || !strcmp (name, "call_pop") 144 || !strcmp (name, "sibcal 193 const char *name = XSTR (insn, 0); local [all...] |
/freebsd-10.1-release/crypto/heimdal/kuser/ |
H A D | kcc-commands.in | 17 * 3. Neither the name of the Institute nor the names of its contributors 35 name = "klist" 36 name = "list" 45 name = "flags" 57 name = "s" 93 name = "a" 98 name = "n" 109 name = "kgetcred" 127 name = "kswitch" 128 name [all...] |
/freebsd-10.1-release/sbin/geom/class/cache/ |
H A D | geom_cache.c | 63 "[-v] [-b blocksize] [-s size] name" 71 "[-v] [-b blocksize] [-s size] name prov" 78 "[-fv] name ..." 89 "[-v] [-b blocksize] [-s size] name prov" 92 "[-v] name ..." 99 "[-fv] name ..." 109 const char *name; local 114 name = gctl_get_ascii(req, "verb"); 115 if (name == NULL) { 119 if (strcmp(name, "labe 134 const char *name; local 176 const char *name; local 215 const char *name; local [all...] |
/freebsd-10.1-release/sbin/geom/class/label/ |
H A D | geom_label.c | 62 "[-v] name dev" 69 "[-fv] name ..." 75 "[-v] name dev" 82 "[-fv] name ..." 92 const char *name; local 97 name = gctl_get_ascii(req, "verb"); 98 if (name == NULL) { 102 if (strcmp(name, "label") == 0) 104 else if (strcmp(name, "clear") == 0) 106 else if (strcmp(name, "dum 116 const char *name, *label; local 165 const char *name; local 201 const char *name; local [all...] |
/freebsd-10.1-release/usr.sbin/autofs/ |
H A D | defined.c | 70 defined_find(const char *name) argument 75 if (strcmp(d->d_name, name) == 0) 86 char c, *expanded, *name; local 139 * of characters before the variable name, 148 * used in a variable name. 154 * End of variable name. 163 * i.e. after the variable name. 179 name = strndup(string + name_off, name_len); 180 if (name == NULL) 182 value = defined_find(name); 218 defined_add(const char *name, const char *value) argument 241 char *name, *value; local 257 struct utsname name; local [all...] |
/freebsd-10.1-release/sbin/ifconfig/ |
H A D | ifconfig.h | 17 * 4. The name of the author may not be used to endorse or promote products 66 #define DECL_CMD_FUNC(name, cmd, arg) \ 67 void name(const char *cmd, int arg, int s, const struct afswtch *afp) 68 #define DECL_CMD_FUNC2(name, arg1, arg2) \ 69 void name(const char *arg1, const char *arg2, int s, const struct afswtch *afp) 71 #define DEF_CMD(name, param, func) { name, param, { .c_func = func }, 0, NULL } 72 #define DEF_CMD_ARG(name, func) { name, NEXTARG, { .c_func = func }, 0, NULL } 73 #define DEF_CMD_OPTARG(name, fun [all...] |
/freebsd-10.1-release/crypto/openssl/crypto/pem/ |
H A D | pem.h | 157 char *name; member in struct:pem_recip_st 214 # define IMPLEMENT_PEM_read_fp(name, type, str, asn1) /**/ 215 # define IMPLEMENT_PEM_write_fp(name, type, str, asn1) /**/ 216 # define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) /**/ 217 # define IMPLEMENT_PEM_write_cb_fp(name, type, str, asn1) /**/ 218 # define IMPLEMENT_PEM_write_cb_fp_const(name, type, str, asn1) /**/ 221 # define IMPLEMENT_PEM_read_fp(name, type, str, asn1) \ 222 type *PEM_read_##name(FILE *fp, type **x, pem_password_cb *cb, void *u)\ 227 # define IMPLEMENT_PEM_write_fp(name, type, str, asn1) \ 228 int PEM_write_##name(FIL [all...] |
/freebsd-10.1-release/bin/pax/ |
H A D | cache.c | 17 * 4. Neither the name of the University nor the names of its contributors 63 static UIDC **uidtb = NULL; /* uid to name cache */ 64 static GIDC **gidtb = NULL; /* gid to name cache */ 65 static UIDC **usrtb = NULL; /* user name to uid cache */ 66 static GIDC **grptb = NULL; /* group name to gid cache */ 134 paxwarn(1, "Unable to allocate memory for user name cache table"); 158 paxwarn(1,"Unable to allocate memory for group name cache table"); 166 * caches the name (if any) for the uid. If frc set, we always return the 167 * the stored name (if valid or invalid match). We use a simple hash table. 169 * Pointer to stored name (o 314 uid_name(char *name, uid_t *uid) argument 378 gid_name(char *name, gid_t *gid) argument [all...] |
/freebsd-10.1-release/bin/pkill/tests/ |
H A D | pgrep-LF_test.sh | 8 name="pgrep -LF <pidfile>" 17 echo "ok 1 - $name" 19 echo "not ok 1 - $name" 32 echo "not ok 2 - $name" 35 echo "ok 2 - $name"
|
H A D | pgrep-t_test.sh | 8 name="pgrep -t <tty>" 26 echo "ok 1 - $name" 28 echo "not ok 1 - $name" 32 echo "ok 2 - $name" 34 echo "not ok 2 - $name"
|
H A D | pkill-LF_test.sh | 8 name="pkill -LF <pidfile>" 18 echo "ok 1 - $name" 21 echo "not ok 1 - $name" 34 echo "not ok 2 - $name" 37 echo "ok 2 - $name"
|
H A D | pkill-t_test.sh | 8 name="pkill -t <tty>" 27 echo "ok 1 - $name" 30 echo "not ok 1 - $name" 39 echo "ok 2 - $name" 42 echo "not ok 2 - $name"
|
/freebsd-10.1-release/contrib/expat/xmlwf/ |
H A D | readfilemap.c | 44 filemap(const char *name, argument 54 fd = open(name, O_RDONLY|O_BINARY); 56 perror(name); 60 perror(name); 65 fprintf(stderr, "%s: not a regular file\n", name); 73 processor(&c, 0, name, arg); 79 fprintf(stderr, "%s: out of memory\n", name); 85 perror(name); 91 fprintf(stderr, "%s: read unexpected number of bytes\n", name); 96 processor(p, nbytes, name, ar [all...] |
/freebsd-10.1-release/contrib/ipfilter/lib/ |
H A D | getport.c | 14 int getport(fr, name, port, proto) 16 char *name, *proto; 24 s = getservbyname(name, proto); 30 if (ISDIGIT(*name)) { 31 int portval = atoi(name); 48 s = getservbyname(name, "tcp"); 53 s = getservbyname(name, "udp"); 70 * mappings for this protocol name match ports. 72 s = getservbyname(name, "tcp"); 76 s = getservbyname(name, "ud [all...] |
/freebsd-10.1-release/crypto/heimdal/lib/asn1/ |
H A D | symbol.c | 17 * 3. Neither the name of the Institute nor the names of its contributors 45 return strcmp(s1->name, s2->name); 53 return hashjpw(s->name); 74 addsym(char *name) argument 78 key.name = name; 82 s->name = name; 83 s->gen_name = estrdup(name); [all...] |
/freebsd-10.1-release/crypto/heimdal/lib/gssapi/ntlm/ |
H A D | import_name.c | 17 * 3. Neither the name of the Institute nor the names of its contributors 44 char *name, *p, *p2; local 62 name = malloc(input_name_buffer->length + 1); 63 if (name == NULL) { 67 memcpy(name, input_name_buffer->value, input_name_buffer->length); 68 name[input_name_buffer->length] = '\0'; 70 /* find "domain" part of the name and uppercase it */ 71 p = strchr(name, '@'); 73 free(name); 91 free(name); [all...] |
/freebsd-10.1-release/crypto/heimdal/lib/kadm5/ |
H A D | iprop-commands.in | 17 * 3. Neither the name of the Institute nor the names of its contributors 36 name = "dump" 55 name = "truncate" 74 name = "replay" 107 name = "last-version" 126 name = "help"
|
/freebsd-10.1-release/crypto/heimdal/lib/wind/ |
H A D | generate.py | 21 # 3. Neither the name of the Institute nor the names of its contributors 43 def __init__(self, name) : 44 "Create a new GeneratedFile with name" 45 self.name = os.path.basename(name) 46 self.file = open(name, 'w') 47 self.file.write('/* ' + name + ' */\n') 61 """Return a name to be used as ifdef guard""" 62 return string.upper(string.translate(self.name, self.guardTrans)) 64 def __init__(self, name) [all...] |
/freebsd-10.1-release/lib/libc/iconv/ |
H A D | citrus_prop.h | 64 const char *name; member in struct:_citrus_prop_hint_t 76 #define _CITRUS_PROP_HINT_BOOL(name, cb) \ 77 { name, _CITRUS_PROP_BOOL, { .boolean = { cb } } } 78 #define _CITRUS_PROP_HINT_STR(name, cb) \ 79 { name, _CITRUS_PROP_STR, { .str = { cb } } } 80 #define _CITRUS_PROP_HINT_CHR(name, cb) \ 81 { name, _CITRUS_PROP_CHR, { .chr = { cb } } } 82 #define _CITRUS_PROP_HINT_NUM(name, cb) \ 83 { name, _CITRUS_PROP_NUM, { .num = { cb } } } 85 { .name [all...] |
/freebsd-10.1-release/sys/ofed/include/linux/ |
H A D | module.h | 38 #define MODULE_AUTHOR(name) 39 #define MODULE_DESCRIPTION(name) 40 #define MODULE_LICENSE(name) 43 #define MODULE_VERSION(name) 48 #define EXPORT_SYMBOL(name) 49 #define EXPORT_SYMBOL_GPL(name) 63 char name[1024]; local 68 if (linker_search_symbol_name(pc, name, sizeof(name), &offset) != 0) 71 printf("Running %s (%p)\n", name, p [all...] |
/freebsd-10.1-release/sys/xen/interface/ |
H A D | arch-powerpc.h | 30 #define ___DEFINE_XEN_GUEST_HANDLE(name, type) \ 34 } __attribute__((__aligned__(8))) __guest_handle_ ## name 36 #define __DEFINE_XEN_GUEST_HANDLE(name, type) \ 37 ___DEFINE_XEN_GUEST_HANDLE(name, type); \ 38 ___DEFINE_XEN_GUEST_HANDLE(const_##name, const type) 39 #define DEFINE_XEN_GUEST_HANDLE(name) __DEFINE_XEN_GUEST_HANDLE(name, name) 40 #define XEN_GUEST_HANDLE(name) __guest_handle_ ## name [all...] |