Home
last modified time | relevance | path

Searched refs:base_len (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/cmd/du/
H A Ddu.c66 static size_t base_len = PATH_MAX + 1; /* # of chars for base */ variable
194 if ((base = (char *)calloc(base_len, sizeof (char))) == NULL) { in main()
219 while (base_len < (strlen(argv[optind]) + 1)) { in main()
220 base_len = base_len * 2; in main()
221 if ((base = (char *)realloc(base, base_len * in main()
232 if (base_len > name_len) { in main()
233 name_len = base_len; in main()
466 while ((offset + strlen(dp->d_name) + 2) > base_len) { in descend()
467 base_len = base_len * 2; in descend()
469 base_len * sizeof (char))) == NULL) { in descend()
/titanic_41/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftDH.c95 uint32_t base_len = sizeof (base); in soft_dh_genkey_pair() local
142 rv = soft_get_public_value(pubkey, CKA_BASE, base, &base_len); in soft_dh_genkey_pair()
151 k.base_bytes = base_len; in soft_dh_genkey_pair()
H A DsoftDSA.c472 uint32_t base_len = sizeof (base); in soft_dsa_genkey_pair() local
497 rv = soft_get_public_value(pubkey, CKA_BASE, base, &base_len); in soft_dsa_genkey_pair()
509 k.base_bytes = base_len; in soft_dsa_genkey_pair()
/titanic_41/usr/src/uts/intel/io/pci/
H A Dpci_resource.c395 ushort_t ebda_seg, base_size, ext_len, base_len, base_end_seg; in mps_probe() local
436 base_len = ctp->ct_len; in mps_probe()
437 if (checksum((uchar_t *)ctp, base_len) != 0) { in mps_probe()
449 extp = (uchar_t *)ctp + base_len; in mps_probe()
/titanic_41/usr/src/cmd/geniconvtbl/
H A Ditmcomp.c562 size_t base_len; in prog_path_expand() local
568 base_len = strlen(base_name); in prog_path_expand()
588 if ((dir_len + base_len) < MAXPATHLEN) { in prog_path_expand()
589 (void) memcpy(path + dir_len, base_name, base_len + 1); in prog_path_expand()
/titanic_41/usr/src/uts/sun4v/os/
H A Dmach_cpu_states.c121 size_t base_len = 0; in store_boot_cmd() local
148 base_len = strlen(BOOT_CMD_BASE); in store_boot_cmd()
149 len = base_len + 1; in store_boot_cmd()
164 (void) strncpy(&cmd_buf[base_len], args, args_len); in store_boot_cmd()