Home
last modified time | relevance | path

Searched refs:suffix_len (Results 1 – 18 of 18) sorted by relevance

/third_party/libwebsockets/lib/misc/fts/
Dtrie.c123 uint32_t suffix_len; member
521 if ((int)e2->suffix_len < n) {
522 n -= e2->suffix_len;
523 memcpy(&s[n], e2->suffix, e2->suffix_len);
781 if (t->str_match_pos < t->parser->suffix_len) in lws_fts_fill()
808 olen = t->parser->suffix_len; in lws_fts_fill()
814 t->parser->suffix_len = t->str_match_pos - 1; in lws_fts_fill()
880 e->suffix_len = olen - (t->str_match_pos - 1); in lws_fts_fill()
948 t->parser->suffix_len = t->agg_pos + 1; in lws_fts_fill()
1282 spill((5 * MAX_VLI) + e1->suffix_len + 1, 0); in lws_fts_serialize()
[all …]
/third_party/elfutils/src/
Dobjdump.c292 size_t suffix_len = suffix != NULL ? strlen (suffix) : 0; in handle_ar() local
293 char new_suffix[suffix_len + 2]; in handle_ar()
765 size_t suffix_len = suffix == NULL ? 0 : strlen (suffix); in handle_elf() local
767 char fullname[prefix_len + 1 + fname_len + suffix_len]; in handle_elf()
773 memcpy (cp - 1, suffix, suffix_len + 1); in handle_elf()
Dnm.c415 size_t suffix_len = suffix != NULL ? strlen (suffix) : 0; in handle_ar() local
416 char new_suffix[suffix_len + 2]; in handle_ar()
1532 size_t suffix_len = suffix == NULL ? 0 : strlen (suffix); in handle_elf() local
1534 char fullname[prefix_len + 1 + fname_len + suffix_len]; in handle_elf()
1548 memcpy (cp - 1, suffix, suffix_len + 1); in handle_elf()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/tag/
Dmklicensestables.c863 gsize suffix_len = strlen (license->jurisdiction_suffix); in main() local
866 cutoff = ref + strlen (ref) - suffix_len; in main()
867 g_assert (!strncmp (cutoff, license->jurisdiction_suffix, suffix_len)); in main()
868 g_assert (cutoff[suffix_len - 1] == '/'); in main()
869 g_assert (cutoff[suffix_len] == '\0'); in main()
/third_party/skia/third_party/externals/brotli/c/common/
Dtransform.c283 int suffix_len = *suffix++; in BrotliTransformDictionaryWord() local
284 while (suffix_len--) { dst[idx++] = *suffix++; } in BrotliTransformDictionaryWord()
/third_party/node/deps/brotli/c/common/
Dtransform.c283 int suffix_len = *suffix++; in BrotliTransformDictionaryWord() local
284 while (suffix_len--) { dst[idx++] = *suffix++; } in BrotliTransformDictionaryWord()
/third_party/toybox/toys/other/
Di2ctools.c158 int suffix_len = strlen("/name"); in i2cdetect_dash_l() local
168 fname = dirtree_path(node, &suffix_len); in i2cdetect_dash_l()
/third_party/openssl/crypto/x509/
Dv3_utl.c687 const unsigned char *suffix, size_t suffix_len, in wildcard_match() argument
697 if (subject_len < prefix_len + suffix_len) in wildcard_match()
702 wildcard_end = subject + (subject_len - suffix_len); in wildcard_match()
703 if (!equal_nocase(wildcard_end, suffix_len, suffix, suffix_len, flags)) in wildcard_match()
/third_party/openssl/crypto/pem/
Dpem_lib.c1018 int suffix_len = strlen(suffix); in ossl_pem_check_suffix() local
1020 if (suffix_len + 1 >= pem_len) in ossl_pem_check_suffix()
1022 p = pem_str + pem_len - suffix_len; in ossl_pem_check_suffix()
/third_party/skia/third_party/externals/brotli/c/tools/
Dbrotli.c727 size_t suffix_len = strlen(context->suffix); in NextFile() local
731 if (name_len < suffix_len + 1) { in NextFile()
737 name_suffix = name + name_len - suffix_len; in NextFile()
/third_party/python/Objects/
Dbytearrayobject.c1228 Py_ssize_t suffix_len = suffix->len; in bytearray_removesuffix_impl() local
1230 if (self_len >= suffix_len in bytearray_removesuffix_impl()
1231 && memcmp(self_start + self_len - suffix_len, in bytearray_removesuffix_impl()
1232 suffix_start, suffix_len) == 0) in bytearray_removesuffix_impl()
1235 self_len - suffix_len); in bytearray_removesuffix_impl()
Dbytesobject.c2257 Py_ssize_t suffix_len = suffix->len; in bytes_removesuffix_impl() local
2259 if (self_len >= suffix_len in bytes_removesuffix_impl()
2260 && suffix_len > 0 in bytes_removesuffix_impl()
2261 && memcmp(self_start + self_len - suffix_len, in bytes_removesuffix_impl()
2262 suffix_start, suffix_len) == 0) in bytes_removesuffix_impl()
2265 self_len - suffix_len); in bytes_removesuffix_impl()
/third_party/libabigail/src/
Dabg-tools-utils.cc889 string::size_type str_len = str.length(), suffix_len = suffix.length(); in string_ends_with() local
891 if (str_len < suffix_len) in string_ends_with()
893 return str.compare(str_len - suffix_len, suffix_len, suffix) == 0; in string_ends_with()
/third_party/skia/third_party/externals/tint/samples/
Dmain.cc164 const auto suffix_len = suffix.size(); in ends_with() local
166 return (input_len >= suffix_len) && in ends_with()
167 (input_len - suffix_len == input.rfind(suffix)); in ends_with()
/third_party/openssl/engines/
De_loader_attic.c140 int suffix_len = strlen(suffix) + 1; in check_suffix() local
143 if (suffix_len >= str_len) in check_suffix()
145 p = str + str_len - suffix_len; in check_suffix()
/third_party/mesa3d/src/gtest/src/
Dgtest.cc1958 const size_t suffix_len = suffix.length(); in EndsWithCaseInsensitive() local
1959 return (str_len >= suffix_len) && in EndsWithCaseInsensitive()
1960 CaseInsensitiveCStringEquals(str.c_str() + str_len - suffix_len, in EndsWithCaseInsensitive()
/third_party/googletest/googletest/src/
Dgtest.cc2124 const size_t suffix_len = suffix.length(); in EndsWithCaseInsensitive() local
2125 return (str_len >= suffix_len) && in EndsWithCaseInsensitive()
2126 CaseInsensitiveCStringEquals(str.c_str() + str_len - suffix_len, in EndsWithCaseInsensitive()
/third_party/cef/tools/distrib/gtest/
Dgtest-all.cc3615 const size_t suffix_len = suffix.length(); in EndsWithCaseInsensitive() local
3616 return (str_len >= suffix_len) && in EndsWithCaseInsensitive()
3617 CaseInsensitiveCStringEquals(str.c_str() + str_len - suffix_len, in EndsWithCaseInsensitive()