Home
last modified time | relevance | path

Searched refs:ids (Results 1 – 25 of 111) sorted by relevance

12345

/openbsd-src/usr.bin/rsync/
H A Dids.c53 const struct ident *ids, size_t idsz) in idents_assign_gid() argument
63 if ((int32_t)fl[i].st.gid == ids[j].id) in idents_assign_gid()
66 fl[i].st.gid = ids[j].mapped; in idents_assign_gid()
75 const struct ident *ids, size_t idsz) in idents_assign_uid() argument
85 if ((int32_t)fl[i].st.uid == ids[j].id) in idents_assign_uid()
88 fl[i].st.uid = ids[j].mapped; in idents_assign_uid()
101 idents_remap(struct sess *sess, int isgid, struct ident *ids, size_t idsz) in idents_remap() argument
112 assert(ids[i].id != 0); in idents_remap()
118 grp = getgrnam(ids[i].name); in idents_remap()
124 usr = getpwnam(ids[i].name); in idents_remap()
[all …]
/openbsd-src/usr.bin/ssh/
H A Dsftp-usergroup.c134 has_id(u_int id, u_int *ids, u_int nids) in has_id() argument
143 if (ids[i] == id) in has_id()
152 u_int id, i, n = 0, *ids = NULL; in collect_ids_from_glob() local
164 if (has_id(id, ids, n)) in collect_ids_from_glob()
166 ids = xrecallocarray(ids, n, n + 1, sizeof(*ids)); in collect_ids_from_glob()
167 ids[n++] = id; in collect_ids_from_glob()
169 *idsp = ids; in collect_ids_from_glob()
191 u_int id, i, n = 0, *ids = NULL; in collect_ids_from_dirents() local
203 if (has_id(id, ids, n)) in collect_ids_from_dirents()
205 ids = xrecallocarray(ids, n, n + 1, sizeof(*ids)); in collect_ids_from_dirents()
[all …]
/openbsd-src/sys/netinet/
H A Dip_ipsp.c438 struct ipsec_ids *ids, in ipsp_aux_match() argument
442 if (ids != NULL) in ipsp_aux_match()
444 !ipsp_ids_match(tdb->tdb_ids, ids)) in ipsp_aux_match()
473 struct ipsec_ids *ids, in gettdbbydst() argument
488 if (!ipsp_aux_match(tdbp, ids, filter, filtermask)) in gettdbbydst()
504 struct ipsec_ids *ids, in gettdbbysrc() argument
519 if (!ipsp_aux_match(tdbp, ids, filter, filtermask)) in gettdbbysrc()
614 DUMP(ids, "%p"); in tdb_printit()
1236 ipsp_ids_insert(struct ipsec_ids *ids) in ipsp_ids_insert() argument
1243 found = RBT_INSERT(ipsec_ids_tree, &ipsec_ids_tree, ids); in ipsp_ids_insert()
[all …]
/openbsd-src/gnu/llvm/clang/lib/ARCMigrate/
H A DTransAPIUses.cpp40 IdentifierTable &ids = Pass.Ctx.Idents; in APIChecker() local
41 getReturnValueSel = sels.getUnarySelector(&ids.get("getReturnValue")); in APIChecker()
42 setReturnValueSel = sels.getUnarySelector(&ids.get("setReturnValue")); in APIChecker()
45 selIds[0] = &ids.get("getArgument"); in APIChecker()
46 selIds[1] = &ids.get("atIndex"); in APIChecker()
48 selIds[0] = &ids.get("setArgument"); in APIChecker()
51 zoneSel = sels.getNullarySelector(&ids.get("zone")); in APIChecker()
/openbsd-src/distrib/special/more/
H A Dtermcap.c187 char ids[3]; in tgetstr() local
196 *ids = *id; in tgetstr()
197 ids[1] = id[1]; in tgetstr()
198 ids[2] = '\0'; in tgetstr()
200 if ((i = cgetstr(tbuf, ids, &s)) < 0) in tgetstr()
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_stack_store_test.cpp81 std::vector<StackStore::Id> ids; in TEST_F() local
84 ids.push_back(store_.Store(s, &pack)); in TEST_F()
87 auto id = ids.begin(); in TEST_F()
99 std::vector<StackStore::Id> ids; in TEST_F() local
102 ids.push_back(store_.Store(s, &pack)); in TEST_F()
145 std::vector<StackStore::Id> ids; in TEST_P() local
150 ids.push_back(store_.Store(s, &pack)); in TEST_P()
167 auto id = ids.begin(); in TEST_P()
/openbsd-src/sys/dev/pci/drm/include/linux/
H A Dpci.h514 pci_match_id(const struct pci_device_id *ids, struct pci_dev *pdev) in pci_match_id()
518 for (i = 0; ids[i].vendor != 0; i++) { in pci_match_id()
519 if ((ids[i].vendor == pdev->vendor) &&
520 (ids[i].device == pdev->device ||
521 ids[i].device == PCI_ANY_ID) &&
522 (ids[i].subvendor == PCI_ANY_ID) &&
523 (ids[i].subdevice == PCI_ANY_ID))
524 return &ids[i];
505 pci_match_id(const struct pci_device_id * ids,struct pci_dev * pdev) pci_match_id() argument
/openbsd-src/gnu/llvm/lldb/source/Plugins/Instruction/PPC64/
H A DEmulateInstructionPPC64.cpp233 int32_t ids = llvm::SignExtend32<16>(ds << 2); in EmulateLD() local
237 if (ra != gpr_r1_ppc64le || rt != gpr_r1_ppc64le || ids != 0) in EmulateLD()
241 LLDB_LOG(log, "EmulateLD: {0:X+8}: ld r{1}, {2}(r{3})", m_addr, rt, ids, ra); in EmulateLD()
277 int32_t ids = llvm::SignExtend32<16>(ds << 2); in EmulateSTD() local
280 u ? "u" : "", rs, ids, ra); in EmulateSTD()
304 ctx.SetRegisterToRegisterPlusOffset(*rs_info, *ra_info, ids); in EmulateSTD()
311 lldb::addr_t addr = ra_val + ids; in EmulateSTD()
/openbsd-src/gnu/lib/libstdc++/libstdc++/testsuite/thread/
H A Dpthread5.cc95 int ids[NTHREADS]; in main() local
110 ids[worker] = worker; in main()
112 thread_function, &ids[worker])) in main()
/openbsd-src/sys/dev/pci/drm/i915/
H A Di915_query.c398 u64 *ids; in query_perf_config_list() local
402 ids = krealloc(oa_config_ids, in query_perf_config_list()
405 if (!ids) in query_perf_config_list()
408 ids = kmalloc(n_configs * sizeof(*oa_config_ids), in query_perf_config_list()
410 if (!ids) in query_perf_config_list()
413 memcpy(ids, oa_config_ids, in query_perf_config_list()
420 ids[n_configs++] = 1ull; /* reserved for test_config */ in query_perf_config_list()
424 ids[n_configs] = id; in query_perf_config_list()
429 oa_config_ids = ids; in query_perf_config_list()
/openbsd-src/usr.bin/openssl/
H A Docsp.c84 const EVP_MD *cert_id_md, X509 *issuer, STACK_OF(OCSP_CERTID) *ids);
86 const EVP_MD *cert_id_md, X509 *issuer, STACK_OF(OCSP_CERTID) *ids);
88 STACK_OF(OPENSSL_STRING) *names, STACK_OF(OCSP_CERTID) *ids, long nsec,
113 STACK_OF(OCSP_CERTID) *ids;
162 cfg.cert_id_md, cfg.issuer, cfg.ids)) { in ocsp_opt_cert()
340 cfg.issuer, cfg.ids)) { in ocsp_opt_url()
813 if ((cfg.ids = sk_OCSP_CERTID_new_null()) == NULL) in ocsp_main()
1086 cfg.ids, cfg.nsec, cfg.maxage)) in add_ocsp_cert()
1109 sk_OCSP_CERTID_free(cfg.ids); in add_ocsp_serial()
1124 X509 *issuer, STACK_OF(OCSP_CERTID) *ids) in add_ocsp_serial()
1071 add_ocsp_cert(OCSP_REQUEST ** req,X509 * cert,const EVP_MD * cert_id_md,X509 * issuer,STACK_OF (OCSP_CERTID)* ids) add_ocsp_cert() argument
1097 add_ocsp_serial(OCSP_REQUEST ** req,char * serial,const EVP_MD * cert_id_md,X509 * issuer,STACK_OF (OCSP_CERTID)* ids) add_ocsp_serial() argument
1135 print_ocsp_summary(BIO * out,OCSP_BASICRESP * bs,OCSP_REQUEST * req,STACK_OF (OPENSSL_STRING)* names,STACK_OF (OCSP_CERTID)* ids,long nsec,long maxage) print_ocsp_summary() argument
[all...]
/openbsd-src/regress/lib/libpthread/pthread_rwlock/
H A Dpthread_rwlock.c125 int ids[NUM_READERS], i, r; in main() local
133 ids[i] = i; in main()
134 if ((r = pthread_create(&tr[i], NULL, reader, &ids[i]))) in main()
/openbsd-src/gnu/usr.bin/binutils/binutils/
H A Dresres.c572 res_append_resource (resources, resource, cids, ids, dupok) in res_append_resource() argument
576 const struct res_id *ids;
606 if (res_id_cmp ((*pp)->id, ids[i]) == 0)
615 re->id = ids[i];
635 res_ids_print (stderr, i, ids);
647 res_ids_print (stderr, cids, ids);
658 res_ids_print (stderr, cids, ids);
H A Dwindres.c276 res_ids_print (FILE *stream, int cids, const struct res_id *ids) in res_ids_print() argument
282 res_id_print (stream, ids[i], 1); in res_ids_print()
307 const struct res_id *ids, int dupok) in define_resource() argument
336 if (res_id_cmp ((*pp)->id, ids[i]) == 0) in define_resource()
345 re->id = ids[i]; in define_resource()
365 res_ids_print (stderr, i, ids); in define_resource()
377 res_ids_print (stderr, cids, ids); in define_resource()
388 res_ids_print (stderr, cids, ids); in define_resource()
/openbsd-src/gnu/usr.bin/binutils-2.17/binutils/
H A Dresres.c572 res_append_resource (resources, resource, cids, ids, dupok) in res_append_resource() argument
576 const struct res_id *ids;
606 if (res_id_cmp ((*pp)->id, ids[i]) == 0)
615 re->id = ids[i];
635 res_ids_print (stderr, i, ids);
647 res_ids_print (stderr, cids, ids);
658 res_ids_print (stderr, cids, ids);
H A Dwindres.c280 res_ids_print (FILE *stream, int cids, const struct res_id *ids) in res_ids_print() argument
286 res_id_print (stream, ids[i], 1); in res_ids_print()
311 const struct res_id *ids, int dupok) in define_resource() argument
340 if (res_id_cmp ((*pp)->id, ids[i]) == 0) in define_resource()
349 re->id = ids[i]; in define_resource()
369 res_ids_print (stderr, i, ids); in define_resource()
381 res_ids_print (stderr, cids, ids); in define_resource()
392 res_ids_print (stderr, cids, ids); in define_resource()
/openbsd-src/gnu/llvm/lldb/packages/Python/lldbsuite/test/
H A Dlldbinline.py130 ids = set()
132 ids.add(thread.GetStopReasonDataAtIndex(i))
133 self.assertGreater(len(ids), 0)
134 return sorted(ids)
/openbsd-src/gnu/usr.bin/binutils-2.17/bfd/
H A Dirix-core.c173 struct idesc *idg, *idf, *ids; in irix_core_core_file_p() local
227 ids = &coreout.c_idesc[I_SPECREGS]; in irix_core_core_file_p()
230 || idf->i_offset + idf->i_len != ids->i_offset) in irix_core_core_file_p()
238 idg->i_len + idf->i_len + ids->i_len, in irix_core_core_file_p()
/openbsd-src/gnu/usr.bin/binutils/bfd/
H A Dirix-core.c193 struct idesc *idg, *idf, *ids; local
247 ids = &coreout.c_idesc[I_SPECREGS];
250 || idf->i_offset + idf->i_len != ids->i_offset)
258 idg->i_len + idf->i_len + ids->i_len,
/openbsd-src/gnu/usr.bin/perl/cpan/IO-Compress/lib/IO/Compress/
H A DZip.pm858 my $ids = '';
861 $ids .= pack("v", $id);
865 $ids);
874 my $ids ;
875 $ids .= pack "C", 1; # version
876 $ids .= pack "C", $Config{uidsize};
877 $ids .= pack "V", $uid;
878 $ids .= pack "C", $Config{gidsize};
879 $ids .= pack "V", $gid;
882 $ids);
[all...]
/openbsd-src/sys/dev/pci/drm/radeon/
H A Dradeon_vm.c182 struct radeon_vm_id *vm_id = &vm->ids[ring]; in radeon_vm_grab_id()
242 struct radeon_vm_id *vm_id = &vm->ids[ring]; in radeon_vm_flush()
247 trace_radeon_vm_flush(pd_addr, ring, vm->ids[ring].id); in radeon_vm_flush()
273 unsigned vm_id = vm->ids[fence->ring].id; in radeon_vm_fence()
278 radeon_fence_unref(&vm->ids[fence->ring].last_id_use); in radeon_vm_fence()
279 vm->ids[fence->ring].last_id_use = radeon_fence_ref(fence); in radeon_vm_fence()
1008 radeon_sync_fence(&ib.sync, vm->ids[i].last_id_use); in radeon_vm_bo_update()
1182 vm->ids[i].id = 0; in radeon_vm_init()
1183 vm->ids[i].flushed_updates = NULL; in radeon_vm_init()
1184 vm->ids[i].last_id_use = NULL; in radeon_vm_init()
[all …]
/openbsd-src/sys/net/
H A Dpfkeyv2_convert.c736 import_identities(struct ipsec_ids **ids, int swapped, in import_identities() argument
742 *ids = NULL; in import_identities()
747 *ids = ipsp_ids_insert(tmp); in import_identities()
748 if (*ids == tmp) in import_identities()
784 export_identities(void **p, struct ipsec_ids *ids, int swapped, in export_identities() argument
788 export_identity(p, swapped ? ids->id_remote : ids->id_local); in export_identities()
790 export_identity(p, swapped ? ids->id_local : ids->id_remote); in export_identities()
/openbsd-src/sys/dev/tc/
H A Dtcds.c538 u_int32_t ids; local
554 ids = bus_space_read_4(sc->sc_bst, sc->sc_bsh, TCDS_EEPROM_IDS);
556 ids >>= 4;
558 id = ids & 0x7;
559 fast = ids & 0x8;
/openbsd-src/gnu/usr.bin/perl/regen/
H A Dmk_PL_charclass.pl215 my @ids = expand_invlist(\@alpha_invlist);
216 push @ids, ord "_";
217 return sort { $a <=> $b } uniques @ids;
/openbsd-src/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_ids.c443 job->vmid = id - id_mgr->ids; in amdgpu_vmid_grab()
525 struct amdgpu_vmid *id = &id_mgr->ids[vmid];
583 amdgpu_sync_create(&id_mgr->ids[j].active);
584 list_add_tail(&id_mgr->ids[j].list, &id_mgr->ids_lru);
610 struct amdgpu_vmid *id = &id_mgr->ids[j];

12345