MCPcopy Create free account
hub / github.com/MariaDB/server / charpos

Method charpos

sql/sql_string.h:1135–1140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1133 return (uint32) Charset::numchars(ptr(), end());
1134 }
1135 int charpos(longlong i, uint32 offset=0)
1136 {
1137 if (i <= 0)
1138 return (int) i;
1139 return (int) Charset::charpos(ptr() + offset, end(), (size_t) i);
1140 }
1141 size_t lengthsp() const
1142 {
1143 return Charset::lengthsp(Ptr, str_length);

Callers 12

func_locateFunction · 0.45
val_strMethod · 0.45
val_intMethod · 0.45
key_cmp_if_sameFunction · 0.45
field_unpackFunction · 0.45
rtrimmed_lengthMethod · 0.45
charposMethod · 0.45
assign_fixed_stringFunction · 0.45
to_lex_cstringMethod · 0.45
get_key_imageMethod · 0.45
key_cmpMethod · 0.45
get_key_image_itRAWMethod · 0.45

Calls

no outgoing calls

Tested by 1

func_locateFunction · 0.36