Lines Matching refs:current

529 	char **current;
536 current = *thisargv;
537 *current = NULL;
544 if (*current != NULL) {
546 current++;
547 if (*thisargv + argvlen == current) {
554 current = realloc(*thisargv,
556 if (current == NULL) {
560 *thisargv = current;
561 current += argvlen;
564 *current = NULL;
583 if (*current == NULL) {
584 *current = ibuf;
597 current = realloc(*thisargv, sizeof (char *) * (argvlen + 1));
598 if (current == NULL) {
602 *thisargv = current;
603 current[argvlen] = NULL;
1213 /* Use extv[0] as the "current working pointer". */
1872 print_lifetimes(FILE *file, time_t wallclock, struct sadb_lifetime *current,
1884 if (current != NULL &&
1885 current->sadb_lifetime_len != SADB_8TO64(sizeof (*current))) {
1888 SADB_64TO8(current->sadb_lifetime_len));
1913 if (current != NULL) {
1914 /* Express values as current values. */
1921 current->sadb_lifetime_bytes,
1922 bytecnt2out(current->sadb_lifetime_bytes, byte_str,
1924 current->sadb_lifetime_allocations);
1925 printsatime(file, current->sadb_lifetime_addtime,
1928 if (current->sadb_lifetime_usetime != 0) {
1929 printsatime(file, current->sadb_lifetime_usetime,
1961 if (current != NULL) {
1967 current->sadb_lifetime_bytes) ?
1969 current->sadb_lifetime_bytes : 0,
1971 current->sadb_lifetime_bytes) ?
1973 current->sadb_lifetime_bytes, byte_str,
1977 current->sadb_lifetime_usetime != 0)) {
1982 current->sadb_lifetime_addtime +
1990 current->sadb_lifetime_usetime != 0) {
1992 current->sadb_lifetime_usetime +
2041 if (current != NULL) {
2047 current->sadb_lifetime_bytes) ?
2049 current->sadb_lifetime_bytes : 0,
2051 current->sadb_lifetime_bytes) ?
2053 current->sadb_lifetime_bytes, byte_str,
2057 current->sadb_lifetime_usetime != 0)) {
2062 current->sadb_lifetime_addtime +
2070 current->sadb_lifetime_usetime != 0) {
2072 current->sadb_lifetime_usetime +
2642 uint64_t *current;
2653 current = (uint64_t *)(samsg + 1);
2654 while (current - buffer < samsg->sadb_msg_len) {
2657 ext = (struct sadb_ext *)current;
2662 "SA: "), (struct sadb_sa *)current);
2669 currentlt = (struct sadb_lifetime *)current;
2672 hardlt = (struct sadb_lifetime *)current;
2675 softlt = (struct sadb_lifetime *)current;
2678 idlelt = (struct sadb_lifetime *)current;
2683 (struct sadb_address *)current, ignore_nss);
2687 (struct sadb_address *)current, ignore_nss);
2691 (struct sadb_address *)current, ignore_nss);
2695 (struct sadb_address *)current, ignore_nss);
2699 "AKY: "), (struct sadb_key *)current);
2703 "EKY: "), (struct sadb_key *)current);
2707 (struct sadb_ident *)current);
2711 (struct sadb_ident *)current);
2715 (struct sadb_sens *)current, ignore_nss);
2719 (struct sadb_prop *)current);
2723 (struct sadb_supported *)current);
2727 (struct sadb_supported *)current);
2731 (struct sadb_spirange *)current);
2735 (struct sadb_prop *)current);
2739 (struct sadb_x_kmc *)current);
2743 (struct sadb_address *)current, ignore_nss);
2747 (struct sadb_address *)current, ignore_nss);
2751 (struct sadb_x_pair *)current);
2755 (struct sadb_sens *)current, ignore_nss);
2759 "RPL: "), (sadb_x_replay_ctr_t *)current);
2771 current += (lenbytes == 0) ?
2782 if (current - buffer != samsg->sadb_msg_len) {
3016 uint64_t *current;
3036 current = (uint64_t *)(samsg + 1);
3037 while (current - buffer < samsg->sadb_msg_len) {
3040 ext = (struct sadb_ext *)current;
3176 current += ext->sadb_ext_len;