| /src/sys/external/bsd/drm2/dist/drm/amd/amdkfd/ |
| soc15_int.h | 37 #define SOC15_CLIENT_ID_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[0]) & 0xff) 38 #define SOC15_SOURCE_ID_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[0]) >> 8 & 0xff) 39 #define SOC15_RING_ID_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[0]) >> 16 & 0xff) 40 #define SOC15_VMID_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[0]) >> 24 & 0xf) 41 #define SOC15_VMID_TYPE_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[0]) >> 31 & 0x1 [all...] |
| /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_7zip_filename_encoding.c | 36 struct archive_entry *entry; 51 entry = archive_entry_new2(a); 52 archive_entry_copy_pathname_w(entry, L"\u8868.txt"); 53 archive_entry_set_filetype(entry, AE_IFREG); 54 archive_entry_set_size(entry, 0); 55 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); 58 archive_entry_clear(entry); 59 archive_entry_copy_pathname_w(entry, L"\u8868"); 60 archive_entry_set_filetype(entry, AE_IFDIR); 61 archive_entry_set_size(entry, 0) [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_write_format_tar_v7tar.c | 53 struct archive_entry *entry; local 86 assert((entry = archive_entry_new()) != NULL); 87 archive_entry_set_mtime(entry, 1, 10); 88 archive_entry_set_pathname(entry, "file"); 89 archive_entry_set_mode(entry, S_IFREG | 0664); 90 archive_entry_set_size(entry, 10); 91 archive_entry_set_uid(entry, 80); 92 archive_entry_set_gid(entry, 90); 93 archive_entry_set_dev(entry, 12); 94 archive_entry_set_ino(entry, 89) [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_write_format_tar_ustar.c | 52 struct archive_entry *entry; local 91 assert((entry = archive_entry_new()) != NULL); 92 archive_entry_set_mtime(entry, 1, 10); 93 archive_entry_set_pathname(entry, "file"); 94 archive_entry_set_mode(entry, S_IFREG | 0664); 95 archive_entry_set_size(entry, 10); 96 archive_entry_set_uid(entry, 80); 97 archive_entry_set_gid(entry, 90); 98 archive_entry_set_dev(entry, 12); 99 archive_entry_set_ino(entry, 89) [all...] |
| test_pax_filename_encoding.c | 52 struct archive_entry *entry; local 64 * First entry in this test archive has an invalid UTF-8 sequence 69 assertEqualInt(ARCHIVE_WARN, archive_read_next_header(a, &entry)); 70 assertEqualString(filename, archive_entry_pathname(entry)); 72 * Second entry is identical except that it does have 77 assertEqualInt(ARCHIVE_OK, archive_read_next_header(a, &entry)); 78 assertEqualString(filename, archive_entry_pathname(entry)); 92 struct archive_entry *entry; local 122 assert((entry = archive_entry_new()) != NULL); 124 archive_entry_copy_pathname(entry, filename) 340 struct archive_entry *entry; local 386 struct archive_entry *entry; local 433 struct archive_entry *entry; local 480 struct archive_entry *entry; local 529 struct archive_entry *entry; local [all...] |
| /src/external/mit/expat/dist/tests/ |
| memcheck.c | 58 AllocationEntry *const entry local 61 if (entry == NULL) { 65 entry->num_bytes = size; 66 entry->allocation = malloc(size); 67 if (entry->allocation == NULL) { 68 free(entry); 71 entry->next = NULL; 75 entry->prev = NULL; 76 alloc_head = alloc_tail = entry; 78 entry->prev = alloc_tail 88 AllocationEntry *entry; local 101 AllocationEntry *entry; local 129 AllocationEntry *entry; local 180 AllocationEntry *entry; local [all...] |
| /src/lib/libc/stdlib/ |
| cxa_thread_atexit.c | 53 struct cxa_dtor *entry; local 55 while ((entry = SLIST_FIRST(&cxa_dtors)) != NULL) { 57 (*entry->dtor)(entry->obj); 58 if (entry->dso_symbol) 59 __dl_cxa_refcount(entry->dso_symbol, -1); 60 free(entry); 74 struct cxa_dtor *entry; local 78 entry = malloc(sizeof(*entry)); [all...] |
| /src/external/bsd/mdocml/dist/ |
| test-dirent-namlen.c | 7 struct dirent entry; local 9 return sizeof(entry.d_namlen) == 0;
|
| /src/external/ibm-public/postfix/dist/src/util/ |
| ring.c | 86 /* ring_append - insert entry after ring head */ 88 void ring_append(RING *ring, RING *entry) 90 entry->succ = ring->succ; 91 entry->pred = ring; 92 ring->succ->pred = entry; 93 ring->succ = entry; 96 /* ring_prepend - insert new entry before ring head */ 98 void ring_prepend(RING *ring, RING *entry) 100 entry->pred = ring->pred; 101 entry->succ = ring [all...] |
| /src/external/bsd/libarchive/dist/libarchive/ |
| archive_entry_sparse.c | 39 archive_entry_sparse_clear(struct archive_entry *entry) 43 while (entry->sparse_head != NULL) { 44 sp = entry->sparse_head->next; 45 free(entry->sparse_head); 46 entry->sparse_head = sp; 48 entry->sparse_tail = NULL; 52 archive_entry_sparse_add_entry(struct archive_entry *entry, 61 offset + length > archive_entry_size(entry)) 64 if ((sp = entry->sparse_tail) != NULL) { 87 if (entry->sparse_head == NULL [all...] |
| archive_entry.c | 154 archive_entry_clear(struct archive_entry *entry) 156 if (entry == NULL) 158 archive_mstring_clean(&entry->ae_fflags_text); 159 archive_mstring_clean(&entry->ae_gname); 160 archive_mstring_clean(&entry->ae_linkname); 161 archive_mstring_clean(&entry->ae_pathname); 162 archive_mstring_clean(&entry->ae_sourcepath); 163 archive_mstring_clean(&entry->ae_uname); 164 archive_entry_copy_mac_metadata(entry, NULL, 0); 165 archive_acl_clear(&entry->acl) 264 struct archive_entry *entry; local 2281 struct archive_entry *entry = archive_entry_new(); local [all...] |
| archive_entry_stat.c | 39 archive_entry_stat(struct archive_entry *entry) 43 if (entry->stat == NULL) { 44 entry->stat = calloc(1, sizeof(*st)); 45 if (entry->stat == NULL) 47 entry->stat_valid = 0; 58 if (entry->stat_valid) 59 return (entry->stat); 61 st = entry->stat; 66 st->st_atime = archive_entry_atime(entry); 68 st->st_birthtime = archive_entry_birthtime(entry); [all...] |
| archive_entry_copy_stat.c | 36 archive_entry_copy_stat(struct archive_entry *entry, const struct stat *st) 39 archive_entry_set_atime(entry, st->st_atime, st->st_atimespec.tv_nsec); 40 archive_entry_set_ctime(entry, st->st_ctime, st->st_ctimespec.tv_nsec); 41 archive_entry_set_mtime(entry, st->st_mtime, st->st_mtimespec.tv_nsec); 43 archive_entry_set_atime(entry, st->st_atime, st->st_atim.tv_nsec); 44 archive_entry_set_ctime(entry, st->st_ctime, st->st_ctim.tv_nsec); 45 archive_entry_set_mtime(entry, st->st_mtime, st->st_mtim.tv_nsec); 47 archive_entry_set_atime(entry, st->st_atime, st->st_atime_nsec); 48 archive_entry_set_ctime(entry, st->st_ctime, st->st_ctime_nsec); 49 archive_entry_set_mtime(entry, st->st_mtime, st->st_mtime_nsec) [all...] |
| archive_entry_xattr.c | 72 archive_entry_xattr_clear(struct archive_entry *entry) 76 while (entry->xattr_head != NULL) { 77 xp = entry->xattr_head->next; 78 free(entry->xattr_head->name); 79 free(entry->xattr_head->value); 80 free(entry->xattr_head); 81 entry->xattr_head = xp; 84 entry->xattr_head = NULL; 88 archive_entry_xattr_add_entry(struct archive_entry *entry, 105 xp->next = entry->xattr_head [all...] |
| /src/external/bsd/pdisk/dist/ |
| layout_dump.c | 71 layout *entry; local 78 for (entry = desc; entry->format != kEnd; entry++) { 79 value = strlen(entry->name); 86 for (entry = desc; entry->format != kEnd; entry++) { 88 if (entry->format != kBit) { 89 printf("%*s: ", max_name, entry->name) [all...] |
| hfs_misc.h | 39 char *get_HFS_name(partition_map *entry, int *kind);
|
| /src/external/bsd/wpa/dist/src/ap/ |
| pmksa_cache_auth.c | 31 void (*free_cb)(struct rsn_pmksa_cache_entry *entry, void *ctx); 39 static void _pmksa_cache_free_entry(struct rsn_pmksa_cache_entry *entry) 41 os_free(entry->vlan_desc); 42 os_free(entry->identity); 43 os_free(entry->dpp_pkhash); 44 wpabuf_free(entry->cui); 46 radius_free_class(&entry->radius_class); 48 bin_clear_free(entry, sizeof(*entry)); 53 struct rsn_pmksa_cache_entry *entry) 288 struct rsn_pmksa_cache_entry *entry; local 323 struct rsn_pmksa_cache_entry *entry; local 405 struct rsn_pmksa_cache_entry *entry; local 452 struct rsn_pmksa_cache_entry *entry, *prev; local 484 struct rsn_pmksa_cache_entry *entry; local 520 struct rsn_pmksa_cache_entry *entry; local 621 struct rsn_pmksa_cache_entry *entry, *prev; local 656 struct rsn_pmksa_cache_entry *entry; local 707 struct rsn_pmksa_cache_entry *entry; local [all...] |
| /src/sys/external/bsd/drm2/dist/drm/ |
| drm_scatter.c | 60 static void drm_sg_cleanup(struct drm_sg_mem * entry) 65 for (i = 0; i < entry->pages; i++) { 66 page = entry->pagelist[i]; 71 vfree(entry->virtual); 73 kfree(entry->busaddr); 74 kfree(entry->pagelist); 75 kfree(entry); 96 struct drm_sg_mem *entry; local 110 entry = kzalloc(sizeof(*entry), GFP_KERNEL) 212 struct drm_sg_mem *entry; local [all...] |
| /src/sys/external/bsd/drm/dist/bsd-core/ |
| drm_linux_list.h | 62 list_add_tail(struct list_head *entry, struct list_head *head) { 63 (entry)->prev = (head)->prev; 64 (entry)->next = head; 65 (head)->prev->next = entry; 66 (head)->prev = entry; 70 list_del(struct list_head *entry) { 71 (entry)->next->prev = (entry)->prev; 72 (entry)->prev->next = (entry)->next [all...] |
| /src/external/gpl2/gmake/dist/w32/include/ |
| w32err.h | 22 #define EXTERN_DECL(entry, args) entry args
|
| /src/external/bsd/openldap/dist/libraries/libldap/ |
| rq.c | 54 struct re_s* entry; local 56 entry = (struct re_s *) LDAP_CALLOC( 1, sizeof( struct re_s )); 57 if ( entry ) { 58 entry->interval.tv_sec = interval; 59 entry->interval.tv_usec = 0; 60 entry->next_sched.tv_sec = time( NULL ); 61 entry->next_sched.tv_usec = 0; 62 entry->routine = routine; 63 entry->arg = arg; 64 entry->tname = tname 113 struct re_s* entry; local [all...] |
| /src/tests/include/sys/ |
| t_pslist.c | 59 struct pslist_entry entry; member in struct:element 61 { .i = 0, .entry = PSLIST_ENTRY_INITIALIZER }, 78 PSLIST_ENTRY_DESTROY(&elements[0], entry); 81 PSLIST_ENTRY_INIT(&elements[i], entry); 83 PSLIST_WRITER_INSERT_HEAD(&h, &elements[4], entry); 84 PSLIST_WRITER_INSERT_BEFORE(&elements[4], &elements[2], entry); 85 PSLIST_WRITER_INSERT_BEFORE(&elements[4], &elements[3], entry); 86 PSLIST_WRITER_INSERT_BEFORE(&elements[2], &elements[1], entry); 87 PSLIST_WRITER_INSERT_HEAD(&h, &elements[0], entry); 88 PSLIST_WRITER_INSERT_AFTER(&elements[4], &elements[5], entry); [all...] |