Home
last modified time | relevance | path

Searched refs:tmp_ptr (Results 1 – 17 of 17) sorted by relevance

/illumos-gate/usr/src/cmd/rmformat/
H A Drmf_main.c78 char *tmp_ptr; in main() local
118 tmp_ptr = strdup(optarg); in main()
120 repair_blk_no = my_atoll(tmp_ptr); in main()
122 free(tmp_ptr); in main()
127 free(tmp_ptr); in main()
140 tmp_ptr = strdup(optarg); in main()
141 if (strcmp(tmp_ptr, "quick") == 0) { in main()
144 } else if (strcmp(tmp_ptr, "long") == 0) { in main()
147 } else if (strcmp(tmp_ptr, "force") == 0) { in main()
151 free(tmp_ptr); in main()
[all …]
H A Drmf_misc.c710 char *tmp_ptr = ptr; in my_atoll() local
714 while (*tmp_ptr) { in my_atoll()
715 if (isdigit(*tmp_ptr)) in my_atoll()
716 tmp_ptr++; in my_atoll()
722 tmp_ptr = ptr; in my_atoll()
724 if (strlen(tmp_ptr) < 3) { in my_atoll()
727 if (*tmp_ptr++ != '0' || (*tmp_ptr != 'x' && *tmp_ptr != 'X')) { in my_atoll()
730 tmp_ptr++; in my_atoll()
731 while (*tmp_ptr) { in my_atoll()
732 if (isxdigit(*tmp_ptr)) in my_atoll()
[all …]
/illumos-gate/usr/src/cmd/luxadm/
H A Dfabric_conf.c95 char *tmp_ptr, *mmap_ptr; in read_repos_file() local
126 tmp_ptr = mmap_ptr = mmap((caddr_t)0, filesize, in read_repos_file()
137 line = tmp_ptr; in read_repos_file()
138 while (bytes_read < filesize && *tmp_ptr != '\n') { in read_repos_file()
140 tmp_ptr++; in read_repos_file()
142 if (*tmp_ptr == '\n') { in read_repos_file()
143 *tmp_ptr = '\0'; in read_repos_file()
144 tmp_ptr++; in read_repos_file()
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_parse_hdrs.c786 char *tmp_ptr; in sip_parse_rack() local
840 tmp_ptr = sip_header->sip_hdr_current; in sip_parse_rack()
847 len = sip_header->sip_hdr_current - tmp_ptr; in sip_parse_rack()
850 if (strncmp(sip_methods[i].name, tmp_ptr, len) == 0) in sip_parse_rack()
1062 char *tmp_ptr; in sip_parse_cseq_header() local
1101 tmp_ptr = sip_header->sip_hdr_current; in sip_parse_cseq_header()
1109 len = sip_header->sip_hdr_current - tmp_ptr; in sip_parse_cseq_header()
1112 if (strncmp(sip_methods[i].name, tmp_ptr, len) == 0) in sip_parse_cseq_header()
1414 char *tmp_ptr; in sip_parse_cftr_header() local
1455 tmp_ptr = sip_header->sip_hdr_current; in sip_parse_cftr_header()
[all …]
H A Dsip_parse_generic.c230 char *tmp_ptr; in sip_parse_params() local
268 tmp_ptr = sip_header->sip_hdr_current; in sip_parse_params()
269 param->param_name.sip_str_ptr = tmp_ptr; in sip_parse_params()
274 sip_header->sip_hdr_current - tmp_ptr; in sip_parse_params()
284 sip_header->sip_hdr_current - tmp_ptr; in sip_parse_params()
316 tmp_ptr = sip_header->sip_hdr_current; in sip_parse_params()
325 tmp_ptr; in sip_parse_params()
H A Dsip_ui.c839 char *tmp_ptr; in sip_add_param() local
886 tmp_ptr = new_header->sip_hdr_end; in sip_add_param()
887 while (*tmp_ptr-- != '\n') { in sip_add_param()
889 if (tmp_ptr == new_header->sip_hdr_start) { in sip_add_param()
898 (void) snprintf(tmp_ptr, hdrlen + 1, in sip_add_param()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dcommon.c129 char *prcp, *tmp_ptr; in qstring() local
144 tmp_ptr = strchr("\\\\\nn\rr\tt\bb\aa\ff", c); in qstring()
145 if (tmp_ptr != NULL) in qstring()
146 *prcp++ = tmp_ptr[1]; in qstring()
H A Drtquery.c119 char *p, *tmp_ptr, *options, *value, delim; in main() local
259 tmp_ptr = p+1; in main()
262 p == tmp_ptr) in main()
/illumos-gate/usr/src/cmd/bart/
H A Drules.c617 struct dir_component *tmp_ptr; in add_subtree_rule() local
727 tmp_ptr = current_level; in add_subtree_rule()
729 free(tmp_ptr); in add_subtree_rule()
740 tmp_ptr = current_level; in add_subtree_rule()
780 dirs_cleanup(tmp_ptr); in add_subtree_rule()
/illumos-gate/usr/src/uts/common/io/1394/
H A Dh1394.c758 uchar_t *tmp_ptr; in h1394_read_request() local
851 tmp_ptr = req->cmd_u.b.data_block->b_datap->db_lim; in h1394_read_request()
852 if (end_ptr <= tmp_ptr) { in h1394_read_request()
940 uchar_t *tmp_ptr; in h1394_write_request() local
1051 tmp_ptr = req->cmd_u.b.data_block->b_wptr; in h1394_write_request()
1052 if (end_ptr <= tmp_ptr) { in h1394_write_request()
/illumos-gate/usr/src/uts/intel/io/acpica/
H A Dosl.c522 ACPI_SIZE *tmp_ptr; in AcpiOsAllocate() local
525 tmp_ptr = (ACPI_SIZE *)kmem_zalloc(Size, KM_SLEEP); in AcpiOsAllocate()
526 *tmp_ptr++ = Size; in AcpiOsAllocate()
527 return (tmp_ptr); in AcpiOsAllocate()
533 ACPI_SIZE size, *tmp_ptr; in AcpiOsFree() local
535 tmp_ptr = (ACPI_SIZE *)Memory; in AcpiOsFree()
536 tmp_ptr -= 1; in AcpiOsFree()
537 size = *tmp_ptr; in AcpiOsFree()
538 kmem_free(tmp_ptr, size); in AcpiOsFree()
/illumos-gate/usr/src/cmd/fruadm/
H A Dfruadm.c289 char **tmp_ptr; in print_node_data() local
300 tmp_ptr = ptr; in print_node_data()
303 ptr = tmp_ptr; in print_node_data()
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dinstvol.c1054 char *tmp_ptr; in domerg() local
1055 tmp_ptr = extlist[i]->map_path; in domerg()
1063 tmp_ptr, in domerg()
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dvplat.c1592 struct zone_fstab *fsp, *tmp_ptr; in plat_gmount_cb() local
1595 if ((tmp_ptr = realloc(fs_ptr, num_fs * sizeof (*tmp_ptr))) == NULL) { in plat_gmount_cb()
1600 fs_ptr = tmp_ptr; in plat_gmount_cb()
1626 struct zone_fstab *tmp_ptr, *fs_ptr, *fsp, fstab; in mount_filesystems_fsent() local
1647 if ((tmp_ptr = realloc(fs_ptr, in mount_filesystems_fsent()
1648 num_fs * sizeof (*tmp_ptr))) == NULL) { in mount_filesystems_fsent()
1654 *fs_tabp = tmp_ptr; in mount_filesystems_fsent()
1657 fs_ptr = tmp_ptr; in mount_filesystems_fsent()
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/serengeti/common/
H A Dserengeti.c2084 char tmp_ptr[2]; in get_slot_name() local
2088 (void) sprintf(tmp_ptr, "%c", in get_slot_name()
2090 switch (tmp_ptr[0]) { in get_slot_name()
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_mem.c1864 sbdp_bank_t *tmp_ptr; in sbdp_swap_list_of_banks() local
1869 tmp_ptr = bdp1->banks; in sbdp_swap_list_of_banks()
1871 bdp2->banks = tmp_ptr; in sbdp_swap_list_of_banks()
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.c6153 char *tmp_ptr; in rstfiles() local
6156 tmp_ptr = Fullnam_p; in rstfiles()
6159 tmp_ptr = G_p->g_nam_p; in rstfiles()
6162 Over_p = tmp_ptr; in rstfiles()
6199 char *tmp_ptr; in rstfiles() local
6205 tmp_ptr = Fullnam_p; in rstfiles()
6207 Over_p = tmp_ptr; in rstfiles()
6220 tmp_ptr = G_p->g_nam_p; in rstfiles()
6222 Over_p = tmp_ptr; in rstfiles()