SecreC 2 language 2.9.0 (2026.10)
Language and standard library reference
Loading...
Searching...
No Matches
Functions

Functions

template<domain D :shared3p >
D uint bl_strIndexOf (D xor_uint8 str, D xor_uint8 pat)
 

Detailed Description

function for finding the index of a given pattern

Note
D - shared3p protection domain
Supported types - xor_uint8
Parameters
str- input string vector of supported type
pat- the pattern to look for
Returns
returns the position where given pattern is contained in the string
Note
if the string is not found returns value that is or equal to size (str)
Leakage
None

Function Documentation

◆ bl_strIndexOf()

template<domain D :shared3p >
D uint bl_strIndexOf ( D xor_uint8  str,
D xor_uint8  pat 
)