/netbsd-src/sys/external/bsd/drm2/dist/drm/virtio/ |
H A D | virtgpu_gem.c | 119 struct virtio_gpu_object_array *objs; in virtio_gpu_gem_object_open() local 124 objs = virtio_gpu_array_alloc(1); in virtio_gpu_gem_object_open() 125 if (!objs) in virtio_gpu_gem_object_open() 127 virtio_gpu_array_add_obj(objs, obj); in virtio_gpu_gem_object_open() 130 objs); in virtio_gpu_gem_object_open() 139 struct virtio_gpu_object_array *objs; in virtio_gpu_gem_object_close() local 144 objs = virtio_gpu_array_alloc(1); in virtio_gpu_gem_object_close() 145 if (!objs) in virtio_gpu_gem_object_close() 147 virtio_gpu_array_add_obj(objs, obj); in virtio_gpu_gem_object_close() 150 objs); in virtio_gpu_gem_object_close() [all …]
|
H A D | virtgpu_drv.h | 86 struct drm_gem_object *objs[]; member 120 struct virtio_gpu_object_array *objs; member 247 void virtio_gpu_array_add_obj(struct virtio_gpu_object_array *objs, 249 int virtio_gpu_array_lock_resv(struct virtio_gpu_object_array *objs); 250 void virtio_gpu_array_unlock_resv(struct virtio_gpu_object_array *objs); 251 void virtio_gpu_array_add_fence(struct virtio_gpu_object_array *objs, 253 void virtio_gpu_array_put_free(struct virtio_gpu_object_array *objs); 255 struct virtio_gpu_object_array *objs); 264 struct virtio_gpu_object_array *objs, 272 struct virtio_gpu_object_array *objs, [all …]
|
H A D | virtgpu_object.c | 115 struct virtio_gpu_object_array *objs = NULL; in virtio_gpu_object_create() local 136 objs = virtio_gpu_array_alloc(1); in virtio_gpu_object_create() 137 if (!objs) in virtio_gpu_object_create() 139 virtio_gpu_array_add_obj(objs, &bo->base.base); in virtio_gpu_object_create() 141 ret = virtio_gpu_array_lock_resv(objs); in virtio_gpu_object_create() 148 objs, fence); in virtio_gpu_object_create() 151 objs, fence); in virtio_gpu_object_create() 164 virtio_gpu_array_put_free(objs); in virtio_gpu_object_create()
|
H A D | virtgpu_vq.c | 245 if (entry->objs) in virtio_gpu_dequeue_ctrl_func() 246 virtio_gpu_array_put_free_delayed(vgdev, entry->objs); in virtio_gpu_dequeue_ctrl_func() 405 if (vbuf->objs) { in virtio_gpu_queue_fenced_ctrl_buffer() 406 virtio_gpu_array_add_fence(vbuf->objs, &fence->f); in virtio_gpu_queue_fenced_ctrl_buffer() 407 virtio_gpu_array_unlock_resv(vbuf->objs); in virtio_gpu_queue_fenced_ctrl_buffer() 491 struct virtio_gpu_object_array *objs, in virtio_gpu_cmd_create_resource() argument 499 vbuf->objs = objs; in virtio_gpu_cmd_create_resource() 589 struct virtio_gpu_object_array *objs, in virtio_gpu_cmd_transfer_to_host_2d() argument 592 struct virtio_gpu_object *bo = gem_to_virtio_gpu_obj(objs->objs[0]); in virtio_gpu_cmd_transfer_to_host_2d() 604 vbuf->objs = objs; in virtio_gpu_cmd_transfer_to_host_2d() [all …]
|
H A D | virtgpu_ioctl.c | 297 struct virtio_gpu_object_array *objs; in virtio_gpu_transfer_from_host_ioctl() local 305 objs = virtio_gpu_array_from_handles(file, &args->bo_handle, 1); in virtio_gpu_transfer_from_host_ioctl() 306 if (objs == NULL) in virtio_gpu_transfer_from_host_ioctl() 309 ret = virtio_gpu_array_lock_resv(objs); in virtio_gpu_transfer_from_host_ioctl() 320 &args->box, objs, fence); in virtio_gpu_transfer_from_host_ioctl() 325 virtio_gpu_array_unlock_resv(objs); in virtio_gpu_transfer_from_host_ioctl() 327 virtio_gpu_array_put_free(objs); in virtio_gpu_transfer_from_host_ioctl() 337 struct virtio_gpu_object_array *objs; in virtio_gpu_transfer_to_host_ioctl() local 342 objs = virtio_gpu_array_from_handles(file, &args->bo_handle, 1); in virtio_gpu_transfer_to_host_ioctl() 343 if (objs == NULL) in virtio_gpu_transfer_to_host_ioctl() [all …]
|
H A D | virtgpu_plane.c | 117 struct virtio_gpu_object_array *objs; in virtio_gpu_update_dumb_bo() local 125 objs = virtio_gpu_array_alloc(1); in virtio_gpu_update_dumb_bo() 126 if (!objs) in virtio_gpu_update_dumb_bo() 128 virtio_gpu_array_add_obj(objs, &bo->base.base); in virtio_gpu_update_dumb_bo() 131 objs, NULL); in virtio_gpu_update_dumb_bo() 262 struct virtio_gpu_object_array *objs; in virtio_gpu_cursor_plane_update() local 264 objs = virtio_gpu_array_alloc(1); in virtio_gpu_cursor_plane_update() 265 if (!objs) in virtio_gpu_cursor_plane_update() 267 virtio_gpu_array_add_obj(objs, vgfb->base.obj[0]); in virtio_gpu_cursor_plane_update() 268 virtio_gpu_array_lock_resv(objs); in virtio_gpu_cursor_plane_update() [all …]
|
/netbsd-src/crypto/external/bsd/openssl/dist/Configurations/ |
H A D | gentemplate.pm | 340 # (they end up in @objs) and those that we get indirectly, via other 362 my @objs = (); 367 push @objs, $_; 383 join(",", map { "\n $_" } @objs), "\n" 384 if @objs && $debug_rules; 391 objs => [ @objs, @foreign_objs ], 393 foreach (@objs) { 414 my @objs = (); 419 push @objs, $_; 433 join(",", map { "\n $_" } @objs), "\n" [all …]
|
H A D | windows-makefile.tmpl | 892 my @objs = map { platform->convertext($_) } 894 @{$args{objs}}; 897 @{$args{objs}}; 900 @{$args{objs}}; 904 my $objs = join($target{ld_resp_delim}, @objs); 906 my $deps = join(" ", @objs, @ress, @defs, @deps); 924 $objs$target{ld_resp_delim}\$(LDOUTFLAG)$dll$target{ldpostoutflag}$target{ld_resp_delim}$linklibs\$… 940 my @objs = map { platform->convertext($_) } 942 @{$args{objs}}; 945 @{$args{objs}}; [all …]
|
/netbsd-src/external/gpl2/gmake/dist/ |
H A D | build.sh.in | 55 objs="ar.${OBJEXT} arscan.${OBJEXT} commands.${OBJEXT} default.${OBJEXT} dir.${OBJEXT} expand.${OBJ… 58 objs="$objs glob/fnmatch.${OBJEXT} glob/glob.${OBJEXT}" 63 for file in `echo ${objs} | sed 's/\.'${OBJEXT}'/.c/g'`; do 71 srcobjs="$objs" 72 objs= 74 objs="$objs `basename $obj`" 79 $CC $CFLAGS $LDFLAGS $objs $LOADLIBES -o makenew${EXEEXT}
|
/netbsd-src/games/hack/ |
H A D | hack.potion.c | 77 struct obj *otmp, *objs; in dodrink() local 164 for (objs = fobj; objs; objs = objs->nobj) in dodrink() 165 if (objs->ox != u.ux || objs->oy != u.uy) in dodrink() 171 for (objs = fobj; objs; objs = objs->nobj) in dodrink() 172 at(objs->ox, objs->oy, objs->olet); in dodrink()
|
/netbsd-src/external/bsd/ipf/dist/perl/ |
H A D | ipfmeta.pl | 31 my %objs; 39 push(@{$objs{$obj}}, $token) unless ($obj eq ""); 44 my @objs = sort { length($b) <=> length($a) } keys %objs; 68 foreach $obj (@objs) { 75 foreach $val (@{$objs{$obj}}) {
|
/netbsd-src/external/cddl/dtracetoolkit/dist/Bin/ |
H A D | js_objgc.d | 66 @objs[this->file, copyinstr(arg1)] = sum(1); 73 @objs["<missed>", copyinstr(arg1)] = sum(-1); 79 @objs[filename[arg2], copyinstr(arg1)] = sum(-1); 88 printa(" %-24.24s %@8d %s\n", @objs);
|
/netbsd-src/external/cddl/dtracetoolkit/dist/JavaScript/ |
H A D | js_objgc.d | 66 @objs[this->file, copyinstr(arg1)] = sum(1); 73 @objs["<missed>", copyinstr(arg1)] = sum(-1); 79 @objs[filename[arg2], copyinstr(arg1)] = sum(-1); 88 printa(" %-24.24s %@8d %s\n", @objs);
|
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/ |
H A D | CallStack.cc | 127 virtual void *add_stack (Vector<Histable*> *objs); 144 CallStackNode *add_stack (long start, long end, Vector<Histable*> *objs, CallStackNode *myRoot); 148 void *add_stack_d (Vector<Histable*> *objs); 994 CallStackP::add_stack_d (Vector<Histable*> *objs) in add_stack_d() argument 998 for (int i = 0, j = objs->size () - 1; i < j; ++i, --j) in add_stack_d() 999 objs->swap (i, j); in add_stack_d() 1000 return add_stack (objs); in add_stack_d() 1013 CallStackNode::compare (long start, long end, Vector<Histable*> *objs, CallStackNode *mRoot) in compare() argument 1017 if (p == NULL || p->get_instr () != objs->get (i)) in compare() 1040 CallStackP::add_stack (Vector<Histable*> *objs) in add_stack() argument [all …]
|
H A D | Expression.cc | 1104 Vector<Histable*> *objs = NULL; in pEval() local 1108 objs = (Vector<Histable*>*)dbeSession->match_func_names ((char*) arg1->v.val, nfmt); in pEval() 1111 objs = (Vector<Histable*>*)dbeSession->match_dobj_names ((char*) arg1->v.val); in pEval() 1114 int i = objs ? objs->size () - 1 : -1; in pEval() 1117 cur->v.val = objs->fetch (i)->id; in pEval() 1125 if (objs) in pEval() 1126 delete objs; in pEval() 1131 Vector<JThread*> *objs = NULL; in pEval() local 1135 objs = dbeSession->match_java_threads ((char*) arg1->v.val, 0, grids, in pEval() 1138 objs = dbeSession->match_java_threads ((char*) arg1->v.val, 1, grids, in pEval() [all …]
|
H A D | PathTree.cc | 825 Hist_data::Mode mode, Vector<Histable*> *objs, in compute_metrics() argument 840 return ptree_internal->compute_metrics (mlist, type, mode, objs, context, in compute_metrics() 874 Histable *obj = objs && objs->size () > 0 ? objs->fetch (0) : NULL; in compute_metrics() 928 if (objs && objs->size () > 0) in compute_metrics() 929 get_clr_metrics (objs); in compute_metrics() 933 if (objs && objs->size () > 0) in compute_metrics() 934 get_cle_metrics (objs); in compute_metrics() 940 if (objs->size () == 1) in compute_metrics() 942 Histable *obj = objs->fetch (0); in compute_metrics() 974 get_self_metrics (objs); in compute_metrics() [all …]
|
/netbsd-src/external/gpl3/binutils/dist/gprofng/src/ |
H A D | CallStack.cc | 127 virtual void *add_stack (Vector<Histable*> *objs); 144 CallStackNode *add_stack (long start, long end, Vector<Histable*> *objs, CallStackNode *myRoot); 148 void *add_stack_d (Vector<Histable*> *objs); 994 CallStackP::add_stack_d (Vector<Histable*> *objs) in add_stack_d() argument 998 for (int i = 0, j = objs->size () - 1; i < j; ++i, --j) in add_stack_d() 999 objs->swap (i, j); in add_stack_d() 1000 return add_stack (objs); in add_stack_d() 1013 CallStackNode::compare (long start, long end, Vector<Histable*> *objs, CallStackNode *mRoot) in compare() argument 1017 if (p == NULL || p->get_instr () != objs->get (i)) in compare() 1040 CallStackP::add_stack (Vector<Histable*> *objs) in add_stack() argument [all …]
|
H A D | Expression.cc | 1104 Vector<Histable*> *objs = NULL; in pEval() local 1108 objs = (Vector<Histable*>*)dbeSession->match_func_names ((char*) arg1->v.val, nfmt); in pEval() 1111 objs = (Vector<Histable*>*)dbeSession->match_dobj_names ((char*) arg1->v.val); in pEval() 1114 int i = objs ? objs->size () - 1 : -1; in pEval() 1117 cur->v.val = objs->fetch (i)->id; in pEval() 1125 if (objs) in pEval() 1126 delete objs; in pEval() 1131 Vector<JThread*> *objs = NULL; in pEval() local 1135 objs = dbeSession->match_java_threads ((char*) arg1->v.val, 0, grids, in pEval() 1138 objs = dbeSession->match_java_threads ((char*) arg1->v.val, 1, grids, in pEval() [all …]
|
H A D | PathTree.cc | 825 Hist_data::Mode mode, Vector<Histable*> *objs, in compute_metrics() argument 840 return ptree_internal->compute_metrics (mlist, type, mode, objs, context, in compute_metrics() 874 Histable *obj = objs && objs->size () > 0 ? objs->fetch (0) : NULL; in compute_metrics() 928 if (objs && objs->size () > 0) in compute_metrics() 929 get_clr_metrics (objs); in compute_metrics() 933 if (objs && objs->size () > 0) in compute_metrics() 934 get_cle_metrics (objs); in compute_metrics() 940 if (objs->size () == 1) in compute_metrics() 942 Histable *obj = objs->fetch (0); in compute_metrics() 974 get_self_metrics (objs); in compute_metrics() [all …]
|
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/x509/ |
H A D | x509_lu.c | 188 if ((ret->objs = sk_X509_OBJECT_new(x509_object_cmp)) == NULL) { in X509_STORE_new() 217 sk_X509_OBJECT_free(ret->objs); in X509_STORE_new() 244 sk_X509_OBJECT_pop_free(vfy->objs, X509_OBJECT_free); in X509_STORE_free() 327 tmp = X509_OBJECT_retrieve_by_subject(store->objs, type, name); in X509_STORE_CTX_get_by_subject() 382 if (X509_OBJECT_retrieve_match(store->objs, obj)) { in x509_store_add() 385 added = sk_X509_OBJECT_push(store->objs, obj); in x509_store_add() 548 return v->objs; in STACK_OF() 554 STACK_OF(X509_OBJECT) *objs; in STACK_OF() 566 objs = X509_STORE_get0_objects(store); in STACK_OF() 567 for (i = 0; i < sk_X509_OBJECT_num(objs); i++) { in STACK_OF() [all …]
|
/netbsd-src/crypto/external/bsd/openssl.old/dist/Configurations/ |
H A D | windows-makefile.tmpl | 621 my @objs = map { (my $x = $_) =~ s|\.o$|$objext|; $x } 623 @{$args{objs}}; 624 my @defs = grep { $_ =~ /\.def$/ } @{$args{objs}}; 628 my $objs = join("\n", @objs); 629 my $deps = join(" ", @objs, @defs, @deps); 643 $objs 660 my @objs = map { (my $x = $_) =~ s|\.o$|$objext|; $x } @{$args{objs}}; 662 my $objs = join("\n", @objs); 664 my $deps = join(" ", @objs, @deps); 674 $objs [all …]
|
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/x509/ |
H A D | x509_lu.c | 168 if ((ret->objs = sk_X509_OBJECT_new(x509_object_cmp)) == NULL) { in X509_STORE_new() 198 sk_X509_OBJECT_free(ret->objs); in X509_STORE_new() 225 sk_X509_OBJECT_pop_free(vfy->objs, X509_OBJECT_free); in X509_STORE_free() 305 tmp = X509_OBJECT_retrieve_by_subject(store->objs, type, name); in X509_STORE_CTX_get_by_subject() 354 if (X509_OBJECT_retrieve_match(store->objs, obj)) { in x509_store_add() 357 added = sk_X509_OBJECT_push(store->objs, obj); in x509_store_add() 532 return v->objs; in STACK_OF() 547 idx = x509_object_idx_cnt(store->objs, X509_LU_X509, nm, &cnt); in STACK_OF() 565 idx = x509_object_idx_cnt(store->objs, X509_LU_X509, nm, &cnt); in STACK_OF() 574 obj = sk_X509_OBJECT_value(store->objs, idx); in STACK_OF() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/utils/ |
H A D | demangle_tree.py | 84 objs = [] 89 while context.npending > 0 and len(objs) < chunk_size: 100 nneeded = chunk_size - len(objs) 104 objs.extend(objs_this_dir[0:ntaken]) 115 assert(len(objs) == chunk_size or context.npending == 0) 118 mapped_results = list(pool.map(copier, objs))
|
/netbsd-src/usr.bin/crunch/crunchgen/ |
H A D | crunchgen.c | 78 strlst_t *objs, *objpaths; member 412 p2->objs = p2->objpaths = p2->links = p2->keepsymbols = NULL; in add_prog() 496 add_string(&p->objs, argv[i]); in add_special() 644 if (!p->objs && p->srcdir && is_nonempty_file(path)) in fillin_program() 647 if (!p->objpaths && p->objs) { in fillin_program() 653 for (s = p->objs; s != NULL; s = s->next) { in fillin_program() 659 if (!p->objs && verbose) in fillin_program() 729 add_string(&p->objs, obj); in fillin_program_objs() 787 if (p->objs) { in gen_specials_cache() 789 output_strlst(cachef, p->objs); in gen_specials_cache() [all …]
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/ |
H A D | drm_gem.c | 760 struct drm_gem_object **objs) in objects_lookup() argument 775 objs[i] = obj; in objects_lookup() 806 struct drm_gem_object **objs; in drm_gem_objects_lookup() local 811 objs = kvmalloc_array(count, sizeof(struct drm_gem_object *), in drm_gem_objects_lookup() 813 if (!objs) in drm_gem_objects_lookup() 828 ret = objects_lookup(filp, handles, count, objs); in drm_gem_objects_lookup() 829 *objs_out = objs; in drm_gem_objects_lookup() 1416 drm_gem_lock_reservations(struct drm_gem_object **objs, int count, in drm_gem_lock_reservations() argument 1426 struct drm_gem_object *obj = objs[contended]; in drm_gem_lock_reservations() 1440 ret = dma_resv_lock_interruptible(objs[i]->resv, in drm_gem_lock_reservations() [all …]
|