| /netbsd-src/external/gpl3/binutils.old/dist/gas/config/ |
| H A D | tc-s12z.c | 441 lex_opr (uint8_t *buffer, int *n_bytes, expressionS *exp, in lex_opr() argument 449 *n_bytes = 0; in lex_opr() 463 *n_bytes = 1; in lex_opr() 470 *n_bytes = 1; in lex_opr() 485 *n_bytes = 2; in lex_opr() 490 *n_bytes = 4; in lex_opr() 497 for (i = 1; i < *n_bytes ; ++i) in lex_opr() 499 buffer[i] = c >> (8 * (*n_bytes - i - 1)); in lex_opr() 511 *n_bytes = 4; in lex_opr() 525 *n_bytes = 1; in lex_opr() [all …]
|
| /netbsd-src/external/gpl3/binutils/dist/gas/config/ |
| H A D | tc-s12z.c | 441 lex_opr (uint8_t *buffer, int *n_bytes, expressionS *exp, in lex_opr() argument 449 *n_bytes = 0; in lex_opr() 463 *n_bytes = 1; in lex_opr() 470 *n_bytes = 1; in lex_opr() 485 *n_bytes = 2; in lex_opr() 490 *n_bytes = 4; in lex_opr() 497 for (i = 1; i < *n_bytes ; ++i) in lex_opr() 499 buffer[i] = c >> (8 * (*n_bytes - i - 1)); in lex_opr() 511 *n_bytes = 4; in lex_opr() 525 *n_bytes = 1; in lex_opr() [all …]
|
| /netbsd-src/usr.sbin/rpc.lockd/ |
| H A D | lockd_lock.c | 82 (void)memcpy(fh->fhdata, rfh->n_bytes, sz); in fhconv() 252 newfl->client.oh.n_bytes = malloc(lckarg->alock.oh.n_len); in getlock() 253 if (newfl->client.oh.n_bytes == NULL) { in getlock() 260 (void)memcpy(newfl->client.oh.n_bytes, lckarg->alock.oh.n_bytes, in getlock() 265 newfl->client_cookie.n_bytes = malloc(lckarg->cookie.n_len); in getlock() 266 if (newfl->client_cookie.n_bytes == NULL) { in getlock() 272 (void)memcpy(newfl->client_cookie.n_bytes, lckarg->cookie.n_bytes, in getlock() 374 memcmp(fl->client.oh.n_bytes, lck->oh.n_bytes, in unlock() 426 free(fl->client.oh.n_bytes); in lfree() 427 free(fl->client_cookie.n_bytes); in lfree() [all …]
|
| H A D | test.c | 358 arg.cookie.n_bytes = "hello"; in main() 365 …arg.alock.fh.n_bytes = "\x04\x04\x02\x00\x01\x00\x00\x00\x0c\x00\x00\x00\xff\xff\xff\xd0\x16\x00\x… in main() 367 arg.alock.oh.n_bytes = "\x00\x00\x02\xff\xff\xff\xd3"; in main() 373 res_block.cookie.n_bytes = "hello"; in main()
|
| /netbsd-src/external/bsd/libevent/dist/ |
| H A D | evutil_rand.c | 106 int n_bytes = 4 - (((ev_uintptr_t)b) & 3); in ev_arc4random_buf() 107 memcpy(b, &u, n_bytes); in ev_arc4random_buf() 108 b += n_bytes; in ev_arc4random_buf() 109 n -= n_bytes; in ev_arc4random_buf()
|
| /netbsd-src/sys/external/bsd/dwc2/dist/ |
| H A D | dwc2_hcdddma.c | 118 qh->n_bytes = kmem_zalloc(sizeof(u32) * dwc2_max_desc_num(qh), KM_SLEEP); in dwc2_desc_list_alloc() 119 if (!qh->n_bytes) { in dwc2_desc_list_alloc() 136 kmem_free(qh->n_bytes, sizeof(u32) * dwc2_max_desc_num(qh)); in dwc2_desc_list_free() 137 qh->n_bytes = NULL; in dwc2_desc_list_free() 550 qh->n_bytes[idx] = max_xfer_size; in dwc2_fill_host_isoc_dma_desc() 552 qh->n_bytes[idx] = frame_desc->length; in dwc2_fill_host_isoc_dma_desc() 555 dma_desc->status = qh->n_bytes[idx] << HOST_DMA_ISOC_NBYTES_SHIFT & in dwc2_fill_host_isoc_dma_desc() 710 qh->n_bytes[n_desc] = len; in dwc2_fill_host_dma_desc() 916 frame_desc->actual_length = qh->n_bytes[idx] - remain; in dwc2_cmpl_host_isoc_dma_desc() 920 frame_desc->actual_length = qh->n_bytes[idx] - remain; in dwc2_cmpl_host_isoc_dma_desc() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libcc1/ |
| H A D | marshall.cc | 115 cc1_plugin::marshall_array_elmts (connection *conn, size_t n_bytes, in marshall_array_elmts() argument 118 return conn->send (elements, n_bytes); in marshall_array_elmts() 138 cc1_plugin::unmarshall_array_elmts (connection *conn, size_t n_bytes, in unmarshall_array_elmts() argument 141 return conn->get (elements, n_bytes); in unmarshall_array_elmts()
|
| /netbsd-src/external/gpl3/gcc/dist/libcc1/ |
| H A D | marshall.cc | 116 cc1_plugin::marshall_array_elmts (connection *conn, size_t n_bytes, in marshall_array_elmts() argument 119 return conn->send (elements, n_bytes); in marshall_array_elmts() 139 cc1_plugin::unmarshall_array_elmts (connection *conn, size_t n_bytes, in unmarshall_array_elmts() argument 142 return conn->get (elements, n_bytes); in unmarshall_array_elmts()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | sparseset.c | 30 unsigned int n_bytes = sizeof (struct sparseset_def) in sparseset_alloc() local 33 sparseset set = XNEWVAR (struct sparseset_def, n_bytes); in sparseset_alloc() 39 VALGRIND_DISCARD (VALGRIND_MAKE_MEM_DEFINED (set, n_bytes)); in sparseset_alloc()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | sparseset.cc | 30 unsigned int n_bytes = sizeof (struct sparseset_def) in sparseset_alloc() local 33 sparseset set = XNEWVAR (struct sparseset_def, n_bytes); in sparseset_alloc() 39 VALGRIND_DISCARD (VALGRIND_MAKE_MEM_DEFINED (set, n_bytes)); in sparseset_alloc()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/config/avr/ |
| H A D | avr.cc | 260 avr_popcount_each_byte (rtx xval, int n_bytes, int pop_mask) in avr_popcount_each_byte() argument 267 for (int i = 0; i < n_bytes; i++) in avr_popcount_each_byte() 3718 int n_bytes = GET_MODE_SIZE (mode); in avr_load_libgcc_p() local 3720 return (n_bytes > 2 in avr_load_libgcc_p() 3730 int n_bytes = GET_MODE_SIZE (mode); in avr_xload_libgcc_p() local 3732 return (n_bytes > 1 in avr_xload_libgcc_p() 3798 int n_bytes = GET_MODE_SIZE (GET_MODE (dest)); in avr_out_lpm_no_lpmx() local 3815 switch (n_bytes) in avr_out_lpm_no_lpmx() 3854 && n_bytes <= 4); in avr_out_lpm_no_lpmx() 3864 if (n_bytes >= 2) in avr_out_lpm_no_lpmx() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/avr/ |
| H A D | avr.c | 259 avr_popcount_each_byte (rtx xval, int n_bytes, int pop_mask) in avr_popcount_each_byte() argument 266 for (int i = 0; i < n_bytes; i++) in avr_popcount_each_byte() 3511 int n_bytes = GET_MODE_SIZE (mode); in avr_load_libgcc_p() local 3513 return (n_bytes > 2 in avr_load_libgcc_p() 3523 int n_bytes = GET_MODE_SIZE (mode); in avr_xload_libgcc_p() local 3525 return (n_bytes > 1 in avr_xload_libgcc_p() 3591 int n_bytes = GET_MODE_SIZE (GET_MODE (dest)); in avr_out_lpm_no_lpmx() local 3608 switch (n_bytes) in avr_out_lpm_no_lpmx() 3647 && n_bytes <= 4); in avr_out_lpm_no_lpmx() 3657 if (n_bytes >= 2) in avr_out_lpm_no_lpmx() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/config/pa/ |
| H A D | pa.cc | 3009 unsigned HOST_WIDE_INT n_bytes = INTVAL (operands[4]); in pa_output_block_move() local 3022 operands[4] = GEN_INT (n_bytes - 16); in pa_output_block_move() 3034 if (n_bytes % 16 != 0) in pa_output_block_move() 3036 operands[4] = GEN_INT (n_bytes % 8); in pa_output_block_move() 3037 if (n_bytes % 16 >= 8) in pa_output_block_move() 3039 if (n_bytes % 8 != 0) in pa_output_block_move() 3041 if (n_bytes % 16 >= 8) in pa_output_block_move() 3043 if (n_bytes % 8 != 0) in pa_output_block_move() 3050 operands[4] = GEN_INT (n_bytes - 8); in pa_output_block_move() 3062 if (n_bytes % 8 != 0) in pa_output_block_move() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/pa/ |
| H A D | pa.c | 2975 unsigned HOST_WIDE_INT n_bytes = INTVAL (operands[4]); in pa_output_block_move() local 2988 operands[4] = GEN_INT (n_bytes - 16); in pa_output_block_move() 3000 if (n_bytes % 16 != 0) in pa_output_block_move() 3002 operands[4] = GEN_INT (n_bytes % 8); in pa_output_block_move() 3003 if (n_bytes % 16 >= 8) in pa_output_block_move() 3005 if (n_bytes % 8 != 0) in pa_output_block_move() 3007 if (n_bytes % 16 >= 8) in pa_output_block_move() 3009 if (n_bytes % 8 != 0) in pa_output_block_move() 3016 operands[4] = GEN_INT (n_bytes - 8); in pa_output_block_move() 3028 if (n_bytes % 8 != 0) in pa_output_block_move() [all …]
|
| /netbsd-src/sys/dev/pci/ |
| H A D | xmm7360.c | 559 int n_packets, n_bytes, max_size, sequence; member 1096 frame->n_bytes = 0; in xmm7360_mux_frame_init() 1104 if (frame->n_bytes == 0) in xmm7360_mux_frame_add_tag() 1109 while (frame->n_bytes & 3) in xmm7360_mux_frame_add_tag() 1110 frame->n_bytes++; in xmm7360_mux_frame_add_tag() 1112 BUG_ON(frame->n_bytes + total_length > frame->max_size); in xmm7360_mux_frame_add_tag() 1115 *frame->last_tag_next = frame->n_bytes; in xmm7360_mux_frame_add_tag() 1117 if (frame->n_bytes == 0) { in xmm7360_mux_frame_add_tag() 1126 frame->n_bytes += sizeof(struct mux_first_header); in xmm7360_mux_frame_add_tag() 1128 struct mux_next_header *hdr = (struct mux_next_header *)(&frame->data[frame->n_bytes]); in xmm7360_mux_frame_add_tag() [all …]
|
| /netbsd-src/external/gpl3/binutils/dist/opcodes/ |
| H A D | msp430-decode.opc | 52 if (ld->op_ptr == ld->msp430->n_bytes) 57 ld->op [(ld->msp430->n_bytes++)^1] = b; 59 while (ld->msp430->n_bytes & 1); 434 ID (MSO_jmp); SC (pc + raddr + msp430->n_bytes); 568 ID (MSO_call); SA (pc + raddr + msp430->n_bytes); 591 return msp430->n_bytes;
|
| H A D | s12z-dis.c | 345 int n_bytes = in print_insn_s12z() local 394 return n_bytes; in print_insn_s12z()
|
| /netbsd-src/external/gpl3/binutils.old/dist/opcodes/ |
| H A D | msp430-decode.opc | 52 if (ld->op_ptr == ld->msp430->n_bytes) 57 ld->op [(ld->msp430->n_bytes++)^1] = b; 59 while (ld->msp430->n_bytes & 1); 434 ID (MSO_jmp); SC (pc + raddr + msp430->n_bytes); 568 ID (MSO_call); SA (pc + raddr + msp430->n_bytes); 591 return msp430->n_bytes;
|
| H A D | s12z-dis.c | 345 int n_bytes = in print_insn_s12z() local 394 return n_bytes; in print_insn_s12z()
|
| /netbsd-src/usr.sbin/installboot/arch/ |
| H A D | i386.c | 111 pwrite_validate(int fd, const void *buf, size_t n_bytes, off_t offset) in pwrite_validate() argument 116 r_buf = malloc(n_bytes); in pwrite_validate() 119 rv = pwrite(fd, buf, n_bytes, offset); in pwrite_validate()
|
| /netbsd-src/sys/fs/nfs/nlm/ |
| H A D | nlm_prot_impl.c | 281 return ((struct nlm_grantcookie *)src->n_bytes)->ng_sysid; in ng_sysid() 288 return ((struct nlm_grantcookie *)src->n_bytes)->ng_cookie; in ng_cookie() 333 dst->n_bytes = malloc(srcsize, type, M_WAITOK); in nlm_make_netobj() 334 memcpy(dst->n_bytes, src, srcsize); in nlm_make_netobj() 345 nlm_make_netobj(dst, src->n_bytes, src->n_len, type); in nlm_copy_netobj() 1339 memcpy(&nw->nw_fh.fh_bytes, nw->nw_lock.fh.n_bytes, in nlm_register_wait_lock() 1341 nw->nw_lock.fh.n_bytes = nw->nw_fh.fh_bytes; in nlm_register_wait_lock() 1751 memcpy(fhp, p->n_bytes, sizeof(fhandle_t)); in nlm_convert_to_fhandle_t() 2329 && !memcmp(argp->alock.fh.n_bytes, nw->nw_lock.fh.n_bytes, in nlm_do_granted()
|
| H A D | nlm_advlock.c | 801 args.cookie.n_bytes = (char*) &xid; in nlm_setlock() 867 cancel.cookie.n_bytes = (char*) &xid; in nlm_setlock() 987 args.cookie.n_bytes = (char*) &xid; in nlm_clearlock() 1068 args.cookie.n_bytes = (char*) &xid; in nlm_getlock() 1267 lock->fh.n_bytes = fh; in nlm_init_lock() 1269 lock->oh.n_bytes = oh_space; in nlm_init_lock()
|
| /netbsd-src/external/gpl3/binutils/dist/include/opcode/ |
| H A D | msp430-decode.h | 119 int n_bytes; /* Opcode size in BYTES. */ member
|
| H A D | rl78.h | 169 int n_bytes; member
|
| /netbsd-src/external/gpl3/binutils.old/dist/include/opcode/ |
| H A D | msp430-decode.h | 119 int n_bytes; /* Opcode size in BYTES. */ member
|