Lines Matching +full:128 +full:- +full:character
1 // SPDX-License-Identifier: GPL-2.0-or-later
57 memcpy(d, s, len - 1);
58 d[len - 1] = '\0';
65 int n, size = 0; /* start with 128 bytes */
120 if ((lenp > 0) && (path[lenp-1] == '/')) {
122 len--;
145 if (s[len - 1] != '\0')
166 * Parse a octal encoded character starting at index i in string s. The
167 * resulting character will be returned and the index i will be updated to
168 * point at the character directly after the end of the encoding, this may be
184 (*i) += endx - x;
189 * Parse a hexadecimal encoded character starting at index i in string s. The
190 * resulting character will be returned and the index i will be updated to
191 * point at the character directly after the end of the encoding, this may be
207 (*i) += endx - x;
247 j--; /* need to re-read the first digit as
270 if (strcmp(filename, "-") != 0) {
285 ret = read(fd, &buf[offset], bufsize - offset);
326 if (strcmp(filename, "-") != 0) {
336 ret = write(fd, ptr + offset, totalsize - offset);
338 ret = -errno;
346 return ret < 0 ? -ret : 0;
358 return ret ? -1 : 0;
366 return -1;
369 *size = -1;
384 return -1;
390 qualifier == 'l' ? 4 : -1;
395 return -1;
425 i < (len - 1) ? " " : "");
431 printf("%02x%s", *p++, i < len - 1 ? " " : "");
456 "Options: -[%s]\n", synopsis, short_opts);
458 /* prescan the --long opt length to auto-align */
461 /* +1 is for space between --opt and help text */
477 fprintf(fp, " -%c, ", long_opts[i].val);
481 fprintf(fp, "--%-*s", optlen, long_opts[i].name);
483 fprintf(fp, "--%s %s%*s", long_opts[i].name, a_arg,
484 (int)(optlen - strlen(long_opts[i].name) - a_arg_len), "");