Home
last modified time | relevance | path

Searched refs:string_length (Results 1 – 15 of 15) sorted by relevance

/third_party/gstreamer/gstplugins_good/gst/multifile/
Dpatternspec.c136 pattern_match (PatternSpec * pspec, guint string_length, in pattern_match() argument
144 if (string_length < pspec->min_length || string_length > pspec->max_length) in pattern_match()
149 if (!g_utf8_validate (string, string_length, NULL)) in pattern_match()
167 tmp = g_utf8_strreverse (string, string_length); in pattern_match()
169 tmp = raw_strreverse (string, string_length); in pattern_match()
176 if (pspec->pattern_length == string_length) in pattern_match()
177 return memcmp (pspec->pattern, string, string_length) == 0; in pattern_match()
186 string + (string_length - pspec->pattern_length), in pattern_match()
191 if (pspec->pattern_length != string_length) in pattern_match()
194 return memcmp (pspec->pattern, string, string_length) == 0; in pattern_match()
/third_party/elfio/elfio/
Delfio_strings.hpp48 size_t string_length = in get_string() local
50 if ( string_length < ( string_section->get_size() - index ) ) in get_string()
/third_party/jerryscript/jerry-core/debugger/
Ddebugger.c1335 size_t string_length) /**< length of string */ in jerry_debugger_send_string() argument
1348 string_length += 1; in jerry_debugger_send_string()
1351 while (string_length > max_byte_count) in jerry_debugger_send_string()
1360 string_length -= max_byte_count; in jerry_debugger_send_string()
1368 memcpy (message_string_p->string, string_p, string_length - 1); in jerry_debugger_send_string()
1369 message_string_p->string[string_length - 1] = sub_type; in jerry_debugger_send_string()
1373 memcpy (message_string_p->string, string_p, string_length); in jerry_debugger_send_string()
1376 return jerry_debugger_send (sizeof (jerry_debugger_send_type_t) + string_length); in jerry_debugger_send_string()
Ddebugger.h486 …end_string (uint8_t message_type, uint8_t sub_type, const uint8_t *string_p, size_t string_length);
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-regexp-object.c2132 const lit_utf8_size_t string_length = ecma_string_get_length (string_p); in ecma_regexp_split_helper() local
2138 if (string_length == 0) in ecma_regexp_split_helper()
2168 while (current_index < string_length) in ecma_regexp_split_helper()
2295 ecma_string_t *const end_str_p = ecma_string_substr (string_p, previous_index, string_length); in ecma_regexp_split_helper()
2353 lit_utf8_size_t string_length; in ecma_regexp_split_helper()
2357 &string_length, in ecma_regexp_split_helper()
2373 if (string_length == 0) in ecma_regexp_split_helper()
2512 lit_utf8_size_t string_length; in ecma_regexp_replace_helper_fast() local
2515 &string_length, in ecma_regexp_replace_helper_fast()
2524 JERRY_ASSERT (ctx_p->index <= string_length); in ecma_regexp_replace_helper_fast()
[all …]
/third_party/rust/crates/cxx/src/
Dcxx_string.rs24 fn string_length(this: &CxxString) -> usize; in string_length() function
104 unsafe { string_length(self) } in len()
/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers-string.c1069 ecma_length_t string_length = ecma_string_get_length (string_desc_p); in ecma_substring_copy_to_cesu8_buffer() local
1072 if (start_pos >= string_length || start_pos >= end_pos) in ecma_substring_copy_to_cesu8_buffer()
1077 if (end_pos > string_length) in ecma_substring_copy_to_cesu8_buffer()
1079 end_pos = string_length; in ecma_substring_copy_to_cesu8_buffer()
1086 if (string_length == utf8_str_size) in ecma_substring_copy_to_cesu8_buffer()
2303 const ecma_length_t string_length = ecma_string_get_length (string_p); in ecma_string_substr() local
2304 JERRY_ASSERT (start_pos <= string_length); in ecma_string_substr()
2305 JERRY_ASSERT (end_pos <= string_length); in ecma_string_substr()
2317 if (string_length == buffer_size) in ecma_string_substr()
/third_party/flutter/engine/flutter/third_party/txt/src/minikin/
DFontCollection.h55 size_t string_length,
/third_party/flutter/txt/src/minikin/
DFontCollection.h58 size_t string_length,
/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_encode.c1466 uint32_t string_length; in virgl_encode_host_debug_flagstring() local
1477 string_length = (uint32_t)MIN2(sslen * 4, slen); in virgl_encode_host_debug_flagstring()
1480 virgl_encoder_write_block(ctx->cbuf, (const uint8_t *)flagstring, string_length); in virgl_encode_host_debug_flagstring()
/third_party/jerryscript/jerry-core/parser/js/
Djs-parser-internal.h725 …ompare_literal_to_string (parser_context_t *context_p, const char *string_p, size_t string_length);
Djs-lexer.c3459 size_t string_length) /**< string length */ in lexer_compare_literal_to_string() argument
3466 return (context_p->token.lit_location.length == string_length in lexer_compare_literal_to_string()
3467 && memcmp (context_p->token.lit_location.char_p, string_p, string_length) == 0); in lexer_compare_literal_to_string()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DDwarf.def231 HANDLE_DW_AT(0x19, string_length, 2, DWARF)
/third_party/jerryscript/docs/
D02.API-REFERENCE.md2832 jerry_length_t string_length = jerry_get_string_length (string);
2834 ... // usage of string_length
2877 jerry_length_t string_length = jerry_get_utf8_string_length (string);
2879 ... // usage of string_length
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h62805 u16 string_length; member
62811 u16 string_length; member