/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/rand/ |
H A D | rand_egd.c | 64 int mybuffer, ret = -1, i, numbytes, fd; 118 numbytes = tempbuf[0]; 126 i = fread(buf, sizeof(char), numbytes, fp); 127 if (i < numbytes) 129 ret = numbytes;
|
/netbsd-current/usr.sbin/bootp/common/ |
H A D | dovend.c | 325 int length, numbytes; 344 numbytes = srcptr[1] + 2; 345 if (*bytesleft < numbytes) 346 skipped += numbytes; 348 bcopy(srcptr, *buff, numbytes); 349 (*buff) += numbytes; 350 (*bytesleft) -= numbytes; 352 srcptr += numbytes; 353 length -= numbytes; 323 int length, numbytes; local
|
/netbsd-current/crypto/external/cpl/tpm-tools/dist/src/tpm_mgmt/ |
H A D | tpm_nvcommon.c | 112 int i, num, numbytes; local 136 if (sscanf(aArg + offset, "%x%n", &num, &numbytes) 143 if (aArg[offset+numbytes] == '|' || 144 aArg[offset+numbytes] == 0) { 152 offset += numbytes + 1; 161 if (sscanf(aArg + offset, "%u%n", &num, &numbytes) != 1) { 167 if (!aArg[offset+numbytes] == '|' && 168 !aArg[offset+numbytes] == 0) { 176 offset += numbytes + 1;
|
/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
H A D | amdgpu_smu_v11_0_i2c.c | 224 * @numbytes: The amount of data to transmit. 231 uint32_t numbytes, uint32_t i2c_flag) 240 (uint16_t)address, numbytes); 244 16, 1, data, numbytes, false); 258 while (numbytes > 0) { 273 if (numbytes == 1) 283 numbytes--; 287 } while (numbytes && REG_GET_FIELD(reg, CKSVII2C_IC_STATUS, TFNF)); 324 * @numbytes: The amount of data to transmit. 331 uint32_t numbytes, uint8_ 229 smu_v11_0_i2c_transmit(struct i2c_adapter *control, uint8_t address, uint8_t *data, uint32_t numbytes, uint32_t i2c_flag) argument 329 smu_v11_0_i2c_receive(struct i2c_adapter *control, uint8_t address, uint8_t *data, uint32_t numbytes, uint8_t i2c_flag) argument 548 smu_v11_0_i2c_eeprom_read_data(struct i2c_adapter *control, uint8_t address, uint8_t *data, uint32_t numbytes) argument 571 smu_v11_0_i2c_eeprom_write_data(struct i2c_adapter *control, uint8_t address, uint8_t *data, uint32_t numbytes) argument [all...] |
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/rand/ |
H A D | rand_egd.c | 113 int mybuffer, ret = -1, i, numbytes, fd; local 183 numbytes = tempbuf[0]; 191 i = fread(buf, sizeof(char), numbytes, fp); 192 if (i < numbytes) 194 ret = numbytes;
|
/netbsd-current/sys/dev/raidframe/ |
H A D | rf_evenodd.c | 337 int numbytes = rf_RaidAddressToByte(raidPtr, numsector); local 338 int bytesPerStripe = numbytes * layoutPtr->numDataCol; 362 numbytes * (layoutPtr->numDataCol + layoutPtr->numParityCol), 364 pbuf = RF_MallocAndAdd(numbytes, alloclist); 366 redundantbuf2 = RF_MallocAndAdd(numbytes, alloclist); 368 rd_dag_h = rf_MakeSimpleDAG(raidPtr, stripeWidth, numbytes, buf, rf_DiskReadFunc, rf_DiskReadUndoFunc, 427 for (p = buf, i = 0; p < end_p; p += numbytes, i++) { 432 rf_bxor(p, pbuf, numbytes); 436 for (i = 0; i < numbytes; i++) { 447 for (i = 0; i < numbytes; [all...] |
H A D | rf_parityscan.c | 199 int numbytes = rf_RaidAddressToByte(raidPtr, numsector); local 200 int bytesPerStripe = numbytes * layoutPtr->numDataCol; 223 bf = RF_MallocAndAdd(numbytes 225 pbuf = RF_MallocAndAdd(numbytes, alloclist); 228 rd_dag_h = rf_MakeSimpleDAG(raidPtr, stripeWidth, numbytes, bf, rf_DiskReadFunc, rf_DiskReadUndoFunc, 282 for (p = bf; p < end_p; p += numbytes) { 283 rf_bxor(p, pbuf, numbytes); 285 for (i = 0; i < numbytes; i++) { 296 wr_dag_h = rf_MakeSimpleDAG(raidPtr, 1, numbytes, pbuf, rf_DiskWriteFunc, rf_DiskWriteUndoFunc,
|
H A D | rf_evenodd_dagfuncs.c | 836 RF_int64 numbytes; local 891 numbytes = fpda->numSector * bytesPerSector; 892 olddata[0] = RF_Malloc(numbytes); 893 olddata[1] = RF_Malloc(numbytes); 924 rf_bxor(((RF_PhysDiskAddr_t *) node->params[numDataCol].p)->bufPtr, olddata[0], numbytes); 934 rf_bxor(olddata[0], ppda->bufPtr, numbytes); 936 RF_Free(olddata[0], numbytes); 937 RF_Free(olddata[1], numbytes);
|
/netbsd-current/external/bsd/libarchive/dist/libarchive/test/ |
H A D | test_fuzz.c | 156 int j, numbytes, trycnt; local 163 numbytes = (int)(rand() % q); 164 for (j = 0; j < numbytes; ++j)
|
/netbsd-current/usr.sbin/dumplfs/ |
H A D | dumplfs.c | 559 int numbytes, numblocks; local 616 numbytes = 0; 620 numbytes += lfs_sb_getibsize(lfsp); /* add bytes for inode block */ 653 numbytes += lfs_fi_getlastlength(lfsp, fp); 655 numbytes += lfs_sb_getbsize(lfsp); 663 return (numbytes); 717 return (numbytes);
|
/netbsd-current/sys/arch/mac68k/mac68k/ |
H A D | macrom.c | 485 u_int numbytes; local 489 __asm volatile ("movl %%d0,%0" : "=g" (numbytes) : : "d0"); 492 printf("mrg: NewPtr(%d bytes, ? clear, ? sys)", numbytes); 496 ptr = malloc(numbytes + 4 , M_DEVBUF, M_NOWAIT); /* ?? */ 509 *(u_int32_t *)ptr = numbytes; 511 memset(ptr, 0, numbytes); /* NewPtr, 0, Clear ! */
|
/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/powerplay/ |
H A D | amdgpu_arcturus_ppt.c | 2001 uint8_t address, uint32_t numbytes, 2006 BUG_ON(numbytes > MAX_SW_I2C_COMMANDS); 2011 req->NumCmds = numbytes; 2013 for (i = 0; i < numbytes; i++) { 2027 cmd->CmdConfig |= (i == (numbytes - 1)) ? CMDCONFIG_STOP_MASK : 0; 2037 uint32_t numbytes) 2046 arcturus_fill_eeprom_i2c_req(&req, false, address, numbytes, data); 2058 for (i = 0; i < numbytes; i++) 2062 (uint16_t)address, numbytes); 2065 8, 1, data, numbytes, fals 2000 arcturus_fill_eeprom_i2c_req(SwI2cRequest_t *req, bool write, uint8_t address, uint32_t numbytes, uint8_t *data) argument 2034 arcturus_i2c_eeprom_read_data(struct i2c_adapter *control, uint8_t address, uint8_t *data, uint32_t numbytes) argument 2072 arcturus_i2c_eeprom_write_data(struct i2c_adapter *control, uint8_t address, uint8_t *data, uint32_t numbytes) argument [all...] |
/netbsd-current/sys/arch/mac68k/nubus/ |
H A D | cpi_nubus.c | 453 size_t numbytes; local 465 numbytes = uimin(CPI_BUFSIZE, uio->uio_resid); 467 uiomove(sc->sc_cp, numbytes, uio); 468 sc->sc_bufbytes = numbytes; 471 printf("\tQueuing %u bytes\n", numbytes);
|
/netbsd-current/sbin/atactl/ |
H A D | atactl.c | 1233 const uint8_t *bytes, size_t numbytes, 1240 for (i = 0, j = 0; i < numbytes; i += 2) { 1232 extract_string(char *buf, size_t bufmax, const uint8_t *bytes, size_t numbytes, int needswap) argument
|
/netbsd-current/external/gpl3/gdb.old/dist/binutils/ |
H A D | dlltool.c | 2150 bfd_size_type numbytes; 2159 numbytes = ftell (base_file); 2161 copy = xmalloc (numbytes); 2162 if (fread (copy, 1, numbytes, base_file) < numbytes) 2164 num_entries = numbytes / sizeof (bfd_vma); 2149 bfd_size_type numbytes; local
|
/netbsd-current/external/gpl3/binutils.old/dist/binutils/ |
H A D | dlltool.c | 2152 bfd_size_type numbytes; 2161 numbytes = ftell (base_file); 2163 copy = xmalloc (numbytes); 2164 if (fread (copy, 1, numbytes, base_file) < numbytes) 2166 num_entries = numbytes / sizeof (bfd_vma); 2151 bfd_size_type numbytes; local
|
/netbsd-current/external/gpl3/binutils/dist/binutils/ |
H A D | dlltool.c | 2205 bfd_size_type numbytes; 2214 numbytes = ftell (base_file); 2216 copy = xmalloc (numbytes); 2217 if (fread (copy, 1, numbytes, base_file) < numbytes) 2219 num_entries = numbytes / sizeof (bfd_vma); 2204 bfd_size_type numbytes; local
|
/netbsd-current/external/bsd/libarchive/dist/libarchive/ |
H A D | archive_read_support_format_tar.c | 77 char numbytes[12]; member in struct:gnu_sparse 1915 if (strcmp(key, "GNU.sparse.numbytes") == 0) { 2386 tar_atol(sparse->numbytes, sizeof(sparse->numbytes))) 2404 * number of blocks, and GNU.sparse.offset/GNU.sparse.numbytes to 2413 * This version replaced the offset/numbytes attributes with
|
/netbsd-current/usr.sbin/sysinst/ |
H A D | disks.c | 169 uint8_t *bytes, unsigned numbytes, 176 for (i = 0, j = 0; i < numbytes; i += 2) { 168 ata_extract_string(char *buf, size_t bufmax, uint8_t *bytes, unsigned numbytes, int needswap) argument
|