Searched refs:strg (Results 1 - 6 of 6) sorted by relevance

/freebsd-9.3-release/usr.bin/xlint/lint1/
H A Dinit.c457 strg_t *strg; local
463 strg = tn->tn_strg;
471 if (!((strg->st_tspec == CHAR &&
473 (strg->st_tspec == WCHAR && t == WCHAR))) {
481 if (!((strg->st_tspec == CHAR &&
483 (strg->st_tspec == WCHAR && t == WCHAR))) {
497 len = strg->st_len;
H A Demit1.c482 outfstrg(strg_t *strg) argument
487 if (strg->st_tspec != CHAR)
490 cp = strg->st_cp;
H A Dlint1.h70 typedef struct strg { struct
H A Dtree.c333 getsnode(strg_t *strg) argument
338 len = strg->st_len;
343 n->tn_type = tincref(gettyp(strg->st_tspec), ARRAY);
348 n->tn_strg->st_tspec = strg->st_tspec;
351 if (strg->st_tspec == CHAR) {
353 (void)memcpy(n->tn_strg->st_cp, strg->st_cp, len + 1);
354 free(strg->st_cp);
357 (void)memcpy(n->tn_strg->st_wcp, strg->st_wcp,
359 free(strg->st_wcp);
361 free(strg);
[all...]
/freebsd-9.3-release/usr.bin/xlint/lint2/
H A Dread.c986 char *strg, *dst; local
991 if ((dst = strg = malloc(slen = 32)) == NULL)
1049 if (dst - strg == slen - 1) {
1050 if ((strg = realloc(strg, slen * 2)) == NULL)
1052 dst = strg + (slen - 1);
1062 return (strg);
/freebsd-9.3-release/usr.bin/xlint/xlint/
H A Dxlint.c258 * Returns a pointer to the last component of strg after delim.
259 * Returns strg if the string does not contain delim.
262 lbasename(const char *strg, int delim) argument
266 cp = cp1 = cp2 = strg;

Completed in 105 milliseconds