Searched refs:str_index (Results 1 – 7 of 7) sorted by relevance
| /freebsd-10-stable/sys/dev/nand/ |
| D | nandsim_log.c | 49 static int str_index = 0; variable 75 memset(&string[str_index], 0, NANDSIM_ENTRY_SIZE - str_index); in nandsim_log_close() 77 str_index = 0; in nandsim_log_close() 159 rest = NANDSIM_ENTRY_SIZE - str_index; in nandsim_log() 162 str_index += hdr_len; in nandsim_log() 168 str_index = hdr_len - rest; in nandsim_log() 170 rest = NANDSIM_ENTRY_SIZE - str_index; in nandsim_log() 173 str_index += len; in nandsim_log() 179 str_index = len - rest; in nandsim_log()
|
| /freebsd-10-stable/contrib/telnet/libtelnet/ |
| D | enc_des.c | 81 int str_index; member 504 stp->str_index = sizeof(Block); in fb64_stream_iv() 515 stp->str_index = sizeof(Block); in fb64_stream_key() 546 idx = stp->str_index; in cfb64_encrypt() 560 stp->str_index = idx; in cfb64_encrypt() 575 if (stp->str_index) in cfb64_decrypt() 576 --stp->str_index; in cfb64_decrypt() 580 idx = stp->str_index++; in cfb64_decrypt() 585 stp->str_index = 1; /* Next time will be 1 */ in cfb64_decrypt() 619 idx = stp->str_index; in ofb64_encrypt() [all …]
|
| /freebsd-10-stable/crypto/heimdal/appl/telnet/libtelnet/ |
| D | enc_des.c | 74 int str_index; member 505 stp->str_index = sizeof(DES_cblock); in fb64_stream_iv() 515 stp->str_index = sizeof(DES_cblock); in fb64_stream_key() 545 index = stp->str_index; in cfb64_encrypt() 559 stp->str_index = index; in cfb64_encrypt() 573 if (stp->str_index) in cfb64_decrypt() 574 --stp->str_index; in cfb64_decrypt() 578 index = stp->str_index++; in cfb64_decrypt() 583 stp->str_index = 1; /* Next time will be 1 */ in cfb64_decrypt() 617 index = stp->str_index; in ofb64_encrypt() [all …]
|
| /freebsd-10-stable/sbin/ldconfig/ |
| D | ldconfig.c | 401 int i, n, str_index = 0; in buildhints() local 463 bp->hi_namex = str_index; in buildhints() 464 strcpy(strtab + str_index, shp->name); in buildhints() 465 str_index += 1 + strlen(shp->name); in buildhints() 467 bp->hi_pathx = str_index; in buildhints() 468 strcpy(strtab + str_index, shp->path); in buildhints() 469 str_index += 1 + strlen(shp->path); in buildhints() 477 strcpy(strtab + str_index, dir_list); in buildhints() 478 str_index += 1 + strlen(dir_list); in buildhints() 481 if (str_index != strtab_sz) { in buildhints() [all …]
|
| /freebsd-10-stable/usr.sbin/usbconfig/ |
| D | dump.c | 449 dump_string_by_index(struct libusb20_device *pdev, uint8_t str_index) in dump_string_by_index() argument 459 if (str_index == 0) { in dump_string_by_index() 462 str_index, 0, pbuf, 256)) { in dump_string_by_index() 463 printf("STRING_0x%02x = <read error>\n", str_index); in dump_string_by_index() 465 printf("STRING_0x%02x = ", str_index); in dump_string_by_index() 476 str_index, pbuf, 256)) { in dump_string_by_index() 477 printf("STRING_0x%02x = <read error>\n", str_index); in dump_string_by_index() 479 printf("STRING_0x%02x = <%s>\n", str_index, pbuf); in dump_string_by_index()
|
| /freebsd-10-stable/lib/libusb/ |
| D | libusb20.c | 794 uint8_t str_index, uint16_t langid, void *ptr, uint16_t len) in libusb20_dev_req_string_sync() argument 818 req.wValue = (LIBUSB20_DT_STRING << 8) | str_index; in libusb20_dev_req_string_sync() 848 uint8_t str_index, void *ptr, uint16_t len) in libusb20_dev_req_string_simple_sync() argument 873 error = libusb20_dev_req_string_sync(pdev, str_index, in libusb20_dev_req_string_simple_sync()
|
| /freebsd-10-stable/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/ |
| D | ObjectFileELF.cpp | 717 uint32_t str_index = static_cast<uint32_t>(symbol.d_val); in ParseDependentModules() local 718 const char *lib_name = dynstr_data.PeekCStr(str_index); in ParseDependentModules()
|