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/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/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/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/toybox/toys/other/
Di2ctools.c154 int suffix_len = strlen("/name"); in i2cdetect_dash_l() local
164 fname = dirtree_path(node, &suffix_len); in i2cdetect_dash_l()
/third_party/glib/gmodule/
Dgmodule.c433 gsize suffix_len = strlen (suffix); in str_check_suffix() local
435 return string_len >= suffix_len && in str_check_suffix()
436 strcmp (string + string_len - suffix_len, suffix) == 0; in str_check_suffix()
/third_party/openssl/crypto/x509v3/
Dv3_utl.c676 const unsigned char *suffix, size_t suffix_len, in wildcard_match() argument
686 if (subject_len < prefix_len + suffix_len) in wildcard_match()
691 wildcard_end = subject + (subject_len - suffix_len); in wildcard_match()
692 if (!equal_nocase(wildcard_end, suffix_len, suffix, suffix_len, flags)) in wildcard_match()
/third_party/gettext/gettext-tools/src/
Dxgettext.c2076 size_t suffix_len; in finalize_header() local
2082 suffix_len = strlen (suffix); in finalize_header()
2083 new_msgstr = XNMALLOC (header->msgstr_len + suffix_len, char); in finalize_header()
2085 memcpy (new_msgstr + insertpos, suffix, suffix_len); in finalize_header()
2086 memcpy (new_msgstr + insertpos + suffix_len, in finalize_header()
2090 header->msgstr_len = header->msgstr_len + suffix_len; in finalize_header()
/third_party/openssl/crypto/pem/
Dpem_lib.c996 int suffix_len = strlen(suffix); in pem_check_suffix() local
998 if (suffix_len + 1 >= pem_len) in pem_check_suffix()
1000 p = pem_str + pem_len - suffix_len; in 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/gettext/libtextstyle/gnulib-local/lib/glib/
Dgstrfuncs.c2767 int suffix_len;
2773 suffix_len = strlen (suffix);
2775 if (str_len < suffix_len)
2778 return strcmp (str + str_len - suffix_len, suffix) == 0;
/third_party/glib/glib/
Dgstrfuncs.c2902 gsize suffix_len; in g_str_has_suffix() local
2908 suffix_len = strlen (suffix); in g_str_has_suffix()
2910 if (str_len < suffix_len) in g_str_has_suffix()
2913 return strcmp (str + str_len - suffix_len, suffix) == 0; in g_str_has_suffix()
/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/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()