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

/freebsd-11-stable/usr.bin/xlint/lint1/
H A Dinit.c598 strg_t *strg; local
604 strg = tn->tn_strg;
612 if (!((strg->st_tspec == CHAR &&
614 (strg->st_tspec == WCHAR && t == WCHAR))) {
622 if (!((strg->st_tspec == CHAR &&
624 (strg->st_tspec == WCHAR && t == WCHAR))) {
638 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.c352 getsnode(strg_t *strg) argument
357 len = strg->st_len;
362 n->tn_type = tincref(gettyp(strg->st_tspec), ARRAY);
367 n->tn_strg->st_tspec = strg->st_tspec;
370 if (strg->st_tspec == CHAR) {
372 (void)memcpy(n->tn_strg->st_cp, strg->st_cp, len + 1);
373 free(strg->st_cp);
376 (void)memcpy(n->tn_strg->st_wcp, strg->st_wcp,
378 free(strg->st_wcp);
380 free(strg);
[all...]
/freebsd-11-stable/usr.bin/xlint/lint2/
H A Dread.c989 char *strg, *dst; local
994 if ((dst = strg = malloc(slen = 32)) == NULL)
1052 if (dst - strg == slen - 1) {
1053 if ((strg = realloc(strg, slen * 2)) == NULL)
1055 dst = strg + (slen - 1);
1065 return (strg);
/freebsd-11-stable/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 70 milliseconds