Home
last modified time | relevance | path

Searched refs:rb (Results 26 – 50 of 153) sorted by relevance

1234567

/openbsd/gnu/usr.bin/perl/dist/Devel-PPPort/t/
H A Dtestutil.pl412 my ($ra, $rb) = @_;
413 return 0 unless $#$ra == $#$rb;
416 next if !defined $ra->[$i] && !defined $rb->[$i];
418 return 0 if !defined $rb->[$i];
419 return 0 unless $ra->[$i] eq $rb->[$i];
/openbsd/lib/libcrypto/ocsp/
H A Docsp_prn.c212 OCSP_RESPBYTES *rb = o->responseBytes; in OCSP_RESPONSE_print() local
220 if (rb == NULL) in OCSP_RESPONSE_print()
224 if (i2a_ASN1_OBJECT(bp, rb->responseType) <= 0) in OCSP_RESPONSE_print()
226 if (OBJ_obj2nid(rb->responseType) != NID_id_pkix_OCSP_basic) { in OCSP_RESPONSE_print()
231 i = ASN1_STRING_length(rb->response); in OCSP_RESPONSE_print()
H A Docsp_cl.c210 OCSP_RESPBYTES *rb; in OCSP_response_get1_basic() local
212 rb = resp->responseBytes; in OCSP_response_get1_basic()
213 if (!rb) { in OCSP_response_get1_basic()
217 if (OBJ_obj2nid(rb->responseType) != NID_id_pkix_OCSP_basic) { in OCSP_response_get1_basic()
222 return ASN1_item_unpack(rb->response, &OCSP_BASICRESP_it); in OCSP_response_get1_basic()
/openbsd/sys/dev/pci/drm/i915/gem/
H A Di915_gem_mman.c959 struct rb_node *rb; in lookup_mmo() local
962 rb = obj->mmo.offsets.rb_node; in lookup_mmo()
963 while (rb) { in lookup_mmo()
973 rb = rb->rb_right; in lookup_mmo()
975 rb = rb->rb_left; in lookup_mmo()
985 struct rb_node *rb, **p; in insert_mmo() local
988 rb = NULL; in insert_mmo()
993 rb = *p; in insert_mmo()
1005 p = &rb->rb_right; in insert_mmo()
1007 p = &rb->rb_left; in insert_mmo()
[all …]
/openbsd/gnu/llvm/compiler-rt/lib/hwasan/
H A Dhwasan_report.cpp119 SavedStackAllocations(StackAllocationsRingBuffer *rb) { in SavedStackAllocations() argument
120 uptr size = rb->size() * sizeof(uptr); in SavedStackAllocations()
123 new (&rb_) StackAllocationsRingBuffer(*rb, storage); in SavedStackAllocations()
127 StackAllocationsRingBuffer *rb = get(); in ~SavedStackAllocations() local
128 UnmapOrDie(rb->StartOfStorage(), rb->size() * sizeof(uptr)); in ~SavedStackAllocations()
150 static bool FindHeapAllocation(HeapAllocationsRingBuffer *rb, uptr tagged_addr, in FindHeapAllocation() argument
154 if (!rb) return false; in FindHeapAllocation()
158 for (uptr i = 0, size = rb->size(); i < size; i++) { in FindHeapAllocation()
159 auto h = (*rb)[i]; in FindHeapAllocation()
/openbsd/sys/dev/pci/
H A Dif_et.c1165 if (rb->rb_mbuf != NULL) { in et_free_rx_ring()
1167 m_freem(rb->rb_mbuf); in et_free_rx_ring()
1168 rb->rb_mbuf = NULL; in et_free_rx_ring()
1682 struct et_rxbuf *rb; in et_rxeof() local
1718 rb = &rbd->rbd_buf[buf_idx]; in et_rxeof()
1719 m = rb->rb_mbuf; in et_rxeof()
1964 struct et_rxbuf *rb; in et_newbuf() local
1970 rb = &rbd->rbd_buf[buf_idx]; in et_newbuf()
2026 rb->rb_mbuf = m; in et_newbuf()
2031 dmap = rb->rb_dmap; in et_newbuf()
[all …]
H A Dpccbb.c792 rbus_tag_t rb; in pccbb_pcmcia_attach_setup() local
832 paa->iobase = rb->rb_start + rb->rb_offset; in pccbb_pcmcia_attach_setup()
833 paa->iosize = rb->rb_end - rb->rb_start; in pccbb_pcmcia_attach_setup()
1623 rbus_tag_t rb; local
1693 rbus_tag_t rb = sc->sc_rbus_iot; local
1695 rbus_space_free(rb, ioh, size, NULL);
2089 rbus_tag_t rb; local
2111 rb = sc->sc_rbus_memt;
2493 if (rb->rb_bt == sc->sc_memt) {
2498 if (rb->rb_bt == sc->sc_iot) {
[all …]
H A Dif_nep.c1553 struct nep_block *rb; in nep_up() local
1567 rb = &sc->sc_rb[i]; in nep_up()
1569 BUS_DMA_WAITOK, &rb->nb_map); in nep_up()
1570 rb->nb_block = NULL; in nep_up()
1680 struct nep_block *rb; in nep_down() local
1721 rb = &sc->sc_rb[i]; in nep_down()
1722 if (rb->nb_block) { in nep_down()
1726 pool_put(nep_block_pool, rb->nb_block); in nep_down()
1981 struct nep_block *rb; in nep_fill_rx_ring() local
1991 rb = &sc->sc_rb[desc]; in nep_fill_rx_ring()
[all …]
/openbsd/gnu/usr.bin/perl/cpan/IO-Zlib/t/
H A Duncomp1.t37 ok(2, $file->open($name, "rb"));
49 ok(10, !defined(IO::Zlib->new($name, "rb")));
H A Duncomp2.t37 ok(2, $file->open($name, "rb"));
49 ok(10, !defined(IO::Zlib->new($name, "rb")));
H A Dgetline.t34 ok(4, $file = IO::Zlib->new($name, "rb"));
46 ok(13, $file = IO::Zlib->new($name, "rb"));
H A Dexternal.t91 ok(21, $file->open($name, "rb"));
100 $file = IO::Zlib->new($name, "rb");
107 ok(31, !defined(IO::Zlib->new($name, "rb")));
/openbsd/sys/arch/alpha/pci/
H A Dtsreg.h56 #define TSFIELDBB(r,lb,rb) TSFIELD((r), (rb), (lb) - (rb) + 1) argument
/openbsd/gnu/llvm/lldb/source/Plugins/Instruction/PPC64/
H A DEmulateInstructionPPC64.cpp329 uint32_t rb = Bits32(opcode, 15, 11); in EmulateOR() local
332 if (m_fp != LLDB_INVALID_REGNUM || rs != rb || in EmulateOR()
333 (ra != gpr_r30_ppc64le && ra != gpr_r31_ppc64le) || rb != gpr_r1_ppc64le) in EmulateOR()
337 LLDB_LOG(log, "EmulateOR: {0:X+8}: mr r{1}, r{2}", m_addr, ra, rb); in EmulateOR()
350 uint64_t rb_val = ReadRegisterUnsigned(eRegisterKindLLDB, rb, 0, &success); in EmulateOR()
/openbsd/sys/dev/wsfont/
H A Dwsfont.c305 unsigned char *rb; in wsfont_rotate_cw() local
307 rb = ch + (font->stride * r) + (b / 8); in wsfont_rotate_cw()
308 if (*rb & (0x80 >> (b % 8))) { in wsfont_rotate_cw()
333 unsigned char *rb; in wsfont_rotate_ccw() local
335 rb = ch + (font->stride * r) + (b / 8); in wsfont_rotate_ccw()
336 if (*rb & (0x80 >> (b % 8))) { in wsfont_rotate_ccw()
/openbsd/gnu/usr.bin/perl/cpan/IO-Compress/t/
H A Dcz-14gzopen.t71 ok $fil = gzopen($name, "rb") ;
116 ok $fil = gzopen($name, "rb") ;
157 ok $f = gzopen($file, "rb") ;
198 ok $fil = gzopen($name, "rb") ;
233 ok $fil = gzopen($name, "rb"), " gzopen" ;
265 ok $fil = gzopen($name, "rb"), " gzopen" ;
302 ok $fil = gzopen($name, "rb"), ' gzopen for read ok' ;
338 ok $fil = gzopen($name, "rb") ;
370 ok $fil = gzopen(*F, "rb") ;
417 ok $fil = gzopen($stdin, "rb") ;
[all …]
/openbsd/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_vm.c101 struct rb_node *rb;
103 for (rb = rb_first_cached(root); rb; rb = rb_next(rb)) {
104 node = rb_entry(rb, typeof(*node), rb);
115 struct rb_node *rb = &node->rb;
117 for (rb = rb_next(rb); rb; rb = rb_next(rb)) {
118 node = rb_entry(rb, typeof(*node), rb);
129 rb_erase_cached(&node->rb, root);
142 iter_node = rb_entry(*iter, struct amdgpu_bo_va_mapping, rb);
150 rb_link_node(&node->rb, parent, iter);
151 rb_insert_color_cached(&node->rb, root, false);
[all …]
/openbsd/usr.sbin/relayd/
H A Dparse.y3390 bcopy(ra, rb, sizeof(*rb)); in relay_inherit()
3392 bcopy(&rc.ss, &rb->rl_conf.ss, sizeof(rb->rl_conf.ss)); in relay_inherit()
3393 rb->rl_conf.port = rc.port; in relay_inherit()
3394 rb->rl_conf.flags = in relay_inherit()
3398 rb->rl_tls_ca_fd = -1; in relay_inherit()
3402 if (relay_id(rb) == -1) { in relay_inherit()
3407 if (snprintf(rb->rl_conf.name, sizeof(rb->rl_conf.name), "%s%u:%u", in relay_inherit()
3417 rb->rl_conf.name); in relay_inherit()
3423 rb->rl_conf.name); in relay_inherit()
3443 return (rb); in relay_inherit()
[all …]
/openbsd/sys/dev/pci/drm/scheduler/
H A Dsched_main.c243 struct rb_node *rb; in drm_sched_rq_select_entity_fifo() local
246 for (rb = rb_first_cached(&rq->rb_tree_root); rb; rb = rb_next(rb)) { in drm_sched_rq_select_entity_fifo()
249 entity = rb_entry(rb, struct drm_sched_entity, rb_tree_node); in drm_sched_rq_select_entity_fifo()
258 return rb ? rb_entry(rb, struct drm_sched_entity, rb_tree_node) : NULL; in drm_sched_rq_select_entity_fifo()
/openbsd/gnu/usr.bin/binutils-2.17/ld/emultempl/
H A Dbeos.em397 const lang_statement_union_type *const *rb = b;
401 (*rb)->input_section.section->owner->my_archive->filename);
406 (*rb)->input_section.section->owner->filename);
418 (*rb)->input_section.section->reloc_count) ? -1 : 0);
423 (*rb)->input_section.section->reloc_count) ? 0 : 1);
435 if (! bfd_get_section_contents ((*rb)->input_section.section->owner,
436 (*rb)->input_section.section, &b_sec, (file_ptr) 0, (bfd_size_type)sizeof(b_sec) ))
438 (*rb)->input_section.section->owner);
452 const lang_statement_union_type *const *rb = b;
455 (*rb)->input_section.section->name);
[all …]
/openbsd/sys/dev/pci/drm/i915/
H A Di915_vma.c151 struct rb_node *rb, **p; in vma_create() local
236 rb = NULL; in vma_create()
241 rb = *p; in vma_create()
251 p = &rb->rb_right; in vma_create()
253 p = &rb->rb_left; in vma_create()
257 rb_link_node(&vma->obj_node, rb, p); in vma_create()
290 struct rb_node *rb; in i915_vma_lookup() local
292 rb = obj->vma.tree.rb_node; in i915_vma_lookup()
293 while (rb) { in i915_vma_lookup()
302 rb = rb->rb_right; in i915_vma_lookup()
[all …]
/openbsd/regress/sys/sys/tree/
H A DMakefile3 SUBDIR= splay rb
/openbsd/sys/arch/alpha/alpha/
H A Ddb_instruction.h111 unsigned rb : 5, member
135 rb : 5, member
161 rb : 5, member
/openbsd/sys/dev/pci/drm/include/linux/
H A Dinterval_tree.h9 struct rb_node rb; member
/openbsd/gnu/usr.bin/binutils/ld/emultempl/
H A Dbeos.em416 const lang_statement_union_type *const *rb = b;
420 (*rb)->input_section.ifile->the_bfd->my_archive->filename);
425 (*rb)->input_section.ifile->filename);
437 (*rb)->input_section.section->reloc_count) ? -1 : 0);
442 (*rb)->input_section.section->reloc_count) ? 0 : 1);
454 if (! bfd_get_section_contents ((*rb)->input_section.ifile->the_bfd,
455 (*rb)->input_section.section, &b_sec, (file_ptr) 0, (bfd_size_type)sizeof(b_sec) ))
457 (*rb)->input_section.ifile->the_bfd);
471 const lang_statement_union_type *const *rb = b;
474 (*rb)->input_section.section->name);
[all …]

1234567