Home
last modified time | relevance | path

Searched refs:buf_ptr (Results 1 – 25 of 49) sorted by relevance

12

/netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/spu/
H A Dcachemgr.c142 qword *buf_ptr = (qword *) (((unsigned int) (buffer) + 127) & ~127); in __cache_evict_entry()
157 mfc_getllar (buf_ptr, tag, 0, 0); in __cache_evict_entry()
171 buf_ptr[0] = si_selb (buf_ptr[0], line[0], si_fsmb (bits)); in __cache_evict_entry()
176 buf_ptr[1] = si_selb (buf_ptr[1], line[1], si_fsmb (bits)); in __cache_evict_entry()
178 buf_ptr[2] = si_selb (buf_ptr[2], line[2], si_fsmb (bits)); in __cache_evict_entry()
180 buf_ptr[3] = si_selb (buf_ptr[3], line[3], si_fsmb (bits)); in __cache_evict_entry()
182 buf_ptr[4] = si_selb (buf_ptr[4], line[4], si_fsmb (bits)); in __cache_evict_entry()
184 buf_ptr[5] = si_selb (buf_ptr[5], line[5], si_fsmb (bits)); in __cache_evict_entry()
186 buf_ptr[6] = si_selb (buf_ptr[6], line[6], si_fsmb (bits)); in __cache_evict_entry()
188 buf_ptr[7] = si_selb (buf_ptr[7], line[7], si_fsmb (bits)); in __cache_evict_entry()
[all …]
/netbsd-src/sys/external/bsd/sljit/dist/sljit_src/
H A DsljitNativeX86_32.c335 sljit_u8 *buf_ptr; in emit_x86_instruction() local
416 buf_ptr = inst + size; in emit_x86_instruction()
424 *buf_ptr = 0; in emit_x86_instruction()
426 *buf_ptr = reg_map[a] << 3; in emit_x86_instruction()
428 *buf_ptr = a << 3; in emit_x86_instruction()
438 *buf_ptr = 0; in emit_x86_instruction()
442 *buf_ptr++ |= MOD_REG + ((!(flags & EX86_SSE2_OP2)) ? reg_map[b] : b); in emit_x86_instruction()
447 *buf_ptr |= 0x40; in emit_x86_instruction()
449 *buf_ptr |= 0x80; in emit_x86_instruction()
453 *buf_ptr++ |= reg_map[b & REG_MASK]; in emit_x86_instruction()
[all …]
H A DsljitNativeX86_64.c348 sljit_u8 *buf_ptr; in emit_x86_instruction() local
466 buf_ptr = inst + size; in emit_x86_instruction()
474 *buf_ptr = 0; in emit_x86_instruction()
476 *buf_ptr = reg_lmap[a] << 3; in emit_x86_instruction()
478 *buf_ptr = a << 3; in emit_x86_instruction()
488 *buf_ptr = 0; in emit_x86_instruction()
492 *buf_ptr++ |= MOD_REG + ((!(flags & EX86_SSE2_OP2)) ? reg_lmap[b] : b); in emit_x86_instruction()
497 *buf_ptr |= 0x40; in emit_x86_instruction()
499 *buf_ptr |= 0x80; in emit_x86_instruction()
503 *buf_ptr++ |= reg_lmap[b & REG_MASK]; in emit_x86_instruction()
[all …]
H A DsljitNativeARM_32.c319 …atch **first_patch, sljit_uw cpool_current_index, sljit_uw *cpool_start_address, sljit_uw *buf_ptr) in resolve_const_pool_index() argument
367 cpool_start_address[value] = *buf_ptr; in resolve_const_pool_index()
571 sljit_uw *buf_ptr; in sljit_generate_code() local
629 buf_ptr = (sljit_uw*)buf->memory; in sljit_generate_code()
630 buf_end = buf_ptr + (buf->used_size >> 2); in sljit_generate_code()
636 buf_ptr++; in sljit_generate_code()
640 …lve_const_pool_index(compiler, &first_patch, cpool_current_index, cpool_start_address, buf_ptr))) { in sljit_generate_code()
645 buf_ptr++; in sljit_generate_code()
658 else if ((*buf_ptr & 0xff000000) != PUSH_POOL) { in sljit_generate_code()
660 *code_ptr = *buf_ptr++; in sljit_generate_code()
[all …]
H A DsljitNativePPC_common.c330 sljit_ins *buf_ptr; in sljit_generate_code() local
364 buf_ptr = (sljit_ins*)buf->memory; in sljit_generate_code()
365 buf_end = buf_ptr + (buf->used_size >> 2); in sljit_generate_code()
367 *code_ptr = *buf_ptr++; in sljit_generate_code()
425 } while (buf_ptr < buf_end); in sljit_generate_code()
449 buf_ptr = (sljit_ins *)jump->addr; in sljit_generate_code()
454 addr -= (sljit_uw)SLJIT_ADD_EXEC_OFFSET(buf_ptr, executable_offset); in sljit_generate_code()
456 *buf_ptr = BCx | (addr & 0xfffc) | ((*buf_ptr) & 0x03ff0001); in sljit_generate_code()
460 *buf_ptr = BCx | (addr & 0xfffc) | 0x2 | ((*buf_ptr) & 0x03ff0001); in sljit_generate_code()
465 addr -= (sljit_uw)SLJIT_ADD_EXEC_OFFSET(buf_ptr, executable_offset); in sljit_generate_code()
[all …]
H A DsljitNativeMIPS_common.c362 sljit_ins *buf_ptr; in sljit_generate_code() local
389 buf_ptr = (sljit_ins*)buf->memory; in sljit_generate_code()
390 buf_end = buf_ptr + (buf->used_size >> 2); in sljit_generate_code()
392 *code_ptr = *buf_ptr++; in sljit_generate_code()
418 } while (buf_ptr < buf_end); in sljit_generate_code()
438 buf_ptr = (sljit_ins *)jump->addr; in sljit_generate_code()
441 …addr = (sljit_sw)(addr - ((sljit_uw)SLJIT_ADD_EXEC_OFFSET(buf_ptr, executable_offset) + sizeof(slj… in sljit_generate_code()
443 buf_ptr[0] = (buf_ptr[0] & 0xffff0000) | (addr & 0xffff); in sljit_generate_code()
447 …SLJIT_ASSERT((addr & ~0xfffffff) == (((sljit_uw)SLJIT_ADD_EXEC_OFFSET(buf_ptr, executable_offset) … in sljit_generate_code()
448 buf_ptr[0] |= (addr >> 2) & 0x03ffffff; in sljit_generate_code()
[all …]
H A DsljitNativeSPARC_common.c284 sljit_ins *buf_ptr; in sljit_generate_code() local
311 buf_ptr = (sljit_ins*)buf->memory; in sljit_generate_code()
312 buf_end = buf_ptr + (buf->used_size >> 2); in sljit_generate_code()
314 *code_ptr = *buf_ptr++; in sljit_generate_code()
341 } while (buf_ptr < buf_end); in sljit_generate_code()
361 buf_ptr = (sljit_ins *)jump->addr; in sljit_generate_code()
364 addr = (sljit_sw)(addr - (sljit_uw)SLJIT_ADD_EXEC_OFFSET(buf_ptr, executable_offset)) >> 2; in sljit_generate_code()
366 buf_ptr[0] = CALL | (addr & 0x3fffffff); in sljit_generate_code()
370 addr = (sljit_sw)(addr - (sljit_uw)SLJIT_ADD_EXEC_OFFSET(buf_ptr, executable_offset)) >> 2; in sljit_generate_code()
372 buf_ptr[0] = (buf_ptr[0] & ~DISP_MASK) | (addr & DISP_MASK); in sljit_generate_code()
[all …]
H A DsljitNativeARM_64.c214 sljit_ins *buf_ptr; in sljit_generate_code() local
242 buf_ptr = (sljit_ins*)buf->memory; in sljit_generate_code()
243 buf_end = buf_ptr + (buf->used_size >> 2); in sljit_generate_code()
245 *code_ptr = *buf_ptr++; in sljit_generate_code()
266 } while (buf_ptr < buf_end); in sljit_generate_code()
286 buf_ptr = (sljit_ins *)jump->addr; in sljit_generate_code()
289 addr = (sljit_sw)(addr - (sljit_uw)SLJIT_ADD_EXEC_OFFSET(buf_ptr, executable_offset)) >> 2; in sljit_generate_code()
291 buf_ptr[0] = ((jump->flags & IS_BL) ? BL : B) | (addr & 0x3ffffff); in sljit_generate_code()
293 buf_ptr[-1] -= (4 << 5); in sljit_generate_code()
297 addr = (sljit_sw)(addr - (sljit_uw)SLJIT_ADD_EXEC_OFFSET(buf_ptr, executable_offset)) >> 2; in sljit_generate_code()
[all …]
H A DsljitNativeTILEGX_64.c1003 sljit_ins *buf_ptr; in sljit_generate_code() local
1026 buf_ptr = (sljit_ins *)buf->memory; in sljit_generate_code()
1027 buf_end = buf_ptr + (buf->used_size >> 3); in sljit_generate_code()
1029 *code_ptr = *buf_ptr++; in sljit_generate_code()
1059 } while (buf_ptr < buf_end); in sljit_generate_code()
1079 buf_ptr = (sljit_ins *)jump->addr; in sljit_generate_code()
1084 buf_ptr[0] = (buf_ptr[0] & ~(BOFF_X1(-1))) | BOFF_X1(addr); in sljit_generate_code()
1088 print_insn_tilegx(buf_ptr); in sljit_generate_code()
1096 buf_ptr[0] = (buf_ptr[0] & ~(JOFF_X1(-1))) | JOFF_X1(addr); in sljit_generate_code()
1100 print_insn_tilegx(buf_ptr); in sljit_generate_code()
[all …]
H A DsljitNativeX86_common.c482 sljit_u8 *buf_ptr; in sljit_generate_code() local
508 buf_ptr = buf->memory; in sljit_generate_code()
509 buf_end = buf_ptr + buf->used_size; in sljit_generate_code()
511 len = *buf_ptr++; in sljit_generate_code()
514 SLJIT_MEMCPY(code_ptr, buf_ptr, len); in sljit_generate_code()
516 buf_ptr += len; in sljit_generate_code()
519 if (*buf_ptr >= 2) { in sljit_generate_code()
522 code_ptr = generate_near_jump_code(jump, code_ptr, code, *buf_ptr - 2, executable_offset); in sljit_generate_code()
525 code_ptr = generate_far_jump_code(jump, code_ptr, *buf_ptr - 2, executable_offset); in sljit_generate_code()
527 code_ptr = generate_far_jump_code(jump, code_ptr, *buf_ptr - 2); in sljit_generate_code()
[all …]
/netbsd-src/sys/arch/mips/cavium/dev/
H A Docteon_pko.c128 paddr_t buf_ptr = 0; in octpko_port_config() local
133 buf_ptr = octfpa_load(FPA_COMMAND_BUFFER_POOL); in octpko_port_config()
134 if (buf_ptr == 0) in octpko_port_config()
137 KASSERT(buf_ptr != 0); in octpko_port_config()
146 SET(mem_queue_ptrs, __SHIFTIN(buf_ptr, PKO_MEM_QUEUE_PTRS_BUF_PTR)); in octpko_port_config()
154 sc->sc_cmdptr->cmdptr = (uint64_t)buf_ptr; in octpko_port_config()
/netbsd-src/external/bsd/openldap/dist/libraries/libldap/
H A Dsasl.c650 len = p->sec_buf_in.buf_ptr - p->sec_buf_in.buf_end; in sb_sasl_generic_drop_packet()
662 p->sec_buf_in.buf_ptr = len; in sb_sasl_generic_drop_packet()
687 while ( p->sec_buf_in.buf_ptr < 4 ) { in sb_sasl_generic_read()
689 p->sec_buf_in.buf_ptr, in sb_sasl_generic_read()
690 4 - p->sec_buf_in.buf_ptr ); in sb_sasl_generic_read()
698 p->sec_buf_in.buf_ptr += ret; in sb_sasl_generic_read()
715 while ( p->sec_buf_in.buf_ptr < p->sec_buf_in.buf_end ) { in sb_sasl_generic_read()
717 ret = p->sec_buf_in.buf_end - p->sec_buf_in.buf_ptr; in sb_sasl_generic_read()
720 p->sec_buf_in.buf_ptr, ret ); in sb_sasl_generic_read()
728 p->sec_buf_in.buf_ptr += ret; in sb_sasl_generic_read()
[all …]
/netbsd-src/external/bsd/openldap/dist/libraries/liblber/
H A Dsockbuf.c253 buf->buf_ptr = 0; in ber_pvt_sb_buf_init()
301 max = sbb->buf_end - sbb->buf_ptr; in ber_pvt_sb_copy_out()
304 AC_MEMCPY( buf, sbb->buf_base + sbb->buf_ptr, max ); in ber_pvt_sb_copy_out()
305 sbb->buf_ptr += max; in ber_pvt_sb_copy_out()
306 if ( sbb->buf_ptr >= sbb->buf_end ) { in ber_pvt_sb_copy_out()
307 sbb->buf_ptr = sbb->buf_end = 0; in ber_pvt_sb_copy_out()
322 to_go = buf_out->buf_end - buf_out->buf_ptr; in ber_pvt_sb_do_write()
327 buf_out->buf_ptr, to_go ); in ber_pvt_sb_do_write()
336 buf_out->buf_ptr += ret; in ber_pvt_sb_do_write()
337 if (buf_out->buf_ptr == buf_out->buf_end) { in ber_pvt_sb_do_write()
[all …]
/netbsd-src/sys/arch/mips/cfe/
H A Dcfe_api.c256 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(name); in cfe_getdevinfo()
407 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); in cfe_ioctl()
430 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(name); in cfe_open()
461 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); in cfe_readblk()
529 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); in cfe_writeblk()
H A Dcfe_api_int.h94 cfe_xptr_t buf_ptr; /* pointer to a buffer */ member
/netbsd-src/sys/arch/sbmips/stand/common/
H A Dcfe_api.c253 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(name); in cfe_getdevinfo()
404 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); in cfe_ioctl()
427 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(name); in cfe_open()
458 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); in cfe_readblk()
526 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); in cfe_writeblk()
H A Dcfe_api_int.h94 cfe_xptr_t buf_ptr; /* pointer to a buffer */ member
/netbsd-src/sys/arch/evbmips/stand/sbmips/common/
H A Dcfe_api.c253 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(name); in cfe_getdevinfo()
404 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); in cfe_ioctl()
427 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(name); in cfe_open()
458 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); in cfe_readblk()
526 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); in cfe_writeblk()
H A Dcfe_api_int.h94 cfe_xptr_t buf_ptr; /* pointer to a buffer */ member
/netbsd-src/crypto/external/bsd/openssl/dist/test/
H A Dd2i_test.c50 const unsigned char *buf_ptr = buf; in test_bad_asn1() local
74 value = ASN1_item_d2i(NULL, &buf_ptr, len, item_type); in test_bad_asn1()
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/
H A Dd2i_test.c50 const unsigned char *buf_ptr = buf; in test_bad_asn1() local
74 value = ASN1_item_d2i(NULL, &buf_ptr, len, item_type); in test_bad_asn1()
/netbsd-src/sys/arch/x68k/stand/libdos/
H A Ddos.h227 unsigned char *buf_ptr; member
247 struct dos_prcctrl *buf_ptr; member
/netbsd-src/sys/external/bsd/drm2/dist/include/uapi/drm/
H A Dpanfrost_drm.h205 __u64 buf_ptr; member
/netbsd-src/external/bsd/elftosb/dist/elftosb2/
H A DFlexLexer.h139 void yyunput( int c, char* buf_ptr );
/netbsd-src/external/bsd/flex/dist/src/
H A DFlexLexer.h154 void yyunput( int c, char* buf_ptr );

12