len 675 daemons/controld/controld_cib.c if ((list != NULL) && (list->len > 0)) { len 53 include/crm/common/options_internal.h int len, const char *name); len 58 include/crm/common/options_internal.h int len); len 62 include/crm/common/options_internal.h int len); len 63 include/crm/common/util_compat.h char *crm_itoa_stack(int an_int, char *buf, size_t len); len 158 include/crm/common/util_compat.h char *score2char_stack(int score, char *buf, size_t len); len 64 include/portability.h char *strndup(const char *str, size_t len); len 429 lib/cib/cib_ops.c int last = 0, lpc = 0, len = 0; len 431 lib/cib/cib_ops.c len = strlen(replace); len 432 lib/cib/cib_ops.c while (lpc <= len) { len 357 lib/common/cmdline.c int len = 0; len 364 lib/common/cmdline.c len = vasprintf(&buf, format, ap); len 365 lib/common/cmdline.c CRM_ASSERT(len > 0); len 71 lib/common/digest.c CRM_CHECK(buffer->len > 0, free_xml(copy); len 255 lib/common/digest.c int lpc = 0, len = 0; len 262 lib/common/digest.c len = strlen(buffer); len 264 lib/common/digest.c crm_trace("Beginning digest of %d bytes", len); len 267 lib/common/digest.c md5_buffer(buffer, len, raw_digest); len 47 lib/common/io.c int offset = 1, len = 0; len 54 lib/common/io.c for (len = strlen(path); offset < len; offset++) { len 227 lib/common/md5.c md5_buffer (const char *buffer, size_t len, void *resblock) len 235 lib/common/md5.c md5_process_bytes (buffer, len, &ctx); len 243 lib/common/md5.c md5_process_bytes (const void *buffer, size_t len, struct md5_ctx *ctx) len 250 lib/common/md5.c size_t add = 128 - left_over > len ? len : 128 - left_over; len 268 lib/common/md5.c len -= add; len 272 lib/common/md5.c if (len >= 64) len 277 lib/common/md5.c while (len > 64) len 281 lib/common/md5.c len -= 64; len 286 lib/common/md5.c md5_process_block (buffer, len & ~63, ctx); len 287 lib/common/md5.c buffer = (const char *) buffer + (len & ~63); len 288 lib/common/md5.c len &= 63; len 293 lib/common/md5.c if (len > 0) len 297 lib/common/md5.c memcpy (&((char *) ctx->buffer)[left_over], buffer, len); len 298 lib/common/md5.c left_over += len; len 328 lib/common/md5.c md5_process_block (const void *buffer, size_t len, struct md5_ctx *ctx) len 332 lib/common/md5.c size_t nwords = len / sizeof (uint32_t); len 338 lib/common/md5.c uint32_t lolen = len; len 344 lib/common/md5.c ctx->total[1] += (len >> 31 >> 1) + (ctx->total[0] < lolen); len 339 lib/common/options.c int len, const char *name) len 343 lib/common/options.c for (int lpc = 0; lpc < len; lpc++) { len 415 lib/common/options.c pcmk__cluster_option_t *option_list, int len) len 431 lib/common/options.c for (int lpc = 0; lpc < len; lpc++) { len 489 lib/common/options.c pcmk__cluster_option_t *option_list, int len) len 491 lib/common/options.c for (int lpc = 0; lpc < len; lpc++) { len 259 lib/common/output_html.c int len = 0; len 267 lib/common/output_html.c len = vasprintf(&buf, format, ap); len 268 lib/common/output_html.c CRM_ASSERT(len >= 0); len 313 lib/common/output_html.c int len; len 316 lib/common/output_html.c len = vasprintf(&buf, format, ap); len 318 lib/common/output_html.c CRM_ASSERT(len >= 0); len 339 lib/common/output_html.c int len; len 344 lib/common/output_html.c len = vasprintf(&buf, format, ap); len 345 lib/common/output_html.c CRM_ASSERT(len >= 0); len 111 lib/common/output_log.c int len = 0; len 119 lib/common/output_log.c len = vasprintf(&buffer, format, ap); len 120 lib/common/output_log.c CRM_ASSERT(len >= 0); len 146 lib/common/output_log.c int len = 0; len 155 lib/common/output_log.c len = vasprintf(&buffer, format, ap); len 156 lib/common/output_log.c CRM_ASSERT(len >= 0); len 172 lib/common/output_log.c int len = 0; len 191 lib/common/output_log.c len = vasprintf(&buffer, format, ap); len 192 lib/common/output_log.c CRM_ASSERT(len >= 0); len 233 lib/common/output_log.c int len = 0; len 241 lib/common/output_log.c len = vasprintf(&buffer, format, ap); len 242 lib/common/output_log.c CRM_ASSERT(len >= 0); len 256 lib/common/output_log.c int len = 0; len 264 lib/common/output_log.c len = vasprintf(&buffer, format, ap); len 265 lib/common/output_log.c CRM_ASSERT(len >= 0); len 29 lib/common/output_text.c unsigned int len; len 126 lib/common/output_text.c int len = 0; len 135 lib/common/output_text.c len = vfprintf(stderr, format, ap); len 136 lib/common/output_text.c CRM_ASSERT(len >= 0); len 147 lib/common/output_text.c int len = 0; len 160 lib/common/output_text.c len = vfprintf(out->dest, format, ap); len 161 lib/common/output_text.c CRM_ASSERT(len >= 0); len 203 lib/common/output_text.c new_list->len = 0; len 251 lib/common/output_text.c ((text_list_data_t *) tail)->len++; len 265 lib/common/output_text.c if (node->len == 1) { len 266 lib/common/output_text.c pcmk__indented_printf(out, "%d %s found\n", node->len, node->singular_noun); len 268 lib/common/output_text.c pcmk__indented_printf(out, "%d %s found\n", node->len, node->plural_noun); len 342 lib/common/output_text.c int len = 0; len 347 lib/common/output_text.c len = vfprintf(out->dest, format, args); len 348 lib/common/output_text.c CRM_ASSERT(len >= 0); len 260 lib/common/output_xml.c int len = 0; len 268 lib/common/output_xml.c len = vasprintf(&buf, format, ap); len 269 lib/common/output_xml.c CRM_ASSERT(len > 0); len 300 lib/common/output_xml.c int len; len 305 lib/common/output_xml.c len = vasprintf(&buf, format, ap); len 306 lib/common/output_xml.c CRM_ASSERT(len >= 0); len 340 lib/common/output_xml.c int len; len 345 lib/common/output_xml.c len = vasprintf(&buf, format, ap); len 346 lib/common/output_xml.c CRM_ASSERT(len >= 0); len 898 lib/common/remote.c socklen_t len = sizeof(error); len 900 lib/common/remote.c if (getsockopt(cb_data->sock, SOL_SOCKET, SO_ERROR, &error, &len) < 0) { len 949 lib/common/results.c int len = 0; len 961 lib/common/results.c len = vasprintf(&reason, format, ap); len 962 lib/common/results.c CRM_ASSERT(len > 0); len 157 lib/common/scores.c score2char_stack(int score, char *buf, size_t len) len 159 lib/common/scores.c CRM_CHECK((buf != NULL) && (len >= sizeof(CRM_MINUS_INFINITY_S)), len 458 lib/common/strings.c int len; len 464 lib/common/strings.c for (len = strlen(str) - 1; len >= 0 && str[len] == '\n'; len--) { len 465 lib/common/strings.c str[len] = '\0'; len 720 lib/common/strings.c if ((*list)->len == 0) { len 799 lib/common/strings.c int len = 0; len 803 lib/common/strings.c len = vasprintf (&string, format, ap); len 804 lib/common/strings.c CRM_ASSERT(len > 0); len 1276 lib/common/strings.c crm_itoa_stack(int an_int, char *buffer, size_t len) len 1279 lib/common/strings.c snprintf(buffer, len, "%d", an_int); len 23 lib/common/tests/procfs/pcmk__procfs_pid2path_test.c size_t len = PATH_MAX; len 24 lib/common/tests/procfs/pcmk__procfs_pid2path_test.c char *path = calloc(len, sizeof(char)); len 31 lib/common/tests/procfs/pcmk__procfs_pid2path_test.c expect_value(__wrap_readlink, bufsize, len - 1); len 35 lib/common/tests/procfs/pcmk__procfs_pid2path_test.c assert_int_equal(pcmk__procfs_pid2path(1000, path, len), ENOENT); len 45 lib/common/tests/procfs/pcmk__procfs_pid2path_test.c size_t len = 10; len 46 lib/common/tests/procfs/pcmk__procfs_pid2path_test.c char *path = calloc(len, sizeof(char)); len 53 lib/common/tests/procfs/pcmk__procfs_pid2path_test.c expect_value(__wrap_readlink, bufsize, len - 1); len 57 lib/common/tests/procfs/pcmk__procfs_pid2path_test.c assert_int_equal(pcmk__procfs_pid2path(1000, path, len), len 68 lib/common/tests/procfs/pcmk__procfs_pid2path_test.c size_t len = PATH_MAX; len 69 lib/common/tests/procfs/pcmk__procfs_pid2path_test.c char *path = calloc(len, sizeof(char)); len 76 lib/common/tests/procfs/pcmk__procfs_pid2path_test.c expect_value(__wrap_readlink, bufsize, len - 1); len 80 lib/common/tests/procfs/pcmk__procfs_pid2path_test.c assert_int_equal(pcmk__procfs_pid2path((pid_t) 1000, path, len), len 24 lib/common/tests/strings/pcmk__compress_test.c unsigned int len; len 26 lib/common/tests/strings/pcmk__compress_test.c assert_int_equal(pcmk__compress(SIMPLE_DATA, 40, 0, &result, &len), pcmk_rc_ok); len 34 lib/common/tests/strings/pcmk__compress_test.c unsigned int len; len 36 lib/common/tests/strings/pcmk__compress_test.c assert_int_equal(pcmk__compress(SIMPLE_DATA, 40, 10, &result, &len), pcmk_rc_error); len 42 lib/common/tests/strings/pcmk__compress_test.c unsigned int len; len 49 lib/common/tests/strings/pcmk__compress_test.c pcmk__compress(SIMPLE_DATA, 40, 0, &result, &len); len 875 lib/common/xml.c int len = strlen(input); len 878 lib/common/xml.c while(lpc < len) { len 1119 lib/common/xml.c int len = 0; len 1124 lib/common/xml.c len = vasprintf(&id, format, ap); len 1126 lib/common/xml.c CRM_ASSERT(len > 0); len 1629 lib/common/xml.c (long long) buffer->len, next - now); len 2119 lib/fencing/st_client.c parse_list_line(const char *line, int len, GList **output) len 2134 lib/fencing/st_client.c for (i = 0; i <= len; i++) { len 2218 lib/fencing/st_client.c int len = i - line_start; len 2220 lib/fencing/st_client.c if (len > 0) { len 2221 lib/fencing/st_client.c char *line = strndup(target_spec + line_start, len); len 2223 lib/fencing/st_client.c line[len] = '\0'; // Because it might be a newline len 2224 lib/fencing/st_client.c parse_list_line(line, len, &targets); len 154 lib/fencing/st_lha.c int len = 0; len 159 lib/fencing/st_lha.c len = vasprintf (&string, format, ap); len 161 lib/fencing/st_lha.c CRM_ASSERT(len > 0); len 84 lib/gnu/gl_openssl.h GL_CRYPTO_FN (_process_bytes) (const void *buf, size_t len, struct _gl_ctx *ctx) len 85 lib/gnu/gl_openssl.h { OPENSSL_FN (_Update) ((_gl_CTX *) ctx, buf, len); } len 88 lib/gnu/gl_openssl.h GL_CRYPTO_FN (_process_block) (const void *buf, size_t len, struct _gl_ctx *ctx) len 89 lib/gnu/gl_openssl.h { GL_CRYPTO_FN (_process_bytes) (buf, len, ctx); } len 97 lib/gnu/gl_openssl.h GL_CRYPTO_FN (_buffer) (const char *buf, size_t len, void *restrict res) len 98 lib/gnu/gl_openssl.h { return OPENSSL_FN () ((const unsigned char *) buf, len, (unsigned char *) res); } len 227 lib/gnu/md5.c md5_buffer (const char *buffer, size_t len, void *resblock) len 235 lib/gnu/md5.c md5_process_bytes (buffer, len, &ctx); len 243 lib/gnu/md5.c md5_process_bytes (const void *buffer, size_t len, struct md5_ctx *ctx) len 250 lib/gnu/md5.c size_t add = 128 - left_over > len ? len : 128 - left_over; len 268 lib/gnu/md5.c len -= add; len 272 lib/gnu/md5.c if (len >= 64) len 277 lib/gnu/md5.c while (len > 64) len 281 lib/gnu/md5.c len -= 64; len 286 lib/gnu/md5.c md5_process_block (buffer, len & ~63, ctx); len 287 lib/gnu/md5.c buffer = (const char *) buffer + (len & ~63); len 288 lib/gnu/md5.c len &= 63; len 293 lib/gnu/md5.c if (len > 0) len 297 lib/gnu/md5.c memcpy (&((char *) ctx->buffer)[left_over], buffer, len); len 298 lib/gnu/md5.c left_over += len; len 328 lib/gnu/md5.c md5_process_block (const void *buffer, size_t len, struct md5_ctx *ctx) len 332 lib/gnu/md5.c size_t nwords = len / sizeof (uint32_t); len 338 lib/gnu/md5.c uint32_t lolen = len; len 344 lib/gnu/md5.c ctx->total[1] += (len >> 31 >> 1) + (ctx->total[0] < lolen); len 94 lib/gnu/md5.h extern void __md5_process_block (const void *buffer, size_t len, len 101 lib/gnu/md5.h extern void __md5_process_bytes (const void *buffer, size_t len, len 123 lib/gnu/md5.h extern void *__md5_buffer (const char *buffer, size_t len, len 116 lib/pacemaker/pcmk_output.c int len = 0; len 133 lib/pacemaker/pcmk_output.c len = strlen(rsc->id); len 134 lib/pacemaker/pcmk_output.c if(len > rsc_width) { len 135 lib/pacemaker/pcmk_output.c rsc_width = len + 2; len 204 lib/pacemaker/pcmk_output.c len = strlen(details); len 205 lib/pacemaker/pcmk_output.c if(len > detail_width) { len 206 lib/pacemaker/pcmk_output.c detail_width = len; len 2228 lib/pacemaker/pcmk_output.c int len = (int) strlen(pcmk_rc_name(pcmk_rc_error - lpc)); len 2229 lib/pacemaker/pcmk_output.c name_width = QB_MAX(name_width, len); len 1029 lib/pengine/clone.c if ((list_text != NULL) && (list_text->len > 0)) { len 1052 lib/pengine/clone.c if ((list_text != NULL) && (list_text->len > 0)) { len 1140 lib/pengine/clone.c if (nodes_str->len > 0) { len 562 lib/pengine/rules.c size_t len = 0; len 578 lib/pengine/rules.c len += p - last_match_index + (match_data->pmatch[i].rm_eo - match_data->pmatch[i].rm_so); len 585 lib/pengine/rules.c len += p - last_match_index + 1; len 588 lib/pengine/rules.c if (len - 1 <= 0) { len 592 lib/pengine/rules.c p_dst = result = calloc(1, len); len 1305 lib/services/services.c int len = 0; len 1317 lib/services/services.c len = vasprintf(&reason, format, ap); len 1318 lib/services/services.c CRM_ASSERT(len > 0); len 260 lib/services/services_linux.c int rc = 0, len = 0; len 271 lib/services/services_linux.c len = strlen(op->stderr_data); len 273 lib/services/services_linux.c crm_trace("Reading %s stderr into offset %d", op->id, len); len 276 lib/services/services_linux.c len = strlen(op->stdout_data); len 278 lib/services/services_linux.c crm_trace("Reading %s stdout into offset %d", op->id, len); len 281 lib/services/services_linux.c crm_trace("Reading %s %s into offset %d", op->id, is_stderr?"stderr":"stdout", len); len 289 lib/services/services_linux.c data = pcmk__realloc(data, len + rc + 1); len 290 lib/services/services_linux.c len += sprintf(data + len, "%s", buf); len 448 lib/services/services_linux.c int ret, total = 0, len = strlen(buffer); len 452 lib/services/services_linux.c ret = write(op->opaque->stdin_fd, buffer + total, len - total); len 457 lib/services/services_linux.c } while ((errno == EINTR) && (total < len)); len 171 lib/services/upstart.c int len, lpc; len 179 lib/services/upstart.c len = strlen(match) - shuffle; len 180 lib/services/upstart.c for (lpc = 1; lpc <= len; lpc++) { len 172 libltdl/loaders/dlopen.c int len = LT_STRLEN (filename); len 198 libltdl/loaders/dlopen.c if (len >= 4) /* at least "l(m)" */ len 202 libltdl/loaders/dlopen.c if (filename[len-1] == ')') len 205 libltdl/loaders/dlopen.c if (opening && opening < (filename+len-2) && strchr(opening+1, '/') == NULL) len 214 libltdl/loaders/dlopen.c if (!module && len && !(module_flags & RTLD_MEMBER) && errno == ENOEXEC) len 222 libltdl/loaders/dlopen.c char *attempt = MALLOC (char, len + strlen (member) + 1); len 140 libltdl/loaders/loadlibrary.c size_t len; len 151 libltdl/loaders/loadlibrary.c len = LT_STRLEN (filename); len 153 libltdl/loaders/loadlibrary.c if (len >= MAX_PATH) len 165 libltdl/loaders/loadlibrary.c len = 0; len 168 libltdl/loaders/loadlibrary.c len = 0; len 178 libltdl/loaders/loadlibrary.c if (!len) len 179 libltdl/loaders/loadlibrary.c len = strlen (wpath); len 181 libltdl/loaders/loadlibrary.c if (len + 1 >= MAX_PATH) len 187 libltdl/loaders/loadlibrary.c wpath[len] = '.'; len 188 libltdl/loaders/loadlibrary.c wpath[len+1] = '\0'; len 287 libltdl/loaders/loadlibrary.c size_t len; len 300 libltdl/loaders/loadlibrary.c len = LT_STRLEN (error_message); len 301 libltdl/loaders/loadlibrary.c if (len && error_message[len - 1] == '\n') len 302 libltdl/loaders/loadlibrary.c error_message[--len] = LT_EOS_CHAR; len 303 libltdl/loaders/loadlibrary.c if (len && error_message[len - 1] == '\r') len 304 libltdl/loaders/loadlibrary.c error_message[--len] = LT_EOS_CHAR; len 306 libltdl/loaders/loadlibrary.c return len ? error_message : default_errmsg; len 1009 libltdl/ltdl.c size_t len = LT_STRLEN (str); len 1017 libltdl/ltdl.c if (len > 3 && str[0] == '\'') len 64 maint/gnulib/lib/af_alg.c afalg_buffer (const char *buffer, size_t len, const char *alg, len 71 maint/gnulib/lib/af_alg.c if (len == 0) len 82 maint/gnulib/lib/af_alg.c ssize_t size = (len > BLOCKSIZE ? BLOCKSIZE : len); len 89 maint/gnulib/lib/af_alg.c len -= size; len 90 maint/gnulib/lib/af_alg.c if (len == 0) len 61 maint/gnulib/lib/af_alg.h afalg_buffer (const char *buffer, size_t len, const char *alg, len 96 maint/gnulib/lib/af_alg.h afalg_buffer (const char *buffer, size_t len, const char *alg, len 211 maint/gnulib/lib/arctwo.c size_t len = (effective_keylen + 7) >> 3; len 212 maint/gnulib/lib/arctwo.c i = 128 - len; len 218 maint/gnulib/lib/arctwo.c x = arctwo_sbox[x ^ S[i + len]]; len 124 maint/gnulib/lib/argp-fmtstream.c size_t len; len 162 maint/gnulib/lib/argp-fmtstream.c len = fs->p - buf; len 163 maint/gnulib/lib/argp-fmtstream.c nl = memchr (buf, '\n', len); len 172 maint/gnulib/lib/argp-fmtstream.c if (fs->point_col + len < fs->rmargin) len 177 maint/gnulib/lib/argp-fmtstream.c fs->point_col += len; len 214 maint/gnulib/lib/argp-fmtstream.c fs->point_col += len; len 274 maint/gnulib/lib/argp-fmtstream.c if ((nextline == buf + len + 1 len 286 maint/gnulib/lib/argp-fmtstream.c len = nextline + mv - buf; len 301 maint/gnulib/lib/argp-fmtstream.c len += buf - fs->buf; len 311 maint/gnulib/lib/argp-fmtstream.c || (nextline == buf + len + 1 && fs->end - nextline >= fs->wmargin)) len 327 maint/gnulib/lib/argp-fmtstream.c memmove (nl, nextline, buf + len - nextline); len 328 maint/gnulib/lib/argp-fmtstream.c len -= nextline - buf; len 334 maint/gnulib/lib/argp-fmtstream.c fs->p = nl + len; len 55 maint/gnulib/lib/argp-fmtstream.h #define __argp_fmtstream_write(fs,str,len) fwrite(str,1,len,fs) len 56 maint/gnulib/lib/argp-fmtstream.h #define argp_fmtstream_write(fs,str,len) fwrite(str,1,len,fs) len 73 maint/gnulib/lib/argv-iter.c ssize_t len = getdelim (&ai->tok, &ai->buf_len, '\0', ai->fp); len 74 maint/gnulib/lib/argv-iter.c if (len < 0) len 92 maint/gnulib/lib/argz.c argz_create_sep (const char *string, int delim, char **argz, size_t *len) len 123 maint/gnulib/lib/argz.c *len = 0; len 126 maint/gnulib/lib/argz.c *len = nlen; len 131 maint/gnulib/lib/argz.c *len = 0; len 200 maint/gnulib/lib/argz.c argz_stringify (char *argz, size_t len, int sep) len 202 maint/gnulib/lib/argz.c if (len > 0) len 205 maint/gnulib/lib/argz.c size_t part_len = strnlen (argz, len); len 207 maint/gnulib/lib/argz.c len -= part_len; len 208 maint/gnulib/lib/argz.c if (len-- <= 1) /* includes final '\0' we want to stop at */ len 217 maint/gnulib/lib/argz.c argz_count (const char *argz, size_t len) len 220 maint/gnulib/lib/argz.c while (len > 0) len 224 maint/gnulib/lib/argz.c len -= part_len + 1; len 234 maint/gnulib/lib/argz.c argz_extract (const char *argz, size_t len, char **argv) len 236 maint/gnulib/lib/argz.c while (len > 0) len 241 maint/gnulib/lib/argz.c len -= part_len + 1; len 251 maint/gnulib/lib/argz.c argz_create (char *const argv[], char **argz, size_t *len) len 272 maint/gnulib/lib/argz.c *len = tlen; len 56 maint/gnulib/lib/basename-lgpl.c size_t len; len 59 maint/gnulib/lib/basename-lgpl.c for (len = strlen (name); 1 < len && ISSLASH (name[len - 1]); len--) len 62 maint/gnulib/lib/basename-lgpl.c if (DOUBLE_SLASH_IS_DISTINCT_ROOT && len == 1 len 67 maint/gnulib/lib/basename-lgpl.c && len == prefix_len && ISSLASH (name[prefix_len])) len 70 maint/gnulib/lib/basename-lgpl.c return len; len 32 maint/gnulib/lib/bind.c rpl_bind (int fd, const struct sockaddr *sockaddr, socklen_t len) len 43 maint/gnulib/lib/bind.c int r = bind (sock, sockaddr, len); len 44 maint/gnulib/lib/c-snprintf.c size_t len; len 50 maint/gnulib/lib/c-snprintf.c len = lenbuf; len 60 maint/gnulib/lib/c-snprintf.c size_t pruned_len = (len < size ? len : size - 1); len 68 maint/gnulib/lib/c-snprintf.c if (INT_MAX < len) len 74 maint/gnulib/lib/c-snprintf.c return len; len 46 maint/gnulib/lib/c-vsnprintf.c size_t len; len 50 maint/gnulib/lib/c-vsnprintf.c len = lenbuf; len 59 maint/gnulib/lib/c-vsnprintf.c size_t pruned_len = (len < size ? len : size - 1); len 67 maint/gnulib/lib/c-vsnprintf.c if (len > INT_MAX) len 73 maint/gnulib/lib/c-vsnprintf.c return len; len 50 maint/gnulib/lib/c32snrtombs.c c32snrtombs (char *dest, const char32_t **srcp, size_t srclen, size_t len, len 53 maint/gnulib/lib/c32snrtombs.c return wcsnrtombs (dest, (const wchar_t **) srcp, srclen, len, ps); len 50 maint/gnulib/lib/c32srtombs.c c32srtombs (char *dest, const char32_t **srcp, size_t len, mbstate_t *ps) len 52 maint/gnulib/lib/c32srtombs.c return wcsrtombs (dest, (const wchar_t **) srcp, len, ps); len 27 maint/gnulib/lib/c32stombs.c c32stombs (char *dest, const char32_t *src, size_t len) len 32 maint/gnulib/lib/c32stombs.c return c32srtombs (dest, &src, len, &state); len 345 maint/gnulib/lib/canonicalize-lgpl.c size_t len = strlen (end); len 346 maint/gnulib/lib/canonicalize-lgpl.c if (INT_ADD_OVERFLOW (len, n)) len 351 maint/gnulib/lib/canonicalize-lgpl.c while (extra_buffer.length <= len + n) len 361 maint/gnulib/lib/canonicalize-lgpl.c memmove (&extra_buf[n], end, len + 1); len 391 maint/gnulib/lib/canonicalize.c size_t len = strlen (end); len 392 maint/gnulib/lib/canonicalize.c if (INT_ADD_OVERFLOW (len, n)) len 394 maint/gnulib/lib/canonicalize.c while (extra_buffer.length <= len + n) len 404 maint/gnulib/lib/canonicalize.c memmove (&extra_buf[n], end, len + 1); len 117 maint/gnulib/lib/chdir-long.c size_t len = strlen (dir); len 118 maint/gnulib/lib/chdir-long.c char *dir_end = dir + len; len 126 maint/gnulib/lib/chdir-long.c assure (0 < len); len 127 maint/gnulib/lib/chdir-long.c assure (PATH_MAX <= len); len 220 maint/gnulib/lib/chdir-long.c int len; len 224 maint/gnulib/lib/chdir-long.c len = getline (&line, &n, stdin); len 225 maint/gnulib/lib/chdir-long.c if (len < 0) len 234 maint/gnulib/lib/chdir-long.c else if (len == 0) len 237 maint/gnulib/lib/chdir-long.c if (line[len-1] == '\n') len 238 maint/gnulib/lib/chdir-long.c line[len-1] = '\0'; len 125 maint/gnulib/lib/chown.c size_t len = strlen (file); len 126 maint/gnulib/lib/chown.c if (len && file[len - 1] == '/' && stat (file, &st)) len 32 maint/gnulib/lib/connect.c rpl_connect (int fd, const struct sockaddr *sockaddr, socklen_t len) len 43 maint/gnulib/lib/connect.c int r = connect (sock, sockaddr, len); len 82 maint/gnulib/lib/copy-file.c size_t len = inbytes < copy_max ? inbytes : copy_max; len 83 maint/gnulib/lib/copy-file.c ssize_t copied = copy_file_range (src_fd, NULL, dest_fd, NULL, len, 0); len 77 maint/gnulib/lib/crc.c crc32_update_no_xor (uint32_t crc, const char *buf, size_t len) len 81 maint/gnulib/lib/crc.c for (n = 0; n < len; n++) len 88 maint/gnulib/lib/crc.c crc32_no_xor (const char *buf, size_t len) len 90 maint/gnulib/lib/crc.c return crc32_update_no_xor (0L, buf, len); len 94 maint/gnulib/lib/crc.c crc32_update (uint32_t crc, const char *buf, size_t len) len 96 maint/gnulib/lib/crc.c return crc32_update_no_xor (crc ^ 0xffffffff, buf, len) ^ 0xffffffff; len 100 maint/gnulib/lib/crc.c crc32 (const char *buf, size_t len) len 102 maint/gnulib/lib/crc.c return crc32_update (0L, buf, len); len 26 maint/gnulib/lib/crc.h extern uint32_t crc32 (const char *buf, size_t len); len 31 maint/gnulib/lib/crc.h extern uint32_t crc32_update (uint32_t crc, const char *buf, size_t len); len 37 maint/gnulib/lib/crc.h extern uint32_t crc32_no_xor (const char *buf, size_t len); len 45 maint/gnulib/lib/crc.h crc32_update_no_xor (uint32_t crc, const char *buf, size_t len); len 65 maint/gnulib/lib/creat.c size_t len = strlen (filename); len 66 maint/gnulib/lib/creat.c if (len > 0 && filename[len - 1] == '/') len 987 maint/gnulib/lib/dfa.c int len = 0; len 994 maint/gnulib/lib/dfa.c if (len < MAX_BRACKET_STRING_LEN) len 995 maint/gnulib/lib/dfa.c str[len++] = c; len 1000 maint/gnulib/lib/dfa.c str[len] = '\0'; len 1967 maint/gnulib/lib/dfa.c dfaparse (char const *s, idx_t len, struct dfa *d) len 1970 maint/gnulib/lib/dfa.c d->lex.left = len; len 3750 maint/gnulib/lib/dfa.c dfacomp (char const *s, idx_t len, struct dfa *d, bool searchflag) len 3753 maint/gnulib/lib/dfa.c dfaparse (s, len, d); len 3954 maint/gnulib/lib/dfa.c enlist (char **cpp, char const *str, idx_t len) len 3956 maint/gnulib/lib/dfa.c return enlistnew (cpp, ximemdup0 (str, len)); len 3968 maint/gnulib/lib/dfa.c idx_t len = 0; len 3975 maint/gnulib/lib/dfa.c if (i > len) len 3976 maint/gnulib/lib/dfa.c len = i; len 3979 maint/gnulib/lib/dfa.c if (len != 0) len 3980 maint/gnulib/lib/dfa.c cpp = enlist (cpp, lcp, len); len 37 maint/gnulib/lib/dprintf.c size_t len; len 43 maint/gnulib/lib/dprintf.c len = lenbuf; len 49 maint/gnulib/lib/dprintf.c if (full_write (fd, output, len) < len) len 59 maint/gnulib/lib/dprintf.c if (len > INT_MAX) len 65 maint/gnulib/lib/dprintf.c return len; len 211 maint/gnulib/lib/error.c size_t len = strlen (message) + 1; len 220 maint/gnulib/lib/error.c if (__libc_use_alloca (len * sizeof (wchar_t))) len 221 maint/gnulib/lib/error.c wmessage = (wchar_t *) alloca (len * sizeof (wchar_t)); len 228 maint/gnulib/lib/error.c len * sizeof (wchar_t)); len 242 maint/gnulib/lib/error.c res = mbsrtowcs (wmessage, &tmp, len, &st); len 243 maint/gnulib/lib/error.c if (res != len) len 246 maint/gnulib/lib/error.c if (__builtin_expect (len >= SIZE_MAX / sizeof (wchar_t) / 2, 0)) len 253 maint/gnulib/lib/error.c len *= 2; len 547 maint/gnulib/lib/exclude.c idx_t len = strlen (pattern); len 549 maint/gnulib/lib/exclude.c while (len > 0 && ISSLASH (pattern[len-1])) len 550 maint/gnulib/lib/exclude.c --len; len 552 maint/gnulib/lib/exclude.c if (len == 0) len 556 maint/gnulib/lib/exclude.c tmp = ximalloc (len + 7); len 557 maint/gnulib/lib/exclude.c memcpy (tmp, pattern, len); len 558 maint/gnulib/lib/exclude.c strcpy (tmp + len, "(/.*)?"); len 49 maint/gnulib/lib/explicit_bzero.c explicit_bzero (void *s, size_t len) len 52 maint/gnulib/lib/explicit_bzero.c (void) SecureZeroMemory (s, len); len 54 maint/gnulib/lib/explicit_bzero.c explicit_memset (s, '\0', len); len 56 maint/gnulib/lib/explicit_bzero.c (void) memset_s (s, len, '\0', len); len 58 maint/gnulib/lib/explicit_bzero.c memset (s, '\0', len); len 62 maint/gnulib/lib/explicit_bzero.c memset (s, '\0', len); len 72 maint/gnulib/lib/explicit_bzero.c (void) volatile_memset (s, '\0', len); len 69 maint/gnulib/lib/fchmodat.c size_t len = strlen (file); len 70 maint/gnulib/lib/fchmodat.c if (len && file[len - 1] == '/') len 102 maint/gnulib/lib/fchownat.c size_t len = strlen (file); len 104 maint/gnulib/lib/fchownat.c if (len && file[len - 1] == '/') len 394 maint/gnulib/lib/fnmatch_loop.c int len = weights[idx & 0xffffff]; len 402 maint/gnulib/lib/fnmatch_loop.c && len == weights[idx2 & 0xffffff]) len 409 maint/gnulib/lib/fnmatch_loop.c while (cnt < len len 414 maint/gnulib/lib/fnmatch_loop.c if (cnt == len) len 137 maint/gnulib/lib/fopen.c size_t len = strlen (p); len 138 maint/gnulib/lib/fopen.c if (len > fdopen_mode_buf + BUF_SIZE - q) len 139 maint/gnulib/lib/fopen.c len = fdopen_mode_buf + BUF_SIZE - q; len 140 maint/gnulib/lib/fopen.c memcpy (q, p, len); len 141 maint/gnulib/lib/fopen.c q += len; len 166 maint/gnulib/lib/fopen.c size_t len = strlen (filename); len 167 maint/gnulib/lib/fopen.c if (len > 0 && filename[len - 1] == '/') len 40 maint/gnulib/lib/fprintf.c size_t len; len 46 maint/gnulib/lib/fprintf.c len = lenbuf; len 55 maint/gnulib/lib/fprintf.c if (fwrite (output, 1, len, fp) < len) len 65 maint/gnulib/lib/fprintf.c if (len > INT_MAX) len 72 maint/gnulib/lib/fprintf.c return len; len 80 maint/gnulib/lib/fstatat.c size_t len; len 84 maint/gnulib/lib/fstatat.c len = strlen (file); len 88 maint/gnulib/lib/fstatat.c if (file[len - 1] != '/' || S_ISDIR (st->st_mode)) len 98 maint/gnulib/lib/fstatat.c if (result == 0 && !S_ISDIR (st->st_mode) && file[len - 1] == '/') len 467 maint/gnulib/lib/fts.c size_t len = strlen(*argv); len 474 maint/gnulib/lib/fts.c if (2 < len && v[len - 1] == '/') len 475 maint/gnulib/lib/fts.c while (1 < len && v[len - 2] == '/') len 476 maint/gnulib/lib/fts.c --len; len 479 maint/gnulib/lib/fts.c if ((p = fts_alloc(sp, *argv, len)) == NULL) len 552 maint/gnulib/lib/fts.c register size_t len; len 562 maint/gnulib/lib/fts.c len = p->fts_pathlen = p->fts_namelen; len 563 maint/gnulib/lib/fts.c memmove(sp->fts_path, p->fts_name, len + 1); len 565 maint/gnulib/lib/fts.c len = strlen(++cp); len 566 maint/gnulib/lib/fts.c memmove(p->fts_name, cp, len + 1); len 567 maint/gnulib/lib/fts.c p->fts_namelen = len; len 1275 maint/gnulib/lib/fts.c size_t len, maxlen, new_len; len 1404 maint/gnulib/lib/fts.c len = NAPPEND(cur); len 1406 maint/gnulib/lib/fts.c cp = sp->fts_path + len; len 1412 maint/gnulib/lib/fts.c len++; len 1413 maint/gnulib/lib/fts.c maxlen = sp->fts_pathlen - len; len 1446 maint/gnulib/lib/fts.c if (! fts_palloc(sp, d_namelen + len + 1)) { len 1465 maint/gnulib/lib/fts.c cp = sp->fts_path + len; len 1467 maint/gnulib/lib/fts.c maxlen = sp->fts_pathlen - len; len 1470 maint/gnulib/lib/fts.c new_len = len + d_namelen; len 1471 maint/gnulib/lib/fts.c if (new_len < len) { len 1575 maint/gnulib/lib/fts.c if (len == sp->fts_pathlen || nitems == 0) len 1877 maint/gnulib/lib/fts.c size_t len; len 1883 maint/gnulib/lib/fts.c len = FLEXSIZEOF(FTSENT, fts_name, namelen + 1); len 1884 maint/gnulib/lib/fts.c if ((p = malloc(len)) == NULL) len 1985 maint/gnulib/lib/fts.c size_t len, max; len 1988 maint/gnulib/lib/fts.c if ((len = strlen(*argv)) > max) len 1989 maint/gnulib/lib/fts.c max = len; len 374 maint/gnulib/lib/gc-gnulib.c gc_cipher_encrypt_inline (gc_cipher_handle handle, size_t len, char *data) len 385 maint/gnulib/lib/gc-gnulib.c arctwo_encrypt (&ctx->arctwoContext, data, data, len); len 389 maint/gnulib/lib/gc-gnulib.c for (; len >= ARCTWO_BLOCK_SIZE; len -= ARCTWO_BLOCK_SIZE, len 410 maint/gnulib/lib/gc-gnulib.c arcfour_stream (&ctx->arcfourContext, data, data, len); len 416 maint/gnulib/lib/gc-gnulib.c for (; len >= 8; len -= 8, data += 8) len 429 maint/gnulib/lib/gc-gnulib.c data, 8 * len, data); len 444 maint/gnulib/lib/gc-gnulib.c gc_cipher_decrypt_inline (gc_cipher_handle handle, size_t len, char *data) len 455 maint/gnulib/lib/gc-gnulib.c arctwo_decrypt (&ctx->arctwoContext, data, data, len); len 459 maint/gnulib/lib/gc-gnulib.c for (; len >= ARCTWO_BLOCK_SIZE; len -= ARCTWO_BLOCK_SIZE, len 482 maint/gnulib/lib/gc-gnulib.c arcfour_stream (&ctx->arcfourContext, data, data, len); len 488 maint/gnulib/lib/gc-gnulib.c for (; len >= 8; len -= 8, data += 8) len 501 maint/gnulib/lib/gc-gnulib.c data, 8 * len, data); len 649 maint/gnulib/lib/gc-gnulib.c size_t len; len 654 maint/gnulib/lib/gc-gnulib.c len = GC_MD2_DIGEST_SIZE; len 658 maint/gnulib/lib/gc-gnulib.c len = GC_MD4_DIGEST_SIZE; len 662 maint/gnulib/lib/gc-gnulib.c len = GC_MD5_DIGEST_SIZE; len 666 maint/gnulib/lib/gc-gnulib.c len = GC_RMD160_DIGEST_SIZE; len 670 maint/gnulib/lib/gc-gnulib.c len = GC_SHA1_DIGEST_SIZE; len 674 maint/gnulib/lib/gc-gnulib.c len = GC_SHA256_DIGEST_SIZE; len 678 maint/gnulib/lib/gc-gnulib.c len = GC_SHA512_DIGEST_SIZE; len 682 maint/gnulib/lib/gc-gnulib.c len = GC_SM3_DIGEST_SIZE; len 689 maint/gnulib/lib/gc-gnulib.c return len; len 693 maint/gnulib/lib/gc-gnulib.c gc_hash_write (gc_hash_handle handle, size_t len, const char *data) len 701 maint/gnulib/lib/gc-gnulib.c md2_process_bytes (data, len, &ctx->md2Context); len 707 maint/gnulib/lib/gc-gnulib.c md4_process_bytes (data, len, &ctx->md4Context); len 713 maint/gnulib/lib/gc-gnulib.c md5_process_bytes (data, len, &ctx->md5Context); len 719 maint/gnulib/lib/gc-gnulib.c sha1_process_bytes (data, len, &ctx->sha1Context); len 725 maint/gnulib/lib/gc-gnulib.c sha256_process_bytes (data, len, &ctx->sha256Context); len 731 maint/gnulib/lib/gc-gnulib.c sha512_process_bytes (data, len, &ctx->sha512Context); len 737 maint/gnulib/lib/gc-gnulib.c sm3_process_bytes (data, len, &ctx->sm3Context); len 220 maint/gnulib/lib/gc-libgcrypt.c gc_cipher_encrypt_inline (gc_cipher_handle handle, size_t len, char *data) len 223 maint/gnulib/lib/gc-libgcrypt.c data, len, NULL, len) != 0) len 230 maint/gnulib/lib/gc-libgcrypt.c gc_cipher_decrypt_inline (gc_cipher_handle handle, size_t len, char *data) len 233 maint/gnulib/lib/gc-libgcrypt.c data, len, NULL, len) != 0) len 394 maint/gnulib/lib/gc-libgcrypt.c size_t len; len 399 maint/gnulib/lib/gc-libgcrypt.c len = GC_MD2_DIGEST_SIZE; len 403 maint/gnulib/lib/gc-libgcrypt.c len = GC_MD4_DIGEST_SIZE; len 407 maint/gnulib/lib/gc-libgcrypt.c len = GC_MD5_DIGEST_SIZE; len 411 maint/gnulib/lib/gc-libgcrypt.c len = GC_RMD160_DIGEST_SIZE; len 415 maint/gnulib/lib/gc-libgcrypt.c len = GC_SHA1_DIGEST_SIZE; len 419 maint/gnulib/lib/gc-libgcrypt.c len = GC_SHA256_DIGEST_SIZE; len 423 maint/gnulib/lib/gc-libgcrypt.c len = GC_SHA384_DIGEST_SIZE; len 427 maint/gnulib/lib/gc-libgcrypt.c len = GC_SHA512_DIGEST_SIZE; len 431 maint/gnulib/lib/gc-libgcrypt.c len = GC_SHA224_DIGEST_SIZE; len 435 maint/gnulib/lib/gc-libgcrypt.c len = GC_SM3_DIGEST_SIZE; len 442 maint/gnulib/lib/gc-libgcrypt.c return len; len 446 maint/gnulib/lib/gc-libgcrypt.c gc_hash_hmac_setkey (gc_hash_handle handle, size_t len, const char *key) len 455 maint/gnulib/lib/gc-libgcrypt.c gcry_md_setkey (ctx->gch, key, len); len 459 maint/gnulib/lib/gc-libgcrypt.c gc_hash_write (gc_hash_handle handle, size_t len, const char *data) len 465 maint/gnulib/lib/gc-libgcrypt.c md2_process_bytes (data, len, &ctx->md2Context); len 470 maint/gnulib/lib/gc-libgcrypt.c sm3_process_bytes (data, len, &ctx->sm3Context); len 473 maint/gnulib/lib/gc-libgcrypt.c gcry_md_write (ctx->gch, data, len); len 131 maint/gnulib/lib/gc.h size_t len, char *data); len 133 maint/gnulib/lib/gc.h size_t len, char *data); len 144 maint/gnulib/lib/gc.h size_t len, const char *key); len 146 maint/gnulib/lib/gc.h size_t len, const char *data); len 226 maint/gnulib/lib/get_ppid_of.c size_t len; len 228 maint/gnulib/lib/get_ppid_of.c len = sizeof (info); len 229 maint/gnulib/lib/get_ppid_of.c if (sysctl (info_path, 6, &info, &len, NULL, 0) >= 0 && len == sizeof (info)) len 266 maint/gnulib/lib/get_progname_of.c size_t len; len 268 maint/gnulib/lib/get_progname_of.c len = sizeof (info); len 269 maint/gnulib/lib/get_progname_of.c if (sysctl (info_path, 6, &info, &len, NULL, 0) >= 0 && len == sizeof (info)) len 44 maint/gnulib/lib/getdomainname.c getdomainname (char *name, size_t len) len 50 maint/gnulib/lib/getdomainname.c if (len > INT_MAX) len 51 maint/gnulib/lib/getdomainname.c len = INT_MAX; len 52 maint/gnulib/lib/getdomainname.c return getdomainname (name, (int) len); len 59 maint/gnulib/lib/getdomainname.c ret = sysinfo (SI_SRPC_DOMAIN, name, len > INT_MAX ? INT_MAX : len); len 63 maint/gnulib/lib/getdomainname.c if (ret > len) len 73 maint/gnulib/lib/getdomainname.c if (result_len > len) len 79 maint/gnulib/lib/getdomainname.c if (result_len < len) len 42 maint/gnulib/lib/gethostname.c gethostname (char *name, size_t len) len 49 maint/gnulib/lib/gethostname.c if (len > sizeof (uts.nodename)) len 53 maint/gnulib/lib/gethostname.c len = sizeof (uts.nodename); len 55 maint/gnulib/lib/gethostname.c strncpy (name, uts.nodename, len); len 90 maint/gnulib/lib/gethostname.c rpl_gethostname (char *name, size_t len) len 94 maint/gnulib/lib/gethostname.c if (len > INT_MAX) len 95 maint/gnulib/lib/gethostname.c len = INT_MAX; len 97 maint/gnulib/lib/gethostname.c r = gethostname (name, (int) len); len 148 maint/gnulib/lib/getopt.c int len = middle - bottom; len 152 maint/gnulib/lib/getopt.c for (i = 0; i < len; i++) len 159 maint/gnulib/lib/getopt.c top -= len; len 164 maint/gnulib/lib/getopt.c int len = top - middle; len 168 maint/gnulib/lib/getopt.c for (i = 0; i < len; i++) len 175 maint/gnulib/lib/getopt.c bottom += len; len 84 maint/gnulib/lib/gl_openssl.h GL_CRYPTO_FN (_process_bytes) (const void *buf, size_t len, struct _gl_ctx *ctx) len 85 maint/gnulib/lib/gl_openssl.h { OPENSSL_FN (_Update) ((_gl_CTX *) ctx, buf, len); } len 88 maint/gnulib/lib/gl_openssl.h GL_CRYPTO_FN (_process_block) (const void *buf, size_t len, struct _gl_ctx *ctx) len 89 maint/gnulib/lib/gl_openssl.h { GL_CRYPTO_FN (_process_bytes) (buf, len, ctx); } len 97 maint/gnulib/lib/gl_openssl.h GL_CRYPTO_FN (_buffer) (const char *buf, size_t len, void *restrict res) len 98 maint/gnulib/lib/gl_openssl.h { return OPENSSL_FN () ((const unsigned char *) buf, len, (unsigned char *) res); } len 60 maint/gnulib/lib/glob.c # define getpwnam_r(name, bufp, buf, len, res) \ len 61 maint/gnulib/lib/glob.c __getpwnam_r (name, bufp, buf, len, res) len 81 maint/gnulib/lib/glob.c # define __getlogin_r(buf, len) getlogin_r (buf, len) len 201 maint/gnulib/lib/glob.c # define alloca_account(len, avar) ((void) (len), (void) (avar), (void *) 0) len 202 maint/gnulib/lib/glob.c # define extend_alloca_account(buf, len, newlen, avar) \ len 203 maint/gnulib/lib/glob.c ((void) (buf), (void) (len), (void) (newlen), (void) (avar), (void *) 0) len 237 maint/gnulib/lib/glob.c glob_use_alloca (size_t alloca_used, size_t len) len 240 maint/gnulib/lib/glob.c return (!size_add_wrapv (alloca_used, len, &size) len 1170 maint/gnulib/lib/glob.c size_t len = strlen (pglob->gl_pathv[i]) + 2; len 1171 maint/gnulib/lib/glob.c char *new = realloc (pglob->gl_pathv[i], len); len 1179 maint/gnulib/lib/glob.c strcpy (&new[len - 2], "/"); len 1425 maint/gnulib/lib/glob.c size_t len = strlen (pattern); len 1427 maint/gnulib/lib/glob.c names->name[cur] = malloc (len + 1); len 1430 maint/gnulib/lib/glob.c *((char *) mempcpy (names->name[cur++], pattern, len)) = '\0'; len 128 maint/gnulib/lib/inet_ntop.c int len; len 130 maint/gnulib/lib/inet_ntop.c len = sprintf (tmp, "%u.%u.%u.%u", src[0], src[1], src[2], src[3]); len 131 maint/gnulib/lib/inet_ntop.c if (len < 0) len 134 maint/gnulib/lib/inet_ntop.c if (len > size) len 164 maint/gnulib/lib/inet_ntop.c int base, len; len 179 maint/gnulib/lib/inet_ntop.c IF_LINT(best.len = 0); len 180 maint/gnulib/lib/inet_ntop.c IF_LINT(cur.len = 0); len 186 maint/gnulib/lib/inet_ntop.c cur.base = i, cur.len = 1; len 188 maint/gnulib/lib/inet_ntop.c cur.len++; len 194 maint/gnulib/lib/inet_ntop.c if (best.base == -1 || cur.len > best.len) len 202 maint/gnulib/lib/inet_ntop.c if (best.base == -1 || cur.len > best.len) len 205 maint/gnulib/lib/inet_ntop.c if (best.base != -1 && best.len < 2) len 215 maint/gnulib/lib/inet_ntop.c if (best.base != -1 && i >= best.base && i < (best.base + best.len)) len 226 maint/gnulib/lib/inet_ntop.c (best.len == 6 || (best.len == 5 && words[5] == 0xffff))) len 234 maint/gnulib/lib/inet_ntop.c int len = sprintf (tp, "%x", words[i]); len 235 maint/gnulib/lib/inet_ntop.c if (len < 0) len 237 maint/gnulib/lib/inet_ntop.c tp += len; len 241 maint/gnulib/lib/inet_ntop.c if (best.base != -1 && (best.base + best.len) == len 92 maint/gnulib/lib/lchown.c size_t len = strlen (file); len 93 maint/gnulib/lib/lchown.c if (len && file[len - 1] == '/') len 101 maint/gnulib/lib/localeinfo.c size_t len = mbrtowc (&wc, &c, 1, &s); len 102 maint/gnulib/lib/localeinfo.c localeinfo->sbclen[uc] = len <= 1 ? 1 : - (int) - len; len 103 maint/gnulib/lib/localeinfo.c localeinfo->sbctowc[uc] = len <= 1 ? wc : WEOF; len 30 maint/gnulib/lib/mbsnlen.c mbsnlen (const char *string, size_t len) len 38 maint/gnulib/lib/mbsnlen.c for (mbi_init (iter, string, len); mbi_avail (iter); mbi_advance (iter)) len 44 maint/gnulib/lib/mbsnlen.c return len; len 59 maint/gnulib/lib/mbsnrtoc32s.c mbsnrtoc32s (char32_t *dest, const char **srcp, size_t srclen, size_t len, len 62 maint/gnulib/lib/mbsnrtoc32s.c return mbsnrtowcs ((wchar_t *) dest, srcp, srclen, len, ps); len 19 maint/gnulib/lib/mbsnrtowcs-impl.h FUNC (DCHAR_T *dest, const char **srcp, size_t srclen, size_t len, mbstate_t *ps) len 30 maint/gnulib/lib/mbsnrtowcs-impl.h for (; srclen > 0 && len > 0; destptr++, len--) len 51 maint/gnulib/lib/mbsrtoc32s.c mbsrtoc32s (char32_t *dest, const char **srcp, size_t len, mbstate_t *ps) len 53 maint/gnulib/lib/mbsrtoc32s.c return mbsrtowcs ((wchar_t *) dest, srcp, len, ps); len 19 maint/gnulib/lib/mbsrtowcs-impl.h FUNC (DCHAR_T *dest, const char **srcp, size_t len, mbstate_t *ps) len 30 maint/gnulib/lib/mbsrtowcs-impl.h for (; len > 0; destptr++, len--) len 27 maint/gnulib/lib/mbstoc32s.c mbstoc32s (char32_t *dest, const char *src, size_t len) len 32 maint/gnulib/lib/mbstoc32s.c return mbsrtoc32s (dest, &src, len, &state); len 86 maint/gnulib/lib/md2.c md2_buffer (const char *buffer, size_t len, void *resblock) len 94 maint/gnulib/lib/md2.c md2_process_block (buffer, len, &ctx); len 101 maint/gnulib/lib/md2.c md2_process_bytes (const void *buffer, size_t len, struct md2_ctx *ctx) len 106 maint/gnulib/lib/md2.c while (len > 0) len 108 maint/gnulib/lib/md2.c n = MIN (len, (16 - ctx->curlen)); len 112 maint/gnulib/lib/md2.c len -= n; len 189 maint/gnulib/lib/md2.c md2_process_block (const void *buffer, size_t len, struct md2_ctx *ctx) len 191 maint/gnulib/lib/md2.c md2_process_bytes (buffer, len, ctx); len 46 maint/gnulib/lib/md2.h extern void md2_process_block (const void *buffer, size_t len, len 53 maint/gnulib/lib/md2.h extern void md2_process_bytes (const void *buffer, size_t len, len 73 maint/gnulib/lib/md2.h extern void *md2_buffer (const char *buffer, size_t len, len 114 maint/gnulib/lib/md4.c md4_buffer (const char *buffer, size_t len, void *resblock) len 122 maint/gnulib/lib/md4.c md4_process_bytes (buffer, len, &ctx); len 129 maint/gnulib/lib/md4.c md4_process_bytes (const void *buffer, size_t len, struct md4_ctx *ctx) len 136 maint/gnulib/lib/md4.c size_t add = 128 - left_over > len ? len : 128 - left_over; len 152 maint/gnulib/lib/md4.c len -= add; len 156 maint/gnulib/lib/md4.c if (len >= 64) len 161 maint/gnulib/lib/md4.c while (len > 64) len 165 maint/gnulib/lib/md4.c len -= 64; len 170 maint/gnulib/lib/md4.c md4_process_block (buffer, len & ~63, ctx); len 171 maint/gnulib/lib/md4.c buffer = (const char *) buffer + (len & ~63); len 172 maint/gnulib/lib/md4.c len &= 63; len 177 maint/gnulib/lib/md4.c if (len > 0) len 181 maint/gnulib/lib/md4.c memcpy (&((char*)ctx->buffer)[left_over], buffer, len); len 182 maint/gnulib/lib/md4.c left_over += len; len 212 maint/gnulib/lib/md4.c md4_process_block (const void *buffer, size_t len, struct md4_ctx *ctx) len 215 maint/gnulib/lib/md4.c size_t nwords = len / sizeof (uint32_t); len 222 maint/gnulib/lib/md4.c uint32_t lolen = len; len 228 maint/gnulib/lib/md4.c ctx->total[1] += (len >> 31 >> 1) + (ctx->total[0] < lolen); len 52 maint/gnulib/lib/md4.h extern void md4_process_block (const void *buffer, size_t len, len 59 maint/gnulib/lib/md4.h extern void md4_process_bytes (const void *buffer, size_t len, len 79 maint/gnulib/lib/md4.h extern void *md4_buffer (const char *buffer, size_t len, len 132 maint/gnulib/lib/md5.c md5_buffer (const char *buffer, size_t len, void *resblock) len 140 maint/gnulib/lib/md5.c md5_process_bytes (buffer, len, &ctx); len 148 maint/gnulib/lib/md5.c md5_process_bytes (const void *buffer, size_t len, struct md5_ctx *ctx) len 155 maint/gnulib/lib/md5.c size_t add = 128 - left_over > len ? len : 128 - left_over; len 173 maint/gnulib/lib/md5.c len -= add; len 177 maint/gnulib/lib/md5.c if (len >= 64) len 182 maint/gnulib/lib/md5.c while (len > 64) len 186 maint/gnulib/lib/md5.c len -= 64; len 191 maint/gnulib/lib/md5.c md5_process_block (buffer, len & ~63, ctx); len 192 maint/gnulib/lib/md5.c buffer = (const char *) buffer + (len & ~63); len 193 maint/gnulib/lib/md5.c len &= 63; len 198 maint/gnulib/lib/md5.c if (len > 0) len 202 maint/gnulib/lib/md5.c memcpy (&((char *) ctx->buffer)[left_over], buffer, len); len 203 maint/gnulib/lib/md5.c left_over += len; len 230 maint/gnulib/lib/md5.c md5_process_block (const void *buffer, size_t len, struct md5_ctx *ctx) len 234 maint/gnulib/lib/md5.c size_t nwords = len / sizeof (uint32_t); len 240 maint/gnulib/lib/md5.c uint32_t lolen = len; len 246 maint/gnulib/lib/md5.c ctx->total[1] += (len >> 31 >> 1) + (ctx->total[0] < lolen); len 94 maint/gnulib/lib/md5.h extern void __md5_process_block (const void *buffer, size_t len, len 101 maint/gnulib/lib/md5.h extern void __md5_process_bytes (const void *buffer, size_t len, len 123 maint/gnulib/lib/md5.h extern void *__md5_buffer (const char *buffer, size_t len, len 118 maint/gnulib/lib/memcmp.c memcmp_common_alignment (uintptr_t srcp1, uintptr_t srcp2, size_t len) len 123 maint/gnulib/lib/memcmp.c switch (len % 4) len 131 maint/gnulib/lib/memcmp.c len += 2; len 138 maint/gnulib/lib/memcmp.c len += 1; len 141 maint/gnulib/lib/memcmp.c if (OP_T_THRES <= 3 * OPSIZ && len == 0) len 151 maint/gnulib/lib/memcmp.c len -= 1; len 152 maint/gnulib/lib/memcmp.c if (OP_T_THRES <= 3 * OPSIZ && len == 0) len 184 maint/gnulib/lib/memcmp.c len -= 4; len 186 maint/gnulib/lib/memcmp.c while (len != 0); len 203 maint/gnulib/lib/memcmp.c memcmp_not_common_alignment (uintptr_t srcp1, uintptr_t srcp2, size_t len) len 220 maint/gnulib/lib/memcmp.c switch (len % 4) len 229 maint/gnulib/lib/memcmp.c len += 2; len 236 maint/gnulib/lib/memcmp.c len += 1; len 239 maint/gnulib/lib/memcmp.c if (OP_T_THRES <= 3 * OPSIZ && len == 0) len 252 maint/gnulib/lib/memcmp.c len -= 1; len 253 maint/gnulib/lib/memcmp.c if (OP_T_THRES <= 3 * OPSIZ && len == 0) len 289 maint/gnulib/lib/memcmp.c len -= 4; len 291 maint/gnulib/lib/memcmp.c while (len != 0); len 303 maint/gnulib/lib/memcmp.c rpl_memcmp (const void *s1, const void *s2, size_t len) len 311 maint/gnulib/lib/memcmp.c if (len >= OP_T_THRES) len 324 maint/gnulib/lib/memcmp.c len -= 1; len 332 maint/gnulib/lib/memcmp.c res = memcmp_common_alignment (srcp1, srcp2, len / OPSIZ); len 334 maint/gnulib/lib/memcmp.c res = memcmp_not_common_alignment (srcp1, srcp2, len / OPSIZ); len 339 maint/gnulib/lib/memcmp.c srcp1 += len & -OPSIZ; len 340 maint/gnulib/lib/memcmp.c srcp2 += len & -OPSIZ; len 341 maint/gnulib/lib/memcmp.c len %= OPSIZ; len 345 maint/gnulib/lib/memcmp.c while (len != 0) len 354 maint/gnulib/lib/memcmp.c len -= 1; len 28 maint/gnulib/lib/memcpy.c memcpy (void *destaddr, void const *srcaddr, size_t len) len 33 maint/gnulib/lib/memcpy.c while (len-- > 0) len 22 maint/gnulib/lib/memset.c memset (void *str, int c, size_t len) len 26 maint/gnulib/lib/memset.c while (len-- > 0) len 4427 maint/gnulib/lib/mini-gmp.c size_t len, n; len 4432 maint/gnulib/lib/mini-gmp.c len = strlen (str); len 4433 maint/gnulib/lib/mini-gmp.c n = fwrite (str, 1, len, stream); len 4434 maint/gnulib/lib/mini-gmp.c gmp_free (str, len + 1); len 55 maint/gnulib/lib/mkdir.c size_t len = strlen (dir); len 57 maint/gnulib/lib/mkdir.c if (len && dir[len - 1] == '/') len 47 maint/gnulib/lib/mkfifo.c size_t len = strlen (name); len 48 maint/gnulib/lib/mkfifo.c if (len && name[len - 1] == '/') len 37 maint/gnulib/lib/mkfifoat.c size_t len = strlen (file); len 38 maint/gnulib/lib/mkfifoat.c if (len && file[len - 1] == '/') len 55 maint/gnulib/lib/mknod.c size_t len = strlen (name); len 56 maint/gnulib/lib/mknod.c if (len && name[len - 1] == '/') len 37 maint/gnulib/lib/mknodat.c size_t len = strlen (file); len 38 maint/gnulib/lib/mknodat.c if (len && file[len - 1] == '/') len 419 maint/gnulib/lib/mountlist.c size_t len = strlen (str) + 1; len 420 maint/gnulib/lib/mountlist.c for (i = 0; i < len; i++) len 422 maint/gnulib/lib/mountlist.c if (str[i] == '\\' && (i + 4 < len) len 313 maint/gnulib/lib/nproc.c size_t len = sizeof (nprocs); len 322 maint/gnulib/lib/nproc.c if (sysctl (mib[i], ARRAY_SIZE (mib[i]), &nprocs, &len, NULL, 0) == 0 len 323 maint/gnulib/lib/nproc.c && len == sizeof (nprocs) len 290 maint/gnulib/lib/nstrftime.c fwrite_lowcase (FILE *fp, const CHAR_T *src, size_t len) len 292 maint/gnulib/lib/nstrftime.c while (len-- > 0) len 300 maint/gnulib/lib/nstrftime.c fwrite_uppcase (FILE *fp, const CHAR_T *src, size_t len) len 302 maint/gnulib/lib/nstrftime.c while (len-- > 0) len 310 maint/gnulib/lib/nstrftime.c size_t len LOCALE_PARAM); len 313 maint/gnulib/lib/nstrftime.c memcpy_lowcase (CHAR_T *dest, const CHAR_T *src, size_t len LOCALE_PARAM) len 315 maint/gnulib/lib/nstrftime.c while (len-- > 0) len 316 maint/gnulib/lib/nstrftime.c dest[len] = TOLOWER ((UCHAR_T) src[len], loc); len 321 maint/gnulib/lib/nstrftime.c size_t len LOCALE_PARAM); len 324 maint/gnulib/lib/nstrftime.c memcpy_uppcase (CHAR_T *dest, const CHAR_T *src, size_t len LOCALE_PARAM) len 326 maint/gnulib/lib/nstrftime.c while (len-- > 0) len 327 maint/gnulib/lib/nstrftime.c dest[len] = TOUPPER ((UCHAR_T) src[len], loc); len 610 maint/gnulib/lib/nstrftime.c size_t len = 0; len 619 maint/gnulib/lib/nstrftime.c size_t bytes = mbrlen (f + len, fsize - len, &mbstate); len 626 maint/gnulib/lib/nstrftime.c len += strlen (f + len); len 632 maint/gnulib/lib/nstrftime.c len++; len 636 maint/gnulib/lib/nstrftime.c len += bytes; len 640 maint/gnulib/lib/nstrftime.c cpy (len, f); len 641 maint/gnulib/lib/nstrftime.c f += len - 1; len 850 maint/gnulib/lib/nstrftime.c size_t len = __strftime_internal (NULL, STRFTIME_ARG ((size_t) -1) len 854 maint/gnulib/lib/nstrftime.c add (len, __strftime_internal (p, len 870 maint/gnulib/lib/nstrftime.c size_t len; len 887 maint/gnulib/lib/nstrftime.c len = strftime (ubuf, sizeof ubuf, ufmt, tp); len 888 maint/gnulib/lib/nstrftime.c if (len != 0) len 889 maint/gnulib/lib/nstrftime.c cpy (len - 1, ubuf + 1); len 902 maint/gnulib/lib/nstrftime.c size_t len = __wcslen (era->era_wname); len 903 maint/gnulib/lib/nstrftime.c cpy (len, era->era_wname); len 905 maint/gnulib/lib/nstrftime.c size_t len = strlen (era->era_name); len 906 maint/gnulib/lib/nstrftime.c cpy (len, era->era_name); len 1384 maint/gnulib/lib/nstrftime.c size_t len; len 1385 maint/gnulib/lib/nstrftime.c widen (zone, wczone, len); len 1386 maint/gnulib/lib/nstrftime.c cpy (len, wczone); len 63 maint/gnulib/lib/obstack_printf.c size_t len = obstack_room (obs); len 66 maint/gnulib/lib/obstack_printf.c if (len < CUTOFF) len 69 maint/gnulib/lib/obstack_printf.c len = CUTOFF; len 71 maint/gnulib/lib/obstack_printf.c str = vasnprintf (base, &len, format, args); len 81 maint/gnulib/lib/obstack_printf.c obstack_blank_fast (obs, len); len 86 maint/gnulib/lib/obstack_printf.c obstack_grow (obs, str, len); len 90 maint/gnulib/lib/obstack_printf.c return len; len 121 maint/gnulib/lib/open.c size_t len = strlen (filename); len 122 maint/gnulib/lib/open.c if (len > 0 && filename[len - 1] == '/') len 188 maint/gnulib/lib/open.c size_t len = strlen (filename); len 189 maint/gnulib/lib/open.c if (filename[len - 1] == '/') len 107 maint/gnulib/lib/openat.c size_t len = strlen (filename); len 108 maint/gnulib/lib/openat.c if (len > 0 && filename[len - 1] == '/') len 150 maint/gnulib/lib/openat.c size_t len = strlen (filename); len 151 maint/gnulib/lib/openat.c if (filename[len - 1] == '/') len 370 maint/gnulib/lib/parse-datetime.y int len; len 377 maint/gnulib/lib/parse-datetime.y len = (-1 <= pc->day_ordinal && pc->day_ordinal <= 12 len 384 maint/gnulib/lib/parse-datetime.y len = 0; len 388 maint/gnulib/lib/parse-datetime.y if (0 <= pc->day_number && pc->day_number <= 6 && 0 <= len && len < n) len 389 maint/gnulib/lib/parse-datetime.y snprintf (buffer + len, n - len, &" %s"[len == 0], len 114 maint/gnulib/lib/passfd.c ssize_t len; len 147 maint/gnulib/lib/passfd.c len = recvmsg (sock, &msg, flags_recvmsg); len 148 maint/gnulib/lib/passfd.c if (len < 0) len 150 maint/gnulib/lib/passfd.c if (len == 0) len 159 maint/gnulib/lib/physmem.c size_t len = sizeof physmem; len 162 maint/gnulib/lib/physmem.c if (sysctl (mib, ARRAY_SIZE (mib), &physmem, &len, NULL, 0) == 0 len 163 maint/gnulib/lib/physmem.c && len == sizeof (physmem)) len 273 maint/gnulib/lib/physmem.c size_t len = sizeof usermem; len 276 maint/gnulib/lib/physmem.c if (sysctl (mib, ARRAY_SIZE (mib), &usermem, &len, NULL, 0) == 0 len 277 maint/gnulib/lib/physmem.c && len == sizeof (usermem)) len 98 maint/gnulib/lib/posixtm.c idx_t len = s_len; len 105 maint/gnulib/lib/posixtm.c len = dot - s; len 106 maint/gnulib/lib/posixtm.c if (s_len - len != 3) len 111 maint/gnulib/lib/posixtm.c if (! (8 <= len && len <= 12 && len % 2 == 0)) len 114 maint/gnulib/lib/posixtm.c for (idx_t i = 0; i < len; i++) len 118 maint/gnulib/lib/posixtm.c len /= 2; len 119 maint/gnulib/lib/posixtm.c for (idx_t i = 0; i < len; i++) len 125 maint/gnulib/lib/posixtm.c if (! year (tm, p, len - 4, syntax_bits)) len 127 maint/gnulib/lib/posixtm.c p += len - 4; len 128 maint/gnulib/lib/posixtm.c len = 4; len 136 maint/gnulib/lib/posixtm.c len -= 4; len 141 maint/gnulib/lib/posixtm.c if (! year (tm, p, len, syntax_bits)) len 315 maint/gnulib/lib/progreloc.c size_t len = full_read (fd, namebuf, sizeof (namebuf)); len 317 maint/gnulib/lib/progreloc.c if (len > 0 && len < sizeof (namebuf)) len 319 maint/gnulib/lib/progreloc.c namebuf[len] = '\0'; len 213 maint/gnulib/lib/propername.c size_t len = strlen (locale_code); len 214 maint/gnulib/lib/propername.c char *locale_code_translit = XNMALLOC (len + 10 + 1, char); len 215 maint/gnulib/lib/propername.c memcpy (locale_code_translit, locale_code, len); len 216 maint/gnulib/lib/propername.c memcpy (locale_code_translit + len, "//TRANSLIT", 10 + 1); len 70 maint/gnulib/lib/putenv.c size_t len; len 81 maint/gnulib/lib/putenv.c len = strlen (name); len 86 maint/gnulib/lib/putenv.c char *name_ = malloc (len + 2); len 87 maint/gnulib/lib/putenv.c memcpy (name_, name, len); len 88 maint/gnulib/lib/putenv.c name_[len] = '='; len 89 maint/gnulib/lib/putenv.c name_[len + 1] = 0; len 100 maint/gnulib/lib/putenv.c if (!strncmp (*ep, name, len) && (*ep)[len] == '=') len 257 maint/gnulib/lib/quotearg.c size_t len = 0; len 271 maint/gnulib/lib/quotearg.c if (len < buffersize) \ len 272 maint/gnulib/lib/quotearg.c buffer[len] = (c); \ len 273 maint/gnulib/lib/quotearg.c len++; \ len 723 maint/gnulib/lib/quotearg.c if (len == 0 && quoting_style == shell_always_quoting_style len 743 maint/gnulib/lib/quotearg.c len = 0; len 752 maint/gnulib/lib/quotearg.c if (len < buffersize) len 753 maint/gnulib/lib/quotearg.c buffer[len] = '\0'; len 754 maint/gnulib/lib/quotearg.c return len; len 54 maint/gnulib/lib/readtokens0.c size_t len = obstack_object_size (&t->o_data) - 1; len 57 maint/gnulib/lib/readtokens0.c obstack_grow (&t->o_tok_len, &len, sizeof len); len 74 maint/gnulib/lib/readtokens0.c size_t len = obstack_object_size (&t->o_data); len 78 maint/gnulib/lib/readtokens0.c if (len) len 32 maint/gnulib/lib/recv.c rpl_recv (int fd, void *buf, size_t len, int flags) len 43 maint/gnulib/lib/recv.c int r = recv (sock, buf, len, flags); len 32 maint/gnulib/lib/recvfrom.c rpl_recvfrom (int fd, void *buf, size_t len, int flags, struct sockaddr *from, len 45 maint/gnulib/lib/recvfrom.c int r = recvfrom (sock, buf, len, flags, from, fromlen); len 3385 maint/gnulib/lib/regcomp.c size_t len; len 3401 maint/gnulib/lib/regcomp.c len = weights[idx1 & 0xffffff]; len 3415 maint/gnulib/lib/regcomp.c if (len == weights[idx2 & 0xffffff] && (idx1 >> 24) == (idx2 >> 24) len 3417 maint/gnulib/lib/regcomp.c weights + (idx2 & 0xffffff) + 1, len) == 0) len 20 maint/gnulib/lib/regex_internal.c static void re_string_construct_common (const char *str, Idx len, len 47 maint/gnulib/lib/regex_internal.c re_string_allocate (re_string_t *pstr, const char *str, Idx len, Idx init_len, len 56 maint/gnulib/lib/regex_internal.c init_buf_len = (len + 1 < init_len) ? len + 1: init_len; len 57 maint/gnulib/lib/regex_internal.c re_string_construct_common (str, len, pstr, trans, icase, dfa); len 66 maint/gnulib/lib/regex_internal.c pstr->valid_len = (pstr->mbs_allocated || dfa->mb_cur_max > 1) ? 0 : len; len 75 maint/gnulib/lib/regex_internal.c re_string_construct (re_string_t *pstr, const char *str, Idx len, len 80 maint/gnulib/lib/regex_internal.c re_string_construct_common (str, len, pstr, trans, icase, dfa); len 82 maint/gnulib/lib/regex_internal.c if (len > 0) len 84 maint/gnulib/lib/regex_internal.c ret = re_string_realloc_buffers (pstr, len + 1); len 99 maint/gnulib/lib/regex_internal.c if (pstr->valid_raw_len >= len) len 172 maint/gnulib/lib/regex_internal.c re_string_construct_common (const char *str, Idx len, re_string_t *pstr, len 177 maint/gnulib/lib/regex_internal.c pstr->len = len; len 178 maint/gnulib/lib/regex_internal.c pstr->raw_len = len; len 185 maint/gnulib/lib/regex_internal.c pstr->stop = pstr->len; len 216 maint/gnulib/lib/regex_internal.c end_idx = (pstr->bufs_len > pstr->len) ? pstr->len : pstr->bufs_len; len 241 maint/gnulib/lib/regex_internal.c && pstr->bufs_len >= pstr->len))) len 285 maint/gnulib/lib/regex_internal.c end_idx = (pstr->bufs_len > pstr->len) ? pstr->len : pstr->bufs_len; len 340 maint/gnulib/lib/regex_internal.c || (mbclen == (size_t) -2 && pstr->bufs_len >= pstr->len)) len 426 maint/gnulib/lib/regex_internal.c pstr->len += mbcdlen - mbclen; len 429 maint/gnulib/lib/regex_internal.c end_idx = (pstr->bufs_len > pstr->len) len 430 maint/gnulib/lib/regex_internal.c ? pstr->len : pstr->bufs_len; len 455 maint/gnulib/lib/regex_internal.c || (mbclen == (size_t) -2 && pstr->bufs_len >= pstr->len)) len 532 maint/gnulib/lib/regex_internal.c end_idx = (pstr->bufs_len > pstr->len) ? pstr->len : pstr->bufs_len; len 551 maint/gnulib/lib/regex_internal.c end_idx = (pstr->bufs_len > pstr->len) ? pstr->len : pstr->bufs_len; len 580 maint/gnulib/lib/regex_internal.c pstr->len = pstr->raw_len; len 636 maint/gnulib/lib/regex_internal.c pstr->len = pstr->raw_len - idx + offset; len 683 maint/gnulib/lib/regex_internal.c pstr->len = pstr->raw_len - idx + offset; len 720 maint/gnulib/lib/regex_internal.c Idx mlen = raw + pstr->len - p; len 786 maint/gnulib/lib/regex_internal.c pstr->len -= offset; len 810 maint/gnulib/lib/regex_internal.c pstr->valid_len = pstr->len; len 901 maint/gnulib/lib/regex_internal.c if (__glibc_unlikely (idx == input->len)) len 389 maint/gnulib/lib/regex_internal.h Idx len; len 437 maint/gnulib/lib/regex_internal.h #define re_string_length(pstr) ((pstr)->len) len 817 maint/gnulib/lib/regex_internal.h findidx (table, indirect, extra, &p, pstr->len - idx); len 323 maint/gnulib/lib/regexec.c Idx len; len 327 maint/gnulib/lib/regexec.c || INT_ADD_WRAPV (length1, length2, &len)))) len 334 maint/gnulib/lib/regexec.c s = re_malloc (char, len); len 351 maint/gnulib/lib/regexec.c rval = re_search_stub (bufp, str, len, start, range, stop, regs, len 1095 maint/gnulib/lib/regexec.c && mctx->input.bufs_len < mctx->input.len) len 1097 maint/gnulib/lib/regexec.c && mctx->input.valid_len < mctx->input.len)) len 1661 maint/gnulib/lib/regexec.c && mctx->input.bufs_len < mctx->input.len) len 1663 maint/gnulib/lib/regexec.c && mctx->input.valid_len < mctx->input.len)) len 2653 maint/gnulib/lib/regexec.c if (bkref_str_off + sl_str_diff > mctx->input.len) len 2700 maint/gnulib/lib/regexec.c if (bkref_str_off >= mctx->input.len) len 3624 maint/gnulib/lib/regexec.c if (str_idx + 2 > input->len) len 3657 maint/gnulib/lib/regexec.c if (str_idx + char_len > input->len) len 3960 maint/gnulib/lib/regexec.c MIN (pstr->len, pstr->bufs_len * 2))); len 433 maint/gnulib/lib/relocatable.c int len; len 437 maint/gnulib/lib/relocatable.c len = getline (&shared_library_fullname, &size, fp); len 438 maint/gnulib/lib/relocatable.c if (len >= 0) len 441 maint/gnulib/lib/relocatable.c if (len > 0 && shared_library_fullname[len - 1] == '\n') len 442 maint/gnulib/lib/relocatable.c shared_library_fullname[len - 1] = '\0'; len 185 maint/gnulib/lib/relocwrapper.c size_t len = strlen (libdirs[i]); len 186 maint/gnulib/lib/relocwrapper.c memcpy (p, libdirs[i], len); len 187 maint/gnulib/lib/relocwrapper.c p += len; len 71 maint/gnulib/lib/rename.c size_t len = base_len (src_base); len 72 maint/gnulib/lib/rename.c if (len == 1 || (len == 2 && src_base[1] == '.')) len 80 maint/gnulib/lib/rename.c size_t len = base_len (dst_base); len 81 maint/gnulib/lib/rename.c if (len == 1 || (len == 2 && dst_base[1] == '.')) len 305 maint/gnulib/lib/rename.c size_t len = base_len (src_base); len 306 maint/gnulib/lib/rename.c if (len == 1 || (len == 2 && src_base[1] == '.')) len 314 maint/gnulib/lib/rename.c size_t len = base_len (dst_base); len 315 maint/gnulib/lib/rename.c if (len == 1 || (len == 2 && dst_base[1] == '.')) len 40 maint/gnulib/lib/rmdir.c size_t len = strlen (dir); len 42 maint/gnulib/lib/rmdir.c while (len && ISSLASH (dir[len - 1])) len 43 maint/gnulib/lib/rmdir.c len--; len 44 maint/gnulib/lib/rmdir.c if (len && dir[len - 1] == '.' && (1 == len || ISSLASH (dir[len - 2]))) len 32 maint/gnulib/lib/send.c rpl_send (int fd, const void *buf, size_t len, int flags) len 43 maint/gnulib/lib/send.c int r = send (sock, buf, len, flags); len 32 maint/gnulib/lib/sendto.c rpl_sendto (int fd, const void *buf, size_t len, int flags, len 44 maint/gnulib/lib/sendto.c int r = sendto (sock, buf, len, flags, to, tolen); len 376 maint/gnulib/lib/setenv.c size_t len = strlen (value); len 377 maint/gnulib/lib/setenv.c tmp = malloca (len + 2); len 380 maint/gnulib/lib/setenv.c memcpy (tmp + 1, value, len + 1); len 36 maint/gnulib/lib/sethostname.c sethostname (const char *name, size_t len) len 40 maint/gnulib/lib/sethostname.c if (len > HOST_NAME_MAX) len 60 maint/gnulib/lib/sethostname.c fprintf (hostf, "%.*s\n", (int) len, name); len 117 maint/gnulib/lib/sethostname.c sethostname (const char *name, size_t len) len 125 maint/gnulib/lib/sethostname.c if (len > HOST_NAME_MAX) len 132 maint/gnulib/lib/sethostname.c memcpy (name_asciz, name, len); len 133 maint/gnulib/lib/sethostname.c name_asciz[len] = '\0'; len 121 maint/gnulib/lib/sha1.c sha1_buffer (const char *buffer, size_t len, void *resblock) len 129 maint/gnulib/lib/sha1.c sha1_process_bytes (buffer, len, &ctx); len 136 maint/gnulib/lib/sha1.c sha1_process_bytes (const void *buffer, size_t len, struct sha1_ctx *ctx) len 143 maint/gnulib/lib/sha1.c size_t add = 128 - left_over > len ? len : 128 - left_over; len 161 maint/gnulib/lib/sha1.c len -= add; len 165 maint/gnulib/lib/sha1.c if (len >= 64) len 170 maint/gnulib/lib/sha1.c while (len > 64) len 174 maint/gnulib/lib/sha1.c len -= 64; len 179 maint/gnulib/lib/sha1.c sha1_process_block (buffer, len & ~63, ctx); len 180 maint/gnulib/lib/sha1.c buffer = (const char *) buffer + (len & ~63); len 181 maint/gnulib/lib/sha1.c len &= 63; len 186 maint/gnulib/lib/sha1.c if (len > 0) len 190 maint/gnulib/lib/sha1.c memcpy (&((char *) ctx->buffer)[left_over], buffer, len); len 191 maint/gnulib/lib/sha1.c left_over += len; len 223 maint/gnulib/lib/sha1.c sha1_process_block (const void *buffer, size_t len, struct sha1_ctx *ctx) len 226 maint/gnulib/lib/sha1.c size_t nwords = len / sizeof (uint32_t); len 234 maint/gnulib/lib/sha1.c uint32_t lolen = len; len 240 maint/gnulib/lib/sha1.c ctx->total[1] += (len >> 31 >> 1) + (ctx->total[0] < lolen); len 60 maint/gnulib/lib/sha1.h extern void sha1_process_block (const void *buffer, size_t len, len 67 maint/gnulib/lib/sha1.h extern void sha1_process_bytes (const void *buffer, size_t len, len 87 maint/gnulib/lib/sha1.h extern void *sha1_buffer (const char *buffer, size_t len, len 168 maint/gnulib/lib/sha256.c sha256_buffer (const char *buffer, size_t len, void *resblock) len 176 maint/gnulib/lib/sha256.c sha256_process_bytes (buffer, len, &ctx); len 183 maint/gnulib/lib/sha256.c sha224_buffer (const char *buffer, size_t len, void *resblock) len 191 maint/gnulib/lib/sha256.c sha256_process_bytes (buffer, len, &ctx); len 198 maint/gnulib/lib/sha256.c sha256_process_bytes (const void *buffer, size_t len, struct sha256_ctx *ctx) len 205 maint/gnulib/lib/sha256.c size_t add = 128 - left_over > len ? len : 128 - left_over; len 223 maint/gnulib/lib/sha256.c len -= add; len 227 maint/gnulib/lib/sha256.c if (len >= 64) len 232 maint/gnulib/lib/sha256.c while (len > 64) len 236 maint/gnulib/lib/sha256.c len -= 64; len 241 maint/gnulib/lib/sha256.c sha256_process_block (buffer, len & ~63, ctx); len 242 maint/gnulib/lib/sha256.c buffer = (const char *) buffer + (len & ~63); len 243 maint/gnulib/lib/sha256.c len &= 63; len 248 maint/gnulib/lib/sha256.c if (len > 0) len 252 maint/gnulib/lib/sha256.c memcpy (&((char *) ctx->buffer)[left_over], buffer, len); len 253 maint/gnulib/lib/sha256.c left_over += len; len 298 maint/gnulib/lib/sha256.c sha256_process_block (const void *buffer, size_t len, struct sha256_ctx *ctx) len 301 maint/gnulib/lib/sha256.c size_t nwords = len / sizeof (uint32_t); len 312 maint/gnulib/lib/sha256.c uint32_t lolen = len; len 318 maint/gnulib/lib/sha256.c ctx->total[1] += (len >> 31 >> 1) + (ctx->total[0] < lolen); len 59 maint/gnulib/lib/sha256.h extern void sha256_process_block (const void *buffer, size_t len, len 66 maint/gnulib/lib/sha256.h extern void sha256_process_bytes (const void *buffer, size_t len, len 90 maint/gnulib/lib/sha256.h extern void *sha256_buffer (const char *buffer, size_t len, len 92 maint/gnulib/lib/sha256.h extern void *sha224_buffer (const char *buffer, size_t len, len 169 maint/gnulib/lib/sha512.c sha512_buffer (const char *buffer, size_t len, void *resblock) len 177 maint/gnulib/lib/sha512.c sha512_process_bytes (buffer, len, &ctx); len 184 maint/gnulib/lib/sha512.c sha384_buffer (const char *buffer, size_t len, void *resblock) len 192 maint/gnulib/lib/sha512.c sha512_process_bytes (buffer, len, &ctx); len 199 maint/gnulib/lib/sha512.c sha512_process_bytes (const void *buffer, size_t len, struct sha512_ctx *ctx) len 206 maint/gnulib/lib/sha512.c size_t add = 256 - left_over > len ? len : 256 - left_over; len 224 maint/gnulib/lib/sha512.c len -= add; len 228 maint/gnulib/lib/sha512.c if (len >= 128) len 233 maint/gnulib/lib/sha512.c while (len > 128) len 237 maint/gnulib/lib/sha512.c len -= 128; len 242 maint/gnulib/lib/sha512.c sha512_process_block (buffer, len & ~127, ctx); len 243 maint/gnulib/lib/sha512.c buffer = (const char *) buffer + (len & ~127); len 244 maint/gnulib/lib/sha512.c len &= 127; len 249 maint/gnulib/lib/sha512.c if (len > 0) len 253 maint/gnulib/lib/sha512.c memcpy (&((char *) ctx->buffer)[left_over], buffer, len); len 254 maint/gnulib/lib/sha512.c left_over += len; len 323 maint/gnulib/lib/sha512.c sha512_process_block (const void *buffer, size_t len, struct sha512_ctx *ctx) len 326 maint/gnulib/lib/sha512.c u64 const *endp = words + len / sizeof (u64); len 336 maint/gnulib/lib/sha512.c u64 lolen = u64size (len); len 343 maint/gnulib/lib/sha512.c u64plus (u64size (len >> 31 >> 31 >> 2), len 59 maint/gnulib/lib/sha512.h extern void sha512_process_block (const void *buffer, size_t len, len 66 maint/gnulib/lib/sha512.h extern void sha512_process_bytes (const void *buffer, size_t len, len 93 maint/gnulib/lib/sha512.h extern void *sha512_buffer (const char *buffer, size_t len, len 95 maint/gnulib/lib/sha512.h extern void *sha384_buffer (const char *buffer, size_t len, len 146 maint/gnulib/lib/sm3.c sm3_buffer (const char *buffer, size_t len, void *resblock) len 154 maint/gnulib/lib/sm3.c sm3_process_bytes (buffer, len, &ctx); len 161 maint/gnulib/lib/sm3.c sm3_process_bytes (const void *buffer, size_t len, struct sm3_ctx *ctx) len 168 maint/gnulib/lib/sm3.c size_t add = 128 - left_over > len ? len : 128 - left_over; len 186 maint/gnulib/lib/sm3.c len -= add; len 190 maint/gnulib/lib/sm3.c if (len >= 64) len 195 maint/gnulib/lib/sm3.c while (len > 64) len 199 maint/gnulib/lib/sm3.c len -= 64; len 204 maint/gnulib/lib/sm3.c sm3_process_block (buffer, len & ~63, ctx); len 205 maint/gnulib/lib/sm3.c buffer = (const char *) buffer + (len & ~63); len 206 maint/gnulib/lib/sm3.c len &= 63; len 211 maint/gnulib/lib/sm3.c if (len > 0) len 215 maint/gnulib/lib/sm3.c memcpy (&((char *) ctx->buffer)[left_over], buffer, len); len 216 maint/gnulib/lib/sm3.c left_over += len; len 263 maint/gnulib/lib/sm3.c sm3_process_block (const void *buffer, size_t len, struct sm3_ctx *ctx) len 266 maint/gnulib/lib/sm3.c size_t nwords = len / sizeof (uint32_t); len 277 maint/gnulib/lib/sm3.c uint32_t lolen = len; len 283 maint/gnulib/lib/sm3.c ctx->total[1] += (len >> 31 >> 1) + (ctx->total[0] < lolen); len 64 maint/gnulib/lib/sm3.h extern void sm3_process_block (const void *buffer, size_t len, len 71 maint/gnulib/lib/sm3.h extern void sm3_process_bytes (const void *buffer, size_t len, len 89 maint/gnulib/lib/sm3.h extern void *sm3_buffer (const char *buffer, size_t len, len 40 maint/gnulib/lib/snprintf.c size_t len; len 46 maint/gnulib/lib/snprintf.c len = lenbuf; len 56 maint/gnulib/lib/snprintf.c size_t pruned_len = (len < size ? len : size - 1); len 64 maint/gnulib/lib/snprintf.c if (INT_MAX < len) len 70 maint/gnulib/lib/snprintf.c return len; len 220 maint/gnulib/lib/spawni.c size_t len = strlen (name); len 228 maint/gnulib/lib/spawni.c rlen = len; len 245 maint/gnulib/lib/spawni.c if (rlen == 1 && ISSLASH (name[0]) && len >= 2) len 253 maint/gnulib/lib/spawni.c if (rlen == len) len 731 maint/gnulib/lib/spawni.c size_t len; len 905 maint/gnulib/lib/spawni.c len = confstr (_CS_PATH, (char *) NULL, 0); len 906 maint/gnulib/lib/spawni.c path = (char *) alloca (1 + len); len 908 maint/gnulib/lib/spawni.c (void) confstr (_CS_PATH, path + 1, len); len 915 maint/gnulib/lib/spawni.c len = strlen (file) + 1; len 917 maint/gnulib/lib/spawni.c name = alloca (pathlen + len + 1); len 919 maint/gnulib/lib/spawni.c name = (char *) memcpy (name + pathlen + 1, file, len); len 43 maint/gnulib/lib/sprintf.c size_t len; len 59 maint/gnulib/lib/sprintf.c len = lenbuf; len 73 maint/gnulib/lib/sprintf.c if (len > INT_MAX) len 79 maint/gnulib/lib/sprintf.c return len; len 465 maint/gnulib/lib/stackvma.c size_t len; len 475 maint/gnulib/lib/stackvma.c len = 0; len 476 maint/gnulib/lib/stackvma.c if (sysctl (info_path, 4, NULL, &len, NULL, 0) < 0) len 480 maint/gnulib/lib/stackvma.c len = 2 * len + 200; len 487 maint/gnulib/lib/stackvma.c memneed = len; len 496 maint/gnulib/lib/stackvma.c if (sysctl (info_path, 4, mem, &len, NULL, 0) < 0) len 502 maint/gnulib/lib/stackvma.c p_end = mem + len; len 133 maint/gnulib/lib/stat.c size_t len = strlen (name); len 141 maint/gnulib/lib/stat.c rlen = len; len 158 maint/gnulib/lib/stat.c if (rlen == 1 && ISSLASH (name[0]) && len >= 2) len 166 maint/gnulib/lib/stat.c if (rlen == len) len 428 maint/gnulib/lib/stat.c size_t len = strlen (name); len 429 maint/gnulib/lib/stat.c if (ISSLASH (name[len - 1])) len 771 maint/gnulib/lib/stdlib.in.h _GL_FUNCDECL_RPL (ptsname_r, int, (int fd, char *buf, size_t len)); len 772 maint/gnulib/lib/stdlib.in.h _GL_CXXALIAS_RPL (ptsname_r, int, (int fd, char *buf, size_t len)); len 775 maint/gnulib/lib/stdlib.in.h _GL_FUNCDECL_SYS (ptsname_r, int, (int fd, char *buf, size_t len)); len 777 maint/gnulib/lib/stdlib.in.h _GL_CXXALIAS_SYS (ptsname_r, int, (int fd, char *buf, size_t len)); len 41 maint/gnulib/lib/strdup.c size_t len = strlen (s) + 1; len 42 maint/gnulib/lib/strdup.c void *new = malloc (len); len 47 maint/gnulib/lib/strdup.c return (char *) memcpy (new, s, len); len 40 maint/gnulib/lib/strerror.c size_t len; len 65 maint/gnulib/lib/strerror.c len = strlen (msg); len 66 maint/gnulib/lib/strerror.c if (sizeof buf <= len) len 69 maint/gnulib/lib/strerror.c memcpy (buf, msg, len + 1); len 125 maint/gnulib/lib/strerror_r.c size_t len = strlen (msg); len 126 maint/gnulib/lib/strerror_r.c size_t moved = len < buflen ? len : buflen - 1; len 132 maint/gnulib/lib/strerror_r.c return len < buflen ? 0 : ERANGE; len 220 maint/gnulib/lib/strerror_r.c size_t len; len 222 maint/gnulib/lib/strerror_r.c len = strlen (stackbuf); len 224 maint/gnulib/lib/strerror_r.c if (len + 1 == sizeof stackbuf) len 226 maint/gnulib/lib/strerror_r.c if (buflen <= len) len 126 maint/gnulib/lib/striconveha.c size_t len = strlen (try_in_order[i]) + 1; len 127 maint/gnulib/lib/striconveha.c memcpy (memory, try_in_order[i], len); len 129 maint/gnulib/lib/striconveha.c memory += len; len 235 maint/gnulib/lib/striconveha.c size_t len = strlen (to_codeset); len 236 maint/gnulib/lib/striconveha.c char *to_codeset_suffixed = (char *) malloca (len + 10 + 1); len 237 maint/gnulib/lib/striconveha.c memcpy (to_codeset_suffixed, to_codeset, len); len 238 maint/gnulib/lib/striconveha.c memcpy (to_codeset_suffixed + len, "//TRANSLIT", 10 + 1); len 337 maint/gnulib/lib/striconveha.c size_t len = strlen (to_codeset); len 338 maint/gnulib/lib/striconveha.c char *to_codeset_suffixed = (char *) malloca (len + 10 + 1); len 339 maint/gnulib/lib/striconveha.c memcpy (to_codeset_suffixed, to_codeset, len); len 340 maint/gnulib/lib/striconveha.c memcpy (to_codeset_suffixed + len, "//TRANSLIT", 10 + 1); len 83 maint/gnulib/lib/string-buffer.c size_t len = strlen (str); len 84 maint/gnulib/lib/string-buffer.c if (sb_ensure_more_bytes (buffer, len) < 0) len 89 maint/gnulib/lib/string-buffer.c memcpy (buffer->data + buffer->length, str, len); len 90 maint/gnulib/lib/string-buffer.c buffer->length += len; len 898 maint/gnulib/lib/string.in.h _GL_EXTERN_C size_t mbsnlen (const char *string, size_t len) len 28 maint/gnulib/lib/strndup.c size_t len = strnlen (s, n); len 29 maint/gnulib/lib/strndup.c char *new = malloc (len + 1); len 34 maint/gnulib/lib/strndup.c new[len] = '\0'; len 35 maint/gnulib/lib/strndup.c return memcpy (new, s, len); len 47 maint/gnulib/lib/strptime.c ({ size_t len = strlen (cs1); \ len 48 maint/gnulib/lib/strptime.c int result = __strncasecmp_l ((cs1), (s2), len, locale) == 0; \ len 49 maint/gnulib/lib/strptime.c if (result) (s2) += len; \ len 111 maint/gnulib/lib/strsignal.c int len; len 114 maint/gnulib/lib/strsignal.c len = __snprintf (buffer, BUFFERSIZ - 1, _("Real-time signal %d"), len 118 maint/gnulib/lib/strsignal.c len = __snprintf (buffer, BUFFERSIZ - 1, _("Unknown signal %d"), len 120 maint/gnulib/lib/strsignal.c if (len >= BUFFERSIZ) len 123 maint/gnulib/lib/strsignal.c buffer[len] = '\0'; len 35 maint/gnulib/lib/symlink.c size_t len = strlen (name); len 36 maint/gnulib/lib/symlink.c if (len && name[len - 1] == '/') len 38 maint/gnulib/lib/symlinkat.c size_t len = strlen (name); len 39 maint/gnulib/lib/symlinkat.c if (len && name[len - 1] == '/') len 526 maint/gnulib/lib/sys_socket.in.h _GL_FUNCDECL_RPL (recv, ssize_t, (int fd, void *buf, size_t len, int flags) len 528 maint/gnulib/lib/sys_socket.in.h _GL_CXXALIAS_RPL (recv, ssize_t, (int fd, void *buf, size_t len, int flags)); len 533 maint/gnulib/lib/sys_socket.in.h _GL_CXXALIAS_SYS_CAST (recv, ssize_t, (int fd, void *buf, size_t len, int flags)); len 554 maint/gnulib/lib/sys_socket.in.h (int fd, const void *buf, size_t len, int flags) len 557 maint/gnulib/lib/sys_socket.in.h (int fd, const void *buf, size_t len, int flags)); len 563 maint/gnulib/lib/sys_socket.in.h (int fd, const void *buf, size_t len, int flags)); len 584 maint/gnulib/lib/sys_socket.in.h (int fd, void *restrict buf, size_t len, int flags, len 589 maint/gnulib/lib/sys_socket.in.h (int fd, void *restrict buf, size_t len, int flags, len 596 maint/gnulib/lib/sys_socket.in.h (int fd, void *restrict buf, size_t len, int flags, len 619 maint/gnulib/lib/sys_socket.in.h (int fd, const void *buf, size_t len, int flags, len 623 maint/gnulib/lib/sys_socket.in.h (int fd, const void *buf, size_t len, int flags, len 629 maint/gnulib/lib/sys_socket.in.h (int fd, const void *buf, size_t len, int flags, len 62 maint/gnulib/lib/system-quote.c size_t len = strlen (string); len 64 maint/gnulib/lib/system-quote.c (len == 0 || strpbrk (string, SHELL_SPECIAL_CHARS) != NULL); len 78 maint/gnulib/lib/system-quote.c for (; len > 0; string++, len--) len 129 maint/gnulib/lib/system-quote.c size_t len = strlen (string); len 131 maint/gnulib/lib/system-quote.c (len == 0 || strpbrk (string, CMD_SPECIAL_CHARS) != NULL); len 145 maint/gnulib/lib/system-quote.c for (; len > 0; string++, len--) len 241 maint/gnulib/lib/tempname.c size_t len; len 285 maint/gnulib/lib/tempname.c len = strlen (tmpl); len 286 maint/gnulib/lib/tempname.c if (len < x_suffix_len + suffixlen len 287 maint/gnulib/lib/tempname.c || strspn (&tmpl[len - x_suffix_len - suffixlen], "X") < x_suffix_len) len 294 maint/gnulib/lib/tempname.c XXXXXX = &tmpl[len - x_suffix_len - suffixlen]; len 96 maint/gnulib/lib/textstyle.in.h ostream_write_mem (ostream_t stream, const void *data, size_t len) len 98 maint/gnulib/lib/textstyle.in.h if (len > 0) len 99 maint/gnulib/lib/textstyle.in.h fwrite (data, 1, len, stream); len 107 maint/gnulib/lib/tmpfile.c size_t len = strlen (xtemplate); len 113 maint/gnulib/lib/tmpfile.c memcpy (&xtemplate[len - 6], "XXXXXX", 6); len 50 maint/gnulib/lib/truncate.c size_t len = strlen (filename); len 51 maint/gnulib/lib/truncate.c if (len && filename[len - 1] == '/') len 186 maint/gnulib/lib/uchar.in.h (char *dest, const char32_t **srcp, size_t srclen, size_t len, len 190 maint/gnulib/lib/uchar.in.h (char *dest, const char32_t **srcp, size_t srclen, size_t len, len 199 maint/gnulib/lib/uchar.in.h (char *dest, const char32_t **srcp, size_t len, mbstate_t *ps) len 202 maint/gnulib/lib/uchar.in.h (char *dest, const char32_t **srcp, size_t len, len 211 maint/gnulib/lib/uchar.in.h (char *dest, const char32_t *src, size_t len) len 214 maint/gnulib/lib/uchar.in.h (char *dest, const char32_t *src, size_t len)); len 261 maint/gnulib/lib/uchar.in.h (char32_t *dest, const char **srcp, size_t srclen, size_t len, len 265 maint/gnulib/lib/uchar.in.h (char32_t *dest, const char **srcp, size_t srclen, size_t len, len 274 maint/gnulib/lib/uchar.in.h (char32_t *dest, const char **srcp, size_t len, mbstate_t *ps) len 277 maint/gnulib/lib/uchar.in.h (char32_t *dest, const char **srcp, size_t len, len 286 maint/gnulib/lib/uchar.in.h (char32_t *dest, const char *src, size_t len) len 289 maint/gnulib/lib/uchar.in.h (char32_t *dest, const char *src, size_t len)); len 69 maint/gnulib/lib/unicase/special-casing.in.h gl_unicase_special_lookup (const char *str, size_t len); len 38 maint/gnulib/lib/unictype/bidi_byname.c size_t len; len 40 maint/gnulib/lib/unictype/bidi_byname.c len = strlen (bidi_class_name); len 41 maint/gnulib/lib/unictype/bidi_byname.c if (len <= MAX_WORD_LENGTH) len 65 maint/gnulib/lib/unictype/bidi_byname.c found = uc_bidi_class_lookup (buf, len); len 84 maint/gnulib/lib/unictype/categ_byname.c size_t len; len 86 maint/gnulib/lib/unictype/categ_byname.c len = strlen (category_name); len 87 maint/gnulib/lib/unictype/categ_byname.c if (len <= MAX_WORD_LENGTH) len 111 maint/gnulib/lib/unictype/categ_byname.c found = uc_general_category_lookup (buf, len); len 38 maint/gnulib/lib/unictype/combiningclass_byname.c size_t len; len 40 maint/gnulib/lib/unictype/combiningclass_byname.c len = strlen (ccc_name); len 41 maint/gnulib/lib/unictype/combiningclass_byname.c if (len <= MAX_WORD_LENGTH) len 65 maint/gnulib/lib/unictype/combiningclass_byname.c found = uc_combining_class_lookup (buf, len); len 38 maint/gnulib/lib/unictype/joininggroup_byname.c size_t len; len 40 maint/gnulib/lib/unictype/joininggroup_byname.c len = strlen (joining_group_name); len 41 maint/gnulib/lib/unictype/joininggroup_byname.c if (len <= MAX_WORD_LENGTH) len 65 maint/gnulib/lib/unictype/joininggroup_byname.c found = uc_joining_group_lookup (buf, len); len 38 maint/gnulib/lib/unictype/joiningtype_byname.c size_t len; len 40 maint/gnulib/lib/unictype/joiningtype_byname.c len = strlen (joining_type_name); len 41 maint/gnulib/lib/unictype/joiningtype_byname.c if (len <= MAX_WORD_LENGTH) len 65 maint/gnulib/lib/unictype/joiningtype_byname.c found = uc_joining_type_lookup (buf, len); len 369 maint/gnulib/lib/uniname/uniname.c size_t len = strlen (name); len 370 maint/gnulib/lib/uniname/uniname.c if (len > 1 && len <= UNICODE_CHARNAME_MAX_LENGTH) len 381 maint/gnulib/lib/uniname/uniname.c if (--len == 0) len 421 maint/gnulib/lib/unistd.in.h size_t len, unsigned flags)); len 424 maint/gnulib/lib/unistd.in.h size_t len, unsigned flags)); len 1122 maint/gnulib/lib/unistd.in.h _GL_FUNCDECL_RPL (getdomainname, int, (char *name, size_t len) len 1124 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_RPL (getdomainname, int, (char *name, size_t len)); len 1127 maint/gnulib/lib/unistd.in.h _GL_FUNCDECL_SYS (getdomainname, int, (char *name, size_t len) len 1130 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_SYS (getdomainname, int, (char *name, size_t len)); len 1228 maint/gnulib/lib/unistd.in.h _GL_FUNCDECL_RPL (gethostname, int, (char *name, size_t len) len 1230 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_RPL (gethostname, int, (char *name, size_t len)); len 1233 maint/gnulib/lib/unistd.in.h _GL_FUNCDECL_SYS (gethostname, int, (char *name, size_t len) len 1239 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_SYS_CAST (gethostname, int, (char *name, size_t len)); len 1906 maint/gnulib/lib/unistd.in.h char *restrict buf, size_t len) len 1910 maint/gnulib/lib/unistd.in.h char *restrict buf, size_t len)); len 1915 maint/gnulib/lib/unistd.in.h char *restrict buf, size_t len) len 1920 maint/gnulib/lib/unistd.in.h char *restrict buf, size_t len)); len 1983 maint/gnulib/lib/unistd.in.h _GL_FUNCDECL_SYS (sethostname, int, (const char *name, size_t len) len 1989 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_SYS_CAST (sethostname, int, (const char *name, size_t len)); len 48 maint/gnulib/lib/unistdio/ulc-fprintf.c size_t len; len 54 maint/gnulib/lib/unistdio/ulc-fprintf.c len = lenbuf; len 63 maint/gnulib/lib/unistdio/ulc-fprintf.c if (fwrite (output, 1, len, fp) < len) len 74 maint/gnulib/lib/unistdio/ulc-fprintf.c if (len > INT_MAX) len 81 maint/gnulib/lib/unistdio/ulc-fprintf.c return len; len 48 maint/gnulib/lib/unistdio/ulc-vfprintf.c size_t len; len 52 maint/gnulib/lib/unistdio/ulc-vfprintf.c len = lenbuf; len 60 maint/gnulib/lib/unistdio/ulc-vfprintf.c if (fwrite (output, 1, len, fp) < len) len 71 maint/gnulib/lib/unistdio/ulc-vfprintf.c if (len > INT_MAX) len 78 maint/gnulib/lib/unistdio/ulc-vfprintf.c return len; len 29 maint/gnulib/lib/unistr/u-endswith.h size_t len = U_STRLEN (str); len 32 maint/gnulib/lib/unistr/u-endswith.h if (len >= suffixlen) len 33 maint/gnulib/lib/unistr/u-endswith.h return (U_CMP (str + (len - suffixlen), suffix, suffixlen) == 0); len 41 maint/gnulib/lib/unlink.c size_t len = strlen (name); len 43 maint/gnulib/lib/unlink.c if (len && ISSLASH (name[len - 1])) len 69 maint/gnulib/lib/unlink.c char *short_name = malloc (len); len 72 maint/gnulib/lib/unlink.c memcpy (short_name, name, len); len 73 maint/gnulib/lib/unlink.c while (len && ISSLASH (short_name[len - 1])) len 74 maint/gnulib/lib/unlink.c short_name[--len] = '\0'; len 75 maint/gnulib/lib/unlink.c if (len && (lstat (short_name, &st) || S_ISLNK (st.st_mode))) len 88 maint/gnulib/lib/unlink.c if (len >= 2 && name[len - 1] == '.' && name[len - 2] == '.' len 89 maint/gnulib/lib/unlink.c && (len == 2 || ISSLASH (name[len - 3]))) len 48 maint/gnulib/lib/unlinkat.c size_t len; len 54 maint/gnulib/lib/unlinkat.c len = strlen (name); len 55 maint/gnulib/lib/unlinkat.c if (len && ISSLASH (name[len - 1])) len 65 maint/gnulib/lib/unlinkat.c char *short_name = malloc (len); len 71 maint/gnulib/lib/unlinkat.c memcpy (short_name, name, len); len 72 maint/gnulib/lib/unlinkat.c while (len && ISSLASH (short_name[len - 1])) len 73 maint/gnulib/lib/unlinkat.c short_name[--len] = '\0'; len 74 maint/gnulib/lib/unlinkat.c if (len && (lstatat (fd, short_name, &st) || S_ISLNK (st.st_mode))) len 87 maint/gnulib/lib/unlinkat.c if (len >= 2 && name[len - 1] == '.' && name[len - 2] == '.' len 88 maint/gnulib/lib/unlinkat.c && (len == 2 || ISSLASH (name[len - 3]))) len 59 maint/gnulib/lib/unsetenv.c size_t len; len 68 maint/gnulib/lib/unsetenv.c len = strlen (name); len 74 maint/gnulib/lib/unsetenv.c if (!strncmp (*ep, name, len) && (*ep)[len] == '=') len 51 maint/gnulib/lib/utime.c size_t len = strlen (name); len 59 maint/gnulib/lib/utime.c rlen = len; len 70 maint/gnulib/lib/utime.c if (rlen == len) len 275 maint/gnulib/lib/utime.c size_t len = strlen (name); len 276 maint/gnulib/lib/utime.c if (len > 0 && ISSLASH (name[len - 1])) len 253 maint/gnulib/lib/utimens.c size_t len = strlen (file); len 254 maint/gnulib/lib/utimens.c if (len > 0 && file[len - 1] == '/') len 42 maint/gnulib/lib/utimensat.c size_t len = strlen (file); len 43 maint/gnulib/lib/utimensat.c if (len && file[len - 1] == '/') len 151 maint/gnulib/lib/utimensat.c size_t len = strlen (file); len 152 maint/gnulib/lib/utimensat.c if (len > 0 && file[len - 1] == '/') len 37 maint/gnulib/lib/vdprintf.c size_t len; len 41 maint/gnulib/lib/vdprintf.c len = lenbuf; len 46 maint/gnulib/lib/vdprintf.c if (full_write (fd, output, len) < len) len 56 maint/gnulib/lib/vdprintf.c if (len > INT_MAX) len 62 maint/gnulib/lib/vdprintf.c return len; len 40 maint/gnulib/lib/vfprintf.c size_t len; len 44 maint/gnulib/lib/vfprintf.c len = lenbuf; len 52 maint/gnulib/lib/vfprintf.c if (fwrite (output, 1, len, fp) < len) len 62 maint/gnulib/lib/vfprintf.c if (len > INT_MAX) len 69 maint/gnulib/lib/vfprintf.c return len; len 603 maint/gnulib/lib/vma-iter.c size_t len; len 613 maint/gnulib/lib/vma-iter.c len = 0; len 614 maint/gnulib/lib/vma-iter.c if (sysctl (info_path, 4, NULL, &len, NULL, 0) < 0) len 618 maint/gnulib/lib/vma-iter.c len = 2 * len + 200; len 625 maint/gnulib/lib/vma-iter.c memneed = len; len 634 maint/gnulib/lib/vma-iter.c if (sysctl (info_path, 4, mem, &len, NULL, 0) < 0) len 640 maint/gnulib/lib/vma-iter.c p_end = mem + len; len 687 maint/gnulib/lib/vma-iter.c size_t len; len 697 maint/gnulib/lib/vma-iter.c len = 0; len 698 maint/gnulib/lib/vma-iter.c if (sysctl (info_path, 5, NULL, &len, NULL, 0) < 0) len 702 maint/gnulib/lib/vma-iter.c len = 2 * len + 10 * entry_size; len 704 maint/gnulib/lib/vma-iter.c if (len > 0x100000) len 705 maint/gnulib/lib/vma-iter.c len = 0x100000; len 708 maint/gnulib/lib/vma-iter.c len = (len / entry_size) * entry_size; len 715 maint/gnulib/lib/vma-iter.c memneed = len; len 724 maint/gnulib/lib/vma-iter.c if (sysctl (info_path, 5, mem, &len, NULL, 0) < 0 len 725 maint/gnulib/lib/vma-iter.c || len > 0x100000 - entry_size) len 732 maint/gnulib/lib/vma-iter.c p_end = mem + len; len 774 maint/gnulib/lib/vma-iter.c size_t len; len 784 maint/gnulib/lib/vma-iter.c len = 0; len 785 maint/gnulib/lib/vma-iter.c if (sysctl (info_path, 3, NULL, &len, NULL, 0) < 0) len 789 maint/gnulib/lib/vma-iter.c len = 2 * len + 10 * sizeof (struct kinfo_vmentry); len 791 maint/gnulib/lib/vma-iter.c if (len > 0x10000) len 792 maint/gnulib/lib/vma-iter.c len = 0x10000; len 795 maint/gnulib/lib/vma-iter.c len = (len / sizeof (struct kinfo_vmentry)) * sizeof (struct kinfo_vmentry); len 802 maint/gnulib/lib/vma-iter.c memneed = len; len 811 maint/gnulib/lib/vma-iter.c if (sysctl (info_path, 3, mem, &len, NULL, 0) < 0 len 812 maint/gnulib/lib/vma-iter.c || len > 0x10000 - sizeof (struct kinfo_vmentry)) len 819 maint/gnulib/lib/vma-iter.c p_end = mem + len; len 42 maint/gnulib/lib/vsnprintf.c size_t len; len 46 maint/gnulib/lib/vsnprintf.c len = lenbuf; len 55 maint/gnulib/lib/vsnprintf.c size_t pruned_len = (len < size ? len : size - 1); len 63 maint/gnulib/lib/vsnprintf.c if (len > INT_MAX) len 69 maint/gnulib/lib/vsnprintf.c return len; len 43 maint/gnulib/lib/vsprintf.c size_t len; len 57 maint/gnulib/lib/vsprintf.c len = lenbuf; len 70 maint/gnulib/lib/vsprintf.c if (len > INT_MAX) len 76 maint/gnulib/lib/vsprintf.c return len; len 346 maint/gnulib/lib/wchar.in.h const char **restrict srcp, size_t len, len 351 maint/gnulib/lib/wchar.in.h const char **restrict srcp, size_t len, len 357 maint/gnulib/lib/wchar.in.h const char **restrict srcp, size_t len, len 363 maint/gnulib/lib/wchar.in.h const char **restrict srcp, size_t len, len 387 maint/gnulib/lib/wchar.in.h const char **restrict srcp, size_t srclen, size_t len, len 392 maint/gnulib/lib/wchar.in.h const char **restrict srcp, size_t srclen, size_t len, len 398 maint/gnulib/lib/wchar.in.h const char **restrict srcp, size_t srclen, size_t len, len 404 maint/gnulib/lib/wchar.in.h const char **restrict srcp, size_t srclen, size_t len, len 457 maint/gnulib/lib/wchar.in.h size_t len, len 462 maint/gnulib/lib/wchar.in.h size_t len, len 468 maint/gnulib/lib/wchar.in.h size_t len, len 474 maint/gnulib/lib/wchar.in.h size_t len, len 499 maint/gnulib/lib/wchar.in.h size_t len, len 505 maint/gnulib/lib/wchar.in.h size_t len, len 512 maint/gnulib/lib/wchar.in.h size_t len, len 519 maint/gnulib/lib/wchar.in.h size_t len, len 19 maint/gnulib/lib/wcsnrtombs-impl.h FUNC (char *dest, const SCHAR_T **srcp, size_t srclen, size_t len, mbstate_t *ps) len 35 maint/gnulib/lib/wcsnrtombs-impl.h for (; srclen > 0 && len > 0; src++, srclen--) len 38 maint/gnulib/lib/wcsnrtombs-impl.h size_t ret = WCRTOMB (len >= cur_max ? destptr : buf, wc, ps); len 44 maint/gnulib/lib/wcsnrtombs-impl.h if (len < ret) len 46 maint/gnulib/lib/wcsnrtombs-impl.h if (len < cur_max) len 55 maint/gnulib/lib/wcsnrtombs-impl.h len -= ret; len 19 maint/gnulib/lib/wcsrtombs-impl.h FUNC (char *dest, const SCHAR_T **srcp, size_t len, mbstate_t *ps) len 35 maint/gnulib/lib/wcsrtombs-impl.h for (; len > 0; src++) len 38 maint/gnulib/lib/wcsrtombs-impl.h size_t ret = WCRTOMB (len >= cur_max ? destptr : buf, wc, ps); len 44 maint/gnulib/lib/wcsrtombs-impl.h if (len < ret) len 46 maint/gnulib/lib/wcsrtombs-impl.h if (len < cur_max) len 55 maint/gnulib/lib/wcsrtombs-impl.h len -= ret; len 31 maint/gnulib/lib/wcsrtombs.c rpl_wcsrtombs (char *dest, const wchar_t **srcp, size_t len, mbstate_t *ps) len 44 maint/gnulib/lib/wcsrtombs.c return wcsrtombs (dest, srcp, len, ps); len 66 maint/gnulib/lib/xvasprintf.c size_t len = strlen (next); len 67 maint/gnulib/lib/xvasprintf.c memcpy (p, next, len); len 68 maint/gnulib/lib/xvasprintf.c p += len; len 44 maint/gnulib/tests/mmap-anon-util.h munmap (void *addr, size_t len) len 46 maint/gnulib/tests/mmap-anon-util.h if (VirtualFree (addr, len, MEM_DECOMMIT)) len 53 maint/gnulib/tests/mmap-anon-util.h mprotect (void *addr, size_t len, int prot) len 57 maint/gnulib/tests/mmap-anon-util.h if (VirtualProtect (addr, len, prot, &oldprot)) len 38 maint/gnulib/tests/test-argv-iter.c size_t len = strlen (*argv) + 1; len 39 maint/gnulib/tests/test-argv-iter.c ASSERT (fwrite (*argv, len, 1, fp) == 1); len 37 maint/gnulib/tests/test-base32.c idx_t len; len 92 maint/gnulib/tests/test-base32.c len = 0; len 93 maint/gnulib/tests/test-base32.c ok = base32_decode (b32in, 8, out, &len); len 95 maint/gnulib/tests/test-base32.c ASSERT (len == 0); len 98 maint/gnulib/tests/test-base32.c len = 1; len 99 maint/gnulib/tests/test-base32.c ok = base32_decode (b32in, 8, out, &len); len 101 maint/gnulib/tests/test-base32.c ASSERT (len == 1); len 105 maint/gnulib/tests/test-base32.c len = 2; len 106 maint/gnulib/tests/test-base32.c ok = base32_decode (b32in, 8, out, &len); len 108 maint/gnulib/tests/test-base32.c ASSERT (len == 2); len 112 maint/gnulib/tests/test-base32.c len = 3; len 113 maint/gnulib/tests/test-base32.c ok = base32_decode (b32in, 8, out, &len); len 115 maint/gnulib/tests/test-base32.c ASSERT (len == 3); len 119 maint/gnulib/tests/test-base32.c len = 4; len 120 maint/gnulib/tests/test-base32.c ok = base32_decode (b32in, 8, out, &len); len 122 maint/gnulib/tests/test-base32.c ASSERT (len == 4); len 126 maint/gnulib/tests/test-base32.c len = 5; len 127 maint/gnulib/tests/test-base32.c ok = base32_decode (b32in, 8, out, &len); len 129 maint/gnulib/tests/test-base32.c ASSERT (len == 5); len 133 maint/gnulib/tests/test-base32.c len = 6; len 134 maint/gnulib/tests/test-base32.c ok = base32_decode (b32in, 8, out, &len); len 136 maint/gnulib/tests/test-base32.c ASSERT (len == 5); len 140 maint/gnulib/tests/test-base32.c len = 100; len 141 maint/gnulib/tests/test-base32.c ok = base32_decode (b32in, strlen (b32in), out, &len); len 143 maint/gnulib/tests/test-base32.c ASSERT (len == 16); len 148 maint/gnulib/tests/test-base32.c len = base32_encode_alloc (in, strlen (in), &p); len 149 maint/gnulib/tests/test-base32.c ASSERT (len == 32); len 153 maint/gnulib/tests/test-base32.c len = base32_encode_alloc (in, IDX_MAX - 5, &p); len 154 maint/gnulib/tests/test-base32.c ASSERT (len == 0); len 162 maint/gnulib/tests/test-base32.c len = sizeof (out); len 163 maint/gnulib/tests/test-base32.c ok = base32_decode_ctx (&ctx, b32in, strlen (b32in), out, &len); len 165 maint/gnulib/tests/test-base32.c ASSERT (len == 16); len 166 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "abcdefghijklmnop", len) == 0); len 171 maint/gnulib/tests/test-base32.c ok = base32_decode_alloc_ctx (NULL, b32in, strlen (b32in), &p, &len); len 173 maint/gnulib/tests/test-base32.c ASSERT (len == 16); len 174 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "abcdefghijklmnop", len) == 0); len 183 maint/gnulib/tests/test-base32.c ok = base32_decode_alloc_ctx (&ctx, newlineb32, strlen (newlineb32), &p, &len); len 185 maint/gnulib/tests/test-base32.c ASSERT (len == strlen (in)); len 186 maint/gnulib/tests/test-base32.c ASSERT (memcmp (p, in, len) == 0); len 194 maint/gnulib/tests/test-base32.c ok = base32_decode_alloc_ctx (&ctx, "MFRGGZDFM\nZTWQ2LK", 17, &p, &len); len 196 maint/gnulib/tests/test-base32.c ASSERT (len == 10); len 197 maint/gnulib/tests/test-base32.c ASSERT (memcmp (p, "abcdefghij", len) == 0); len 202 maint/gnulib/tests/test-base32.c ok = base32_decode_alloc_ctx (&ctx, "MF\n", 3, &p, &len); len 204 maint/gnulib/tests/test-base32.c ASSERT (len == 0); len 207 maint/gnulib/tests/test-base32.c ok = base32_decode_alloc_ctx (&ctx, "RGGZDFMZ", 8, &p, &len); len 209 maint/gnulib/tests/test-base32.c ASSERT (len == 5); len 210 maint/gnulib/tests/test-base32.c ASSERT (memcmp (p, "abcde", len) == 0); len 213 maint/gnulib/tests/test-base32.c ok = base32_decode_alloc_ctx (&ctx, "TWQ2LK", 6, &p, &len); len 215 maint/gnulib/tests/test-base32.c ASSERT (len == 5); len 216 maint/gnulib/tests/test-base32.c ASSERT (memcmp (p, "fghij", len) == 0); len 219 maint/gnulib/tests/test-base32.c ok = base32_decode_alloc_ctx (&ctx, "", 0, &p, &len); len 230 maint/gnulib/tests/test-base32.c ok = base32_decode_alloc_ctx (&ctx, newlineb32, strlen (newlineb32), &p, &len); len 232 maint/gnulib/tests/test-base32.c ASSERT (len == 0); len 236 maint/gnulib/tests/test-base32.c ok = base32_decode_alloc_ctx (NULL, " ! ", 3, &p, &len); len 239 maint/gnulib/tests/test-base32.c ok = base32_decode_alloc_ctx (NULL, "ABC\nDEF", 7, &p, &len); len 242 maint/gnulib/tests/test-base32.c ok = base32_decode_alloc_ctx (NULL, "AA", 2, &p, &len); len 245 maint/gnulib/tests/test-base32.c ok = base32_decode_alloc_ctx (NULL, "AA=", 3, &p, &len); len 248 maint/gnulib/tests/test-base32.c ok = base32_decode_alloc_ctx (NULL, "AABBAAxx", 8, &p, &len); len 251 maint/gnulib/tests/test-base32.c ok = base32_decode_alloc_ctx (NULL, "AABBAA=X", 8, &p, &len); len 254 maint/gnulib/tests/test-base32.c ok = base32_decode_alloc_ctx (NULL, "AABBAA=X", 8, &p, &len); len 257 maint/gnulib/tests/test-base32.c ok = base32_decode_alloc_ctx (NULL, "AABBAA=A", 8, &p, &len); len 36 maint/gnulib/tests/test-base64.c idx_t len; len 83 maint/gnulib/tests/test-base64.c len = 0; len 84 maint/gnulib/tests/test-base64.c ok = base64_decode (b64in, 4, out, &len); len 86 maint/gnulib/tests/test-base64.c ASSERT (len == 0); len 89 maint/gnulib/tests/test-base64.c len = 1; len 90 maint/gnulib/tests/test-base64.c ok = base64_decode (b64in, 4, out, &len); len 92 maint/gnulib/tests/test-base64.c ASSERT (len == 1); len 96 maint/gnulib/tests/test-base64.c len = 2; len 97 maint/gnulib/tests/test-base64.c ok = base64_decode (b64in, 4, out, &len); len 99 maint/gnulib/tests/test-base64.c ASSERT (len == 2); len 103 maint/gnulib/tests/test-base64.c len = 3; len 104 maint/gnulib/tests/test-base64.c ok = base64_decode (b64in, 4, out, &len); len 106 maint/gnulib/tests/test-base64.c ASSERT (len == 3); len 110 maint/gnulib/tests/test-base64.c len = 4; len 111 maint/gnulib/tests/test-base64.c ok = base64_decode (b64in, 4, out, &len); len 113 maint/gnulib/tests/test-base64.c ASSERT (len == 3); len 117 maint/gnulib/tests/test-base64.c len = 100; len 118 maint/gnulib/tests/test-base64.c ok = base64_decode (b64in, strlen (b64in), out, &len); len 120 maint/gnulib/tests/test-base64.c ASSERT (len == 7); len 125 maint/gnulib/tests/test-base64.c len = base64_encode_alloc (in, strlen (in), &p); len 126 maint/gnulib/tests/test-base64.c ASSERT (len == 24); len 130 maint/gnulib/tests/test-base64.c len = base64_encode_alloc (in, IDX_MAX - 5, &p); len 131 maint/gnulib/tests/test-base64.c ASSERT (len == 0); len 139 maint/gnulib/tests/test-base64.c len = sizeof (out); len 140 maint/gnulib/tests/test-base64.c ok = base64_decode_ctx (&ctx, b64in, strlen (b64in), out, &len); len 142 maint/gnulib/tests/test-base64.c ASSERT (len == 7); len 143 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "abcdefg", len) == 0); len 148 maint/gnulib/tests/test-base64.c ok = base64_decode_alloc_ctx (NULL, b64in, strlen (b64in), &p, &len); len 150 maint/gnulib/tests/test-base64.c ASSERT (len == 7); len 151 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "abcdefg", len) == 0); len 160 maint/gnulib/tests/test-base64.c ok = base64_decode_alloc_ctx (&ctx, newlineb64, strlen (newlineb64), &p, &len); len 162 maint/gnulib/tests/test-base64.c ASSERT (len == strlen (in)); len 163 maint/gnulib/tests/test-base64.c ASSERT (memcmp (p, in, len) == 0); len 171 maint/gnulib/tests/test-base64.c ok = base64_decode_alloc_ctx (&ctx, "YW\nJjZGVmZ2hp", 13, &p, &len); len 173 maint/gnulib/tests/test-base64.c ASSERT (len == 9); len 174 maint/gnulib/tests/test-base64.c ASSERT (memcmp (p, "abcdefghi", len) == 0); len 179 maint/gnulib/tests/test-base64.c ok = base64_decode_alloc_ctx (&ctx, "YW\n", 3, &p, &len); len 181 maint/gnulib/tests/test-base64.c ASSERT (len == 0); len 184 maint/gnulib/tests/test-base64.c ok = base64_decode_alloc_ctx (&ctx, "JjZGVmZ2", 8, &p, &len); len 186 maint/gnulib/tests/test-base64.c ASSERT (len == 6); len 187 maint/gnulib/tests/test-base64.c ASSERT (memcmp (p, "abcdef", len) == 0); len 190 maint/gnulib/tests/test-base64.c ok = base64_decode_alloc_ctx (&ctx, "hp", 2, &p, &len); len 192 maint/gnulib/tests/test-base64.c ASSERT (len == 3); len 193 maint/gnulib/tests/test-base64.c ASSERT (memcmp (p, "ghi", len) == 0); len 196 maint/gnulib/tests/test-base64.c ok = base64_decode_alloc_ctx (&ctx, "", 0, &p, &len); len 207 maint/gnulib/tests/test-base64.c ok = base64_decode_alloc_ctx (&ctx, newlineb64, strlen (newlineb64), &p, &len); len 209 maint/gnulib/tests/test-base64.c ASSERT (len == 0); len 213 maint/gnulib/tests/test-base64.c ok = base64_decode_alloc_ctx (NULL, " ! ", 3, &p, &len); len 216 maint/gnulib/tests/test-base64.c ok = base64_decode_alloc_ctx (NULL, "abc\ndef", 7, &p, &len); len 219 maint/gnulib/tests/test-base64.c ok = base64_decode_alloc_ctx (NULL, "aa", 2, &p, &len); len 222 maint/gnulib/tests/test-base64.c ok = base64_decode_alloc_ctx (NULL, "aa=", 3, &p, &len); len 225 maint/gnulib/tests/test-base64.c ok = base64_decode_alloc_ctx (NULL, "aax", 3, &p, &len); len 228 maint/gnulib/tests/test-base64.c ok = base64_decode_alloc_ctx (NULL, "aa=X", 4, &p, &len); len 231 maint/gnulib/tests/test-base64.c ok = base64_decode_alloc_ctx (NULL, "aa=X", 4, &p, &len); len 234 maint/gnulib/tests/test-base64.c ok = base64_decode_alloc_ctx (NULL, "aax=X", 5, &p, &len); len 76 maint/gnulib/tests/test-fchdir.c size_t len = strlen (cwd) + 1; len 77 maint/gnulib/tests/test-fchdir.c char *new_dir = malloc (len); len 79 maint/gnulib/tests/test-fchdir.c ASSERT (getcwd (new_dir, len) == new_dir); len 58 maint/gnulib/tests/test-getcwd-lgpl.c size_t len = strlen (pwd1); len 59 maint/gnulib/tests/test-getcwd-lgpl.c ssize_t i = len - 10; len 62 maint/gnulib/tests/test-getcwd-lgpl.c pwd2 = getcwd (NULL, len + 1); len 65 maint/gnulib/tests/test-getcwd-lgpl.c pwd2 = malloc (len + 2); len 66 maint/gnulib/tests/test-getcwd-lgpl.c for ( ; i <= len; i++) len 85 maint/gnulib/tests/test-getcwd-lgpl.c ASSERT (getcwd (pwd2, len + 1) == pwd2); len 86 maint/gnulib/tests/test-getcwd-lgpl.c pwd2[len] = '/'; len 87 maint/gnulib/tests/test-getcwd-lgpl.c pwd2[len + 1] = '\0'; len 36 maint/gnulib/tests/test-getdelim.c size_t len; len 57 maint/gnulib/tests/test-getdelim.c len = 0; len 58 maint/gnulib/tests/test-getdelim.c result = getdelim (&line, &len, 'n', f); len 61 maint/gnulib/tests/test-getdelim.c ASSERT (2 < len); len 66 maint/gnulib/tests/test-getdelim.c len = (size_t)(~0) / 4; len 67 maint/gnulib/tests/test-getdelim.c result = getdelim (&line, &len, 'n', f); len 70 maint/gnulib/tests/test-getdelim.c ASSERT (2 < len); len 75 maint/gnulib/tests/test-getdelim.c len = 1; len 76 maint/gnulib/tests/test-getdelim.c result = getdelim (&line, &len, 'n', f); len 79 maint/gnulib/tests/test-getdelim.c ASSERT (3 < len); len 82 maint/gnulib/tests/test-getdelim.c result = getdelim (&line, &len, 'n', f); len 85 maint/gnulib/tests/test-getdelim.c ASSERT (3 < len); len 87 maint/gnulib/tests/test-getdelim.c result = getdelim (&line, &len, 'n', f); len 36 maint/gnulib/tests/test-getline.c size_t len; len 57 maint/gnulib/tests/test-getline.c len = 0; len 58 maint/gnulib/tests/test-getline.c result = getline (&line, &len, f); len 61 maint/gnulib/tests/test-getline.c ASSERT (2 < len); len 66 maint/gnulib/tests/test-getline.c len = (size_t)(~0) / 4; len 67 maint/gnulib/tests/test-getline.c result = getline (&line, &len, f); len 70 maint/gnulib/tests/test-getline.c ASSERT (2 < len); len 74 maint/gnulib/tests/test-getline.c len = 1; len 75 maint/gnulib/tests/test-getline.c line = malloc (len); len 76 maint/gnulib/tests/test-getline.c result = getline (&line, &len, f); len 79 maint/gnulib/tests/test-getline.c ASSERT (3 < len); len 82 maint/gnulib/tests/test-getline.c result = getline (&line, &len, f); len 85 maint/gnulib/tests/test-getline.c ASSERT (3 < len); len 87 maint/gnulib/tests/test-getline.c result = getline (&line, &len, f); len 34 maint/gnulib/tests/test-getndelim2.c size_t len = 0; len 50 maint/gnulib/tests/test-getndelim2.c result = getndelim2 (&line, &len, 0, GETNLINE_NO_LIMIT, '\n', '\n', f); len 53 maint/gnulib/tests/test-getndelim2.c ASSERT (2 < len); len 58 maint/gnulib/tests/test-getndelim2.c len = 0; len 59 maint/gnulib/tests/test-getndelim2.c result = getndelim2 (&line, &len, 0, GETNLINE_NO_LIMIT, EOF, '\n', f); len 62 maint/gnulib/tests/test-getndelim2.c ASSERT (3 < len); len 65 maint/gnulib/tests/test-getndelim2.c result = getndelim2 (&line, &len, 0, GETNLINE_NO_LIMIT, '\n', EOF, f); len 68 maint/gnulib/tests/test-getndelim2.c ASSERT (3 < len); len 70 maint/gnulib/tests/test-getndelim2.c result = getndelim2 (&line, &len, 0, GETNLINE_NO_LIMIT, '\n', EOF, f); len 80 maint/gnulib/tests/test-getndelim2.c len = 8; len 81 maint/gnulib/tests/test-getndelim2.c result = getndelim2 (&line, &len, 6, 10, 'd', 'd', f); len 83 maint/gnulib/tests/test-getndelim2.c ASSERT (10 == len); len 87 maint/gnulib/tests/test-getndelim2.c result = getndelim2 (&line, &len, len, 1, EOF, EOF, f); len 89 maint/gnulib/tests/test-getndelim2.c ASSERT (10 == len); len 93 maint/gnulib/tests/test-getndelim2.c result = getndelim2 (&line, &len, 0, GETNLINE_NO_LIMIT, EOF, EOF, f); len 95 maint/gnulib/tests/test-getndelim2.c ASSERT (10 == len); len 98 maint/gnulib/tests/test-getndelim2.c result = getndelim2 (&line, &len, 0, GETNLINE_NO_LIMIT, '\n', '\r', f); len 112 maint/gnulib/tests/test-getndelim2.c result = getndelim2 (&line, &len, 0, GETNLINE_NO_LIMIT, '\n', '\r', f); len 114 maint/gnulib/tests/test-getndelim2.c ASSERT (501 < len); len 121 maint/gnulib/tests/test-getndelim2.c result = getndelim2 (&line, &len, 0, GETNLINE_NO_LIMIT, '\n', '\r', f); len 123 maint/gnulib/tests/test-getndelim2.c ASSERT (501 < len); len 128 maint/gnulib/tests/test-getndelim2.c result = getndelim2 (&line, &len, 0, GETNLINE_NO_LIMIT, 'g', 'f', f); len 130 maint/gnulib/tests/test-getndelim2.c ASSERT (501 * 14 <= len); len 135 maint/gnulib/tests/test-getndelim2.c result = getndelim2 (&line, &len, 501 * 14 - 1, GETNLINE_NO_LIMIT, len 141 maint/gnulib/tests/test-getndelim2.c result = getndelim2 (&line, &len, 501 * 14 - 1, GETNLINE_NO_LIMIT, len 73 maint/gnulib/tests/test-hash.c size_t len = strlen (str); len 74 maint/gnulib/tests/test-hash.c if (len == 0 || strspn (str, "0123456789") != len || 10 < len) len 41 maint/gnulib/tests/test-iconvme.c size_t len = 0; len 43 maint/gnulib/tests/test-iconvme.c if (getline (&in, &len, stdin) < 0) len 51 maint/gnulib/tests/test-iconvme.c size_t len = 0; len 53 maint/gnulib/tests/test-iconvme.c if (getline (&to, &len, stdin) < 0) len 61 maint/gnulib/tests/test-iconvme.c size_t len = 0; len 63 maint/gnulib/tests/test-iconvme.c if (getline (&from, &len, stdin) < 0) len 32 maint/gnulib/tests/test-popen.h size_t len; len 49 maint/gnulib/tests/test-popen.h len = strlen (argv[0]); len 50 maint/gnulib/tests/test-popen.h cmd = malloc (len + 3); /* Adding " r" and NUL. */ len 54 maint/gnulib/tests/test-popen.h cmd[len] = ' '; len 55 maint/gnulib/tests/test-popen.h cmd[len + 2] = '\0'; len 67 maint/gnulib/tests/test-popen.h cmd[len + 1] = 'r'; len 79 maint/gnulib/tests/test-popen.h cmd[len + 1] = 'w'; len 69 maint/gnulib/tests/test-ptsname_r.c size_t len; len 74 maint/gnulib/tests/test-ptsname_r.c len = strlen (slave); len 75 maint/gnulib/tests/test-ptsname_r.c buflen_max = len + 5; len 82 maint/gnulib/tests/test-ptsname_r.c if (buflen > len) len 249 maint/gnulib/tests/test-quotearg-simple.c use_quote_double_quotes (const char *str, size_t *len) len 251 maint/gnulib/tests/test-quotearg-simple.c char *p = *len == SIZE_MAX ? quotearg_char (str, '"') len 252 maint/gnulib/tests/test-quotearg-simple.c : quotearg_char_mem (str, *len, '"'); len 253 maint/gnulib/tests/test-quotearg-simple.c *len = strlen (p); len 62 maint/gnulib/tests/test-quotearg.h size_t len; len 65 maint/gnulib/tests/test-quotearg.h len = 0; len 66 maint/gnulib/tests/test-quotearg.h p = func (inputs.str1, &len); len 67 maint/gnulib/tests/test-quotearg.h compare (results->str1, strlen (results->str1), p, len); len 69 maint/gnulib/tests/test-quotearg.h len = inputs.len2; len 70 maint/gnulib/tests/test-quotearg.h p = func (inputs.str2, &len); len 71 maint/gnulib/tests/test-quotearg.h compare (results->str2, results->len2, p, len); len 73 maint/gnulib/tests/test-quotearg.h len = SIZE_MAX; len 74 maint/gnulib/tests/test-quotearg.h p = func (inputs.str3, &len); len 75 maint/gnulib/tests/test-quotearg.h compare (results->str3, strlen (results->str3), p, len); len 77 maint/gnulib/tests/test-quotearg.h len = strlen (inputs.str4); len 78 maint/gnulib/tests/test-quotearg.h p = func (inputs.str4, &len); len 79 maint/gnulib/tests/test-quotearg.h compare (results->str4, strlen (results->str4), p, len); len 81 maint/gnulib/tests/test-quotearg.h len = SIZE_MAX; len 82 maint/gnulib/tests/test-quotearg.h p = func (inputs.str5, &len); len 83 maint/gnulib/tests/test-quotearg.h compare (results->str5, strlen (results->str5), p, len); len 85 maint/gnulib/tests/test-quotearg.h len = strlen (inputs.str6); len 86 maint/gnulib/tests/test-quotearg.h p = func (inputs.str6, &len); len 87 maint/gnulib/tests/test-quotearg.h compare (results->str6, strlen (results->str6), p, len); len 89 maint/gnulib/tests/test-quotearg.h len = strlen (inputs.str7); len 90 maint/gnulib/tests/test-quotearg.h p = func (inputs.str7, &len); len 91 maint/gnulib/tests/test-quotearg.h compare (results->str7, strlen (results->str7), p, len); len 93 maint/gnulib/tests/test-quotearg.h len = strlen (inputs.str8a); len 94 maint/gnulib/tests/test-quotearg.h p = func (inputs.str8a, &len); len 96 maint/gnulib/tests/test-quotearg.h compare (results->str8a, strlen (results->str8a), p, len); len 98 maint/gnulib/tests/test-quotearg.h compare (results->str8b, strlen (results->str8b), p, len); len 102 maint/gnulib/tests/test-quotearg.h use_quotearg_buffer (const char *str, size_t *len) len 107 maint/gnulib/tests/test-quotearg.h size = quotearg_buffer (buf, 100, str, *len, NULL); len 108 maint/gnulib/tests/test-quotearg.h *len = size; len 114 maint/gnulib/tests/test-quotearg.h use_quotearg (const char *str, size_t *len) len 116 maint/gnulib/tests/test-quotearg.h char *p = *len == SIZE_MAX ? quotearg (str) : quotearg_mem (str, *len); len 117 maint/gnulib/tests/test-quotearg.h *len = strlen (p); len 122 maint/gnulib/tests/test-quotearg.h use_quotearg_colon (const char *str, size_t *len) len 124 maint/gnulib/tests/test-quotearg.h char *p = (*len == SIZE_MAX ? quotearg_colon (str) len 125 maint/gnulib/tests/test-quotearg.h : quotearg_colon_mem (str, *len)); len 126 maint/gnulib/tests/test-quotearg.h *len = strlen (p); len 41 maint/gnulib/tests/test-read-file.c size_t len; len 42 maint/gnulib/tests/test-read-file.c char *out = read_file (FILE1, flags, &len); len 51 maint/gnulib/tests/test-read-file.c if (out[len] != '\0') len 60 maint/gnulib/tests/test-read-file.c if (len != statbuf.st_size) len 63 maint/gnulib/tests/test-read-file.c (unsigned long) len, FILE1); len 70 maint/gnulib/tests/test-read-file.c if (len == 0) len 84 maint/gnulib/tests/test-read-file.c size_t len; len 85 maint/gnulib/tests/test-read-file.c char *out = read_file (FILE2, flags, &len); len 94 maint/gnulib/tests/test-read-file.c if (out[len] != '\0') len 102 maint/gnulib/tests/test-read-file.c if (len != 0) len 105 maint/gnulib/tests/test-read-file.c (unsigned long) len, FILE2); len 88 maint/gnulib/tests/test-readlink.h size_t len = strlen (BASE "dir"); len 106 maint/gnulib/tests/test-readlink.h ASSERT (func (BASE "link", buf, len) == len); len 107 maint/gnulib/tests/test-readlink.h ASSERT (strncmp (buf, BASE "dir", len) == 0); len 108 maint/gnulib/tests/test-readlink.h ASSERT (buf[len] == (char) 0xff); len 109 maint/gnulib/tests/test-readlink.h ASSERT (func (BASE "link", buf, sizeof buf) == len); len 110 maint/gnulib/tests/test-readlink.h ASSERT (strncmp (buf, BASE "dir", len) == 0); len 113 maint/gnulib/tests/test-readlink.h ASSERT (buf[len] == '\0' || buf[len] == (char) 0xff); len 48 maint/gnulib/tests/test-readlinkat.c do_readlink (char const *name, char *buf, size_t len) len 50 maint/gnulib/tests/test-readlinkat.c return readlinkat (dfd, name, buf, len); len 98 maint/gnulib/tests/test-strerror_r.c size_t len; len 102 maint/gnulib/tests/test-strerror_r.c len = strlen (buf2); len 103 maint/gnulib/tests/test-strerror_r.c ASSERT (len < sizeof buf); len 105 maint/gnulib/tests/test-strerror_r.c for (i = 0; i <= len; i++) len 125 maint/gnulib/tests/test-strerror_r.c ret = strerror_r (err, buf, len + 1); len 66 maint/gnulib/tests/test-strstr.c size_t len = strlen (fix) + 1; len 67 maint/gnulib/tests/test-strstr.c char *input = page_boundary ? page_boundary - len : malloc (len); len 114 maint/gnulib/tests/test-userspec.c size_t len; len 120 maint/gnulib/tests/test-userspec.c len = strlen (pw->pw_name); len 124 maint/gnulib/tests/test-userspec.c char *t = xmalloc (len + 1 + 1); len 125 maint/gnulib/tests/test-userspec.c memcpy (t, pw->pw_name, len); len 126 maint/gnulib/tests/test-userspec.c t[len] = ':'; len 127 maint/gnulib/tests/test-userspec.c t[len+1] = '\0'; len 31 maint/gnulib/tests/unigbrk/test-u16-grapheme-next.c test_u16_grapheme_next (size_t len, ...) len 38 maint/gnulib/tests/unigbrk/test-u16-grapheme-next.c va_start (args, len); len 53 maint/gnulib/tests/unigbrk/test-u16-grapheme-next.c if (next != s + len) len 61 maint/gnulib/tests/unigbrk/test-u16-grapheme-next.c fprintf (stderr, ", expected %zu:\n", len); len 31 maint/gnulib/tests/unigbrk/test-u16-grapheme-prev.c test_u16_grapheme_prev (size_t len, ...) len 39 maint/gnulib/tests/unigbrk/test-u16-grapheme-prev.c va_start (args, len); len 55 maint/gnulib/tests/unigbrk/test-u16-grapheme-prev.c if (prev != end - len) len 63 maint/gnulib/tests/unigbrk/test-u16-grapheme-prev.c fprintf (stderr, ", expected %zu:\n", len); len 31 maint/gnulib/tests/unigbrk/test-u32-grapheme-next.c test_u32_grapheme_next (size_t len, ...) len 38 maint/gnulib/tests/unigbrk/test-u32-grapheme-next.c va_start (args, len); len 53 maint/gnulib/tests/unigbrk/test-u32-grapheme-next.c if (next != s + len) len 61 maint/gnulib/tests/unigbrk/test-u32-grapheme-next.c fprintf (stderr, ", expected %zu:\n", len); len 31 maint/gnulib/tests/unigbrk/test-u32-grapheme-prev.c test_u32_grapheme_prev (size_t len, ...) len 39 maint/gnulib/tests/unigbrk/test-u32-grapheme-prev.c va_start (args, len); len 55 maint/gnulib/tests/unigbrk/test-u32-grapheme-prev.c if (prev != end - len) len 63 maint/gnulib/tests/unigbrk/test-u32-grapheme-prev.c fprintf (stderr, ", expected %zu:\n", len); len 30 maint/gnulib/tests/unigbrk/test-u8-grapheme-next.c test_u8_grapheme_next (const char *input, size_t n, size_t len) len 34 maint/gnulib/tests/unigbrk/test-u8-grapheme-next.c if (next != s + len) len 42 maint/gnulib/tests/unigbrk/test-u8-grapheme-next.c fprintf (stderr, ", expected %zu:\n", len); len 30 maint/gnulib/tests/unigbrk/test-u8-grapheme-prev.c test_u8_grapheme_prev (const char *input, size_t n, size_t len) len 35 maint/gnulib/tests/unigbrk/test-u8-grapheme-prev.c if (prev != end - len) len 43 maint/gnulib/tests/unigbrk/test-u8-grapheme-prev.c fprintf (stderr, ", expected %zu:\n", len); len 42 maint/gnulib/tests/unistr/test-u16-mbsnlen.c size_t len = u16_mbsnlen (input, n); len 43 maint/gnulib/tests/unistr/test-u16-mbsnlen.c ASSERT (len == n); len 62 maint/gnulib/tests/unistr/test-u16-mbsnlen.c size_t len = u16_mbsnlen (input, n); len 63 maint/gnulib/tests/unistr/test-u16-mbsnlen.c ASSERT (len == expected[n]); len 43 maint/gnulib/tests/unistr/test-u32-mbsnlen.c size_t len = u32_mbsnlen (input, n); len 44 maint/gnulib/tests/unistr/test-u32-mbsnlen.c ASSERT (len == n); len 58 maint/gnulib/tests/unistr/test-u32-mbsnlen.c size_t len = u32_mbsnlen (input, n); len 59 maint/gnulib/tests/unistr/test-u32-mbsnlen.c ASSERT (len == n); len 55 maint/gnulib/tests/unistr/test-u8-mbsnlen.c size_t len = u8_mbsnlen (input, n); len 56 maint/gnulib/tests/unistr/test-u8-mbsnlen.c ASSERT (len == expected[n]); len 27 replace/strndup.c strndup(const char *str, size_t len) len 29 replace/strndup.c size_t n = strnlen(str, len); len 30 replace/strndup.c char *new = (char *)malloc(len + 1); len 37 replace/strndup.c return (char *)memcpy(new, str, len); len 513 tools/cibadmin.c if (extra->len > 0) { len 32 tools/crm_mon_curses.c unsigned int len; len 205 tools/crm_mon_curses.c new_list->len = 0; len 244 tools/crm_mon_curses.c ((curses_list_data_t *) tail)->len++; len 258 tools/crm_mon_curses.c if (node->len == 1) { len 259 tools/crm_mon_curses.c curses_indented_printf(out, "%d %s found\n", node->len, node->singular_noun); len 261 tools/crm_mon_curses.c curses_indented_printf(out, "%d %s found\n", node->len, node->plural_noun); len 1633 tools/crm_resource.c int len = 0; len 1636 tools/crm_resource.c len++; len 1639 tools/crm_resource.c CRM_ASSERT(len > 0); len 1644 tools/crm_resource.c strv = calloc(len+2, sizeof(char *)); len 1648 tools/crm_resource.c strv[i] = crm_strdup_printf("[%d of %d] %s\n", i, len, *s); len 1660 tools/crm_resource.c for(i = 0; i < len+1; i++) { len 460 tools/crm_resource_ban.c if (buf->len == 0) { len 1228 tools/crm_shadow.c if (extra->len > 0) {