Lines Matching refs:end
296 char *pos = buf, *end = buf + buf_size;
303 ret = os_snprintf(pos, end - pos, "%02x%c",
305 if (os_snprintf_error(end - pos, ret)) {
306 end[-1] = '\0';
320 char *pos = buf, *end = buf + buf_size;
325 ret = os_snprintf(pos, end - pos, uppercase ? "%02X" : "%02x",
327 if (os_snprintf_error(end - pos, ret)) {
328 end[-1] = '\0';
333 end[-1] = '\0';
478 char *end = txt + maxlen;
482 if (txt + 4 >= end)
514 txt += os_snprintf(txt, end - txt, "\\x%02x",
841 char *buf, *pos, *end;
854 end = buf + maxlen;
860 res = os_snprintf(pos, end - pos, "%s%u",
863 res = os_snprintf(pos, end - pos, "%s%u-%u",
866 if (os_snprintf_error(end - pos, res)) {
1026 const char *end, *token = str;
1040 end = token + 1;
1042 while (*end && !os_strchr(delim, *end))
1043 end++;
1045 *last = end;
1176 char *tmp, *res, *end;
1186 end = os_strchr(tmp, ' ');
1187 if (end)
1188 *end = '\0';
1190 end = os_strchr(tmp + 1, '"');
1191 if (!end) {
1196 end[1] = '\0';
1241 const char *pos, *end;
1250 end = os_strchr(pos, ' ');
1251 if (end)
1252 len = end - pos;
1266 * for clearing local stack variables at the end of a function. This is not
1268 * the pointer is pointing to memset and then end up optimizing the call out, so