Searched refs:oldch (Results 1 – 2 of 2) sorted by relevance
5163 char *oldch = NULL; in iscsi_get_name_from_iqn() local5168 for (oldch = &name[0], newch = &tmp[0]; *oldch != '\0'; in iscsi_get_name_from_iqn()5169 oldch++, newch++) { in iscsi_get_name_from_iqn()5170 switch (*oldch) { in iscsi_get_name_from_iqn()5192 *newch = *oldch; in iscsi_get_name_from_iqn()5207 char *oldch = NULL; in iscsi_get_name_to_iqn() local5212 for (oldch = &name[0], newch = &tmp[0]; *oldch != '\0'; in iscsi_get_name_to_iqn()5213 oldch++, newch++) { in iscsi_get_name_to_iqn()5214 if (*oldch == '%') { in iscsi_get_name_to_iqn()5215 switch (*(oldch+1)) { in iscsi_get_name_to_iqn()[all …]
1835 size_t oldch, newch; in roff_setstrn() local1871 oldch = 0; in roff_setstrn()1873 oldch = n->val.sz; in roff_setstrn()1874 n->val.p = mandoc_realloc(n->val.p, oldch + newch); in roff_setstrn()1878 c = n->val.p + (int)oldch; in roff_setstrn()