| /src/external/bsd/libarchive/dist/libarchive/test/ |
| test_entry_strmode.c | 29 struct archive_entry *entry; local 31 assert((entry = archive_entry_new()) != NULL); 33 archive_entry_set_mode(entry, AE_IFREG | 0642); 34 assertEqualString(archive_entry_strmode(entry), "-rw-r---w- "); 37 archive_entry_set_mode(entry, AE_IFREG | 0644); 38 archive_entry_set_hardlink(entry, "link"); 39 assertEqualString(archive_entry_strmode(entry), "-rw-r--r-- "); 41 archive_entry_set_mode(entry, 0640); 42 archive_entry_set_hardlink(entry, "link"); 43 assertEqualString(archive_entry_strmode(entry), "hrw-r----- ") [all...] |
| test_ar_mode.c | 35 struct archive_entry * entry; local 36 assertEqualIntA(ar, archive_read_next_header(ar, &entry), ARCHIVE_OK); 37 assertEqualIntA(ar, archive_entry_mode(entry), S_IFREG | 0644);
|
| test_gnutar_filename_encoding.c | 31 struct archive_entry *entry; local 55 entry = archive_entry_new2(a); 57 archive_entry_set_pathname(entry, "\xD0\xBF\xD1\x80\xD0\xB8"); 58 archive_entry_set_filetype(entry, AE_IFREG); 59 archive_entry_set_size(entry, 0); 60 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); 61 archive_entry_free(entry); 72 struct archive_entry *entry; local 96 entry = archive_entry_new2(a); 98 archive_entry_set_pathname(entry, "\xD0\xD2\xC9") 113 struct archive_entry *entry; local 154 struct archive_entry *entry; local 199 struct archive_entry *entry; local 239 struct archive_entry *entry; local 274 struct archive_entry *entry; local 314 struct archive_entry *entry; local 354 struct archive_entry *entry; local [all...] |
| test_ustar_filename_encoding.c | 32 struct archive_entry *entry; local 56 entry = archive_entry_new2(a); 58 archive_entry_set_pathname(entry, "\xD0\xBF\xD1\x80\xD0\xB8"); 59 archive_entry_set_filetype(entry, AE_IFREG); 60 archive_entry_set_size(entry, 0); 61 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); 62 archive_entry_free(entry); 73 struct archive_entry *entry; local 97 entry = archive_entry_new2(a); 99 archive_entry_set_pathname(entry, "\xD0\xD2\xC9") 114 struct archive_entry *entry; local 155 struct archive_entry *entry; local 200 struct archive_entry *entry; local 240 struct archive_entry *entry; local 275 struct archive_entry *entry; local 315 struct archive_entry *entry; local 355 struct archive_entry *entry; local [all...] |
| test_zip_filename_encoding.c | 32 struct archive_entry *entry; local 56 entry = archive_entry_new2(a); 58 archive_entry_set_pathname(entry, "\xD0\xBF\xD1\x80\xD0\xB8"); 59 archive_entry_set_filetype(entry, AE_IFREG); 60 archive_entry_set_size(entry, 0); 61 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); 62 archive_entry_free(entry); 81 entry = archive_entry_new2(a); 83 archive_entry_set_pathname(entry, "\xD0\xBF\xD1\x80\xD0\xB8"); 84 archive_entry_set_filetype(entry, AE_IFREG) 123 struct archive_entry *entry; local 223 struct archive_entry *entry; local 266 struct archive_entry *entry; local 335 struct archive_entry *entry; local 434 struct archive_entry *entry; local [all...] |
| test_link_resolver.c | 29 struct archive_entry *entry, *e2; local 37 /* Create an entry with only 1 link and try to linkify it. */ 38 assert(NULL != (entry = archive_entry_new())); 39 archive_entry_set_pathname(entry, "test1"); 40 archive_entry_set_ino(entry, 1); 41 archive_entry_set_dev(entry, 2); 42 archive_entry_set_nlink(entry, 1); 43 archive_entry_set_size(entry, 10); 44 archive_entry_linkify(resolver, &entry, &e2); 48 assertEqualInt(10, archive_entry_size(entry)); 94 struct archive_entry *entry, *e2; local 129 struct archive_entry *entry, *e2; local [all...] |
| test_read_disk_entry_from_file.c | 46 struct archive_entry *entry; local 65 entry = archive_entry_new(); 66 assert(entry != NULL); 67 archive_entry_copy_pathname(entry, "foo"); 69 archive_read_disk_entry_from_file(a, entry, -1, NULL)); 72 assertEqualString(archive_entry_uname(entry), "FOO"); 73 assertEqualString(archive_entry_gname(entry), "FOOGROUP"); 74 assertEqualInt(archive_entry_size(entry), 4); 77 archive_entry_free(entry);
|
| /src/external/bsd/mdocml/dist/ |
| test-dirent-namlen.c | 7 struct dirent entry; local 9 return sizeof(entry.d_namlen) == 0;
|
| test-fts.c | 18 FTSENT *entry; local 31 entry = fts_read(ftsp); 33 if (entry == NULL) { 38 if (fts_set(ftsp, entry, FTS_SKIP) != 0) {
|
| /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/ |
| nouveau_nvkm_subdev_bios_bit.c | 37 u32 entry = bios->bit_offset + 12; local 39 if (nvbios_rd08(bios, entry + 0) == id) { 40 bit->id = nvbios_rd08(bios, entry + 0); 41 bit->version = nvbios_rd08(bios, entry + 1); 42 bit->length = nvbios_rd16(bios, entry + 2); 43 bit->offset = nvbios_rd16(bios, entry + 4); 47 entry += nvbios_rd08(bios, bios->bit_offset + 9);
|
| /src/external/bsd/openldap/dist/contrib/ldapc++/src/ |
| LDAPSearchResult.h | 40 * @returns The entry that has been sent with this result message. 45 LDAPEntry *entry; member in class:LDAPSearchResult
|
| /src/bin/setfacl/ |
| mask.c | 51 acl_entry_t entry; local 56 entry = NULL; 59 * ... if a mask entry is specified, then the permissions of the mask 60 * entry in the resulting ACL shall be set to the permissions in the 61 * specified ACL mask entry. 72 * If no mask entry is specified and the -n option is not 74 * entry shall be set to the union of the permissions 85 * If no mask entry is specified and the -n option is 87 * mask entry shall remain unchanged ... 92 while (acl_get_entry(acl, entry_id, &entry) == 1) [all...] |
| /src/usr.bin/mklocale/ |
| yacc.y | 135 table : entry 136 | table entry 139 entry : ENCODING STRING label
|
| /src/external/bsd/openldap/dist/servers/slapd/back-sock/ |
| add.c | 42 AttributeDescription *entry = slap_schema.si_ad_entry; local 47 entry, NULL, ACL_WADD, NULL ) )
|
| delete.c | 42 AttributeDescription *entry = slap_schema.si_ad_entry; local 43 Entry e; 56 entry, NULL, ACL_WDEL, NULL ) )
|
| modrdn.c | 42 AttributeDescription *entry = slap_schema.si_ad_entry; local 43 Entry e; 55 if ( ! access_allowed( op, &e, entry, NULL,
|
| /src/sys/arch/i386/stand/lib/ |
| bootinfo.h | 33 uint32_t entry[1]; member in struct:bootinfo
|
| /src/sys/arch/landisk/stand/boot/ |
| bootinfo.h | 36 u_long entry[1]; member in struct:btinfo
|
| /src/sys/arch/mvme68k/stand/libsa/ |
| exec_mvme.c | 52 kentry_t entry; local 73 entry = (kentry_t)marks[MARK_ENTRY]; 75 (*entry)(flag, bugargs.ctrl_addr, bugargs.ctrl_lun, bugargs.dev_lun,
|
| /src/sys/arch/mvmeppc/stand/libsa/ |
| exec_mvme.c | 82 kentry_t entry; local 105 entry = (kentry_t) marks[MARK_ENTRY]; 107 (*entry)(marks[MARK_SYM], marks[MARK_END], &bootinfo);
|
| /src/crypto/external/bsd/heimdal/dist/admin/ |
| remove.c | 44 krb5_keytab_entry entry; local 83 entry.principal = principal; 84 entry.keyblock.keytype = enctype; 85 entry.vno = opt->kvno_integer; 86 ret = krb5_kt_remove_entry(context, keytab, &entry);
|
| rename.c | 44 krb5_keytab_entry entry; local 76 ret = krb5_kt_next_entry(context, keytab, &entry, &cursor); 79 krb5_warn(context, ret, "getting entry from keytab"); 84 if(krb5_principal_compare(context, entry.principal, from_princ)) { 85 krb5_free_principal(context, entry.principal); 86 entry.principal = to_princ; 87 ret = krb5_kt_add_entry(context, keytab, &entry); 89 entry.principal = NULL; 90 krb5_kt_free_entry(context, &entry); 91 krb5_warn(context, ret, "adding entry"); [all...] |
| /src/external/bsd/ipf/dist/lib/ |
| printdstl_live.c | 26 ipf_dstnode_t *entry, *zero; local 34 entry = calloc(1, sizeof(*entry) + 64); 35 if (entry == NULL) 39 free(entry); 57 iter.ili_data = entry; 68 if (entry->ipfd_next == NULL) 70 if (bcmp((char *)zero, (char *)entry, sizeof(*zero)) == 0) 72 (void) printdstlistnode(entry, bcopywrap, opts, fields); 77 free(entry); [all...] |
| printhash_live.c | 22 iphtent_t entry, zero; local 44 iter.ili_data = &entry; 56 if (entry.ipe_next == NULL) 58 if (bcmp(&zero, &entry, sizeof(zero)) == 0) 60 (void) printhashnode(hp, &entry, bcopywrap, opts, fields);
|
| printpool_live.c | 22 ip_pool_node_t entry; local 43 iter.ili_data = &entry; 55 if (entry.ipn_next == NULL) 57 (void) printpoolnode(&entry, opts, fields);
|