Lines Matching refs:rc
43 int rc;
54 rc = snprintf(arch_string_buffer, sizeof(arch_string_buffer),
58 if (rc < 0)
108 int rc;
112 rc = next_entry(&entry_len, mmap_area, sizeof(uint32_t));
113 if (rc < 0)
121 rc = pcre2_serialize_get_number_of_codes(mmap_area->next_addr);
122 if (rc != 1)
129 rc = pcre2_serialize_decode(&(*regex)->regex, 1,
132 if (rc != 1)
139 rc = next_entry(NULL, mmap_area, entry_len);
140 if (rc < 0)
152 int rc = 0;
160 rc = pcre2_serialize_encode((const pcre2_code **)®ex->regex,
162 if (rc != 1) {
163 rc = -1;
172 rc = -1;
180 rc = -1;
187 return rc;
222 int rc;
249 rc = pcre2_match(
256 if (rc >= 0)
258 switch (rc) {
279 int rc;
281 rc = pcre2_pattern_info(regex1->regex, PCRE2_INFO_SIZE, &len1);
282 assert(rc == 0);
283 rc = pcre2_pattern_info(regex2->regex, PCRE2_INFO_SIZE, &len2);
284 assert(rc == 0);
369 int rc;
373 rc = next_entry(&entry_len, mmap_area, sizeof(uint32_t));
374 if (rc < 0 || !entry_len)
383 rc = next_entry(NULL, mmap_area, entry_len);
384 if (rc < 0)
391 rc = pcre_fullinfo((*regex)->regex, NULL, PCRE_INFO_SIZE, &info_len);
392 if (rc < 0 || info_len != entry_len)
395 rc = next_entry(&entry_len, mmap_area, sizeof(uint32_t));
396 if (rc < 0)
402 rc = next_entry(NULL, mmap_area, entry_len);
403 if (rc < 0)
407 rc = pcre_fullinfo((*regex)->regex, &(*regex)->lsd,
409 if (rc < 0 || info_len != entry_len)
437 int rc;
444 rc = pcre_fullinfo(regex->regex, NULL, PCRE_INFO_SIZE, &size);
445 if (rc < 0)
461 rc =
463 if (rc < 0)
499 int rc;
501 rc = pcre_exec(regex->regex, get_pcre_extra(regex),
504 switch (rc) {
527 int rc;
529 rc = pcre_fullinfo(regex1->regex, NULL, PCRE_INFO_SIZE, &len1);
530 assert(rc == 0);
531 rc = pcre_fullinfo(regex2->regex, NULL, PCRE_INFO_SIZE, &len2);
532 assert(rc == 0);
551 int rc = 0;
555 rc = snprintf(buffer, buf_size, "REGEX back-end error: ");
556 if (rc < 0)
563 pos += rc;
570 rc = snprintf(buffer + pos, buf_size - pos, "no error code");
571 if (rc < 0)
573 pos += rc;
580 rc = snprintf(buffer + pos, buf_size - pos, "empty error");
581 if (rc < 0)
583 pos += rc;
592 rc = snprintf(buffer + pos, buf_size - pos, "At offset %zu: ",
595 rc = snprintf(buffer + pos, buf_size - pos, "At offset %d: ",
598 if (rc < 0)
600 pos += rc;
606 rc = pcre2_get_error_message(error_data->error_code,
609 if (rc == PCRE2_ERROR_NOMEMORY)
612 rc = snprintf(buffer + pos, buf_size - pos, "%s",
614 if (rc < 0)
617 if ((size_t)rc < strlen(error_data->error_buffer))