Lines Matching refs:len
113 size_t len;
146 len = msgstr_len - (p - msgstr);
147 p = memchr(p, '\0', len);
177 size_t len;
212 len = q - p;
213 if (len > 0) {
214 charset = malloc(len + 1);
221 (void) memcpy(charset, p, len);
222 charset[len] = '\0';
423 SWAP(gmnp, msgstr_tbl[idx].len) + 1;
448 mlen = SWAP(gmnp, msgid_tbl[idx].len);
457 mlen = gmnp->d_msg[MSGID][idx].len;
469 *msgstrlen = SWAP(gmnp, msgstr_tbl[idx].len) + 1;
473 *msgstrlen = gmnp->d_msg[MSGSTR][idx].len + 1;
867 * to the macro name specified in 'name'. 'len' contains the
873 conv_macro(const char *str, uint32_t len, uint32_t *lenp)
880 if (len == 2) {
889 if (len <= 4 || strncmp(str, "PRI", 3) != 0)
972 maclen = SWAP(p, d_macro_tbl[i].len);
987 d_macro[i].len = e_maclen;
1036 mlen = SWAP(p, entry->len);
1039 d_macro[didx].len;
1076 * e_msgs[][].len does not include a null termination
1078 e_msgs[i][j].len = used - e_msgs[i][j].offset - 1;