Searched refs:pat (Results 1 - 5 of 5) sorted by relevance
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/ |
H A D | select.rs | 175 $( ( $index:expr, $($_i:tt)* ) $bind:pat = $fut:expr, if $c:expr => $handle:expr, )+ 285 ( { random = $bool:expr; ( $s:expr, $($_n:tt)* ) $($t:tt)* } $p:pat = $f:expr, if $c:expr => $h:block, $($r:tt)* ) => { 290 ( { random = $bool:expr; ( $s:expr, $($_n:tt)* ) $($t:tt)* } $p:pat = $f:expr => $h:block, $($r:tt)* ) => { 295 ( { random = $bool:expr; ( $s:expr, $($_n:tt)* ) $($t:tt)* } $p:pat = $f:expr, if $c:expr => $h:block $($r:tt)* ) => { 300 ( { random = $bool:expr; ( $s:expr, $($_n:tt)* ) $($t:tt)* } $p:pat = $f:expr => $h:block $($r:tt)* ) => { 305 ( { random = $bool:expr; ( $s:expr, $($_n:tt)* ) $($t:tt)* } $p:pat = $f:expr, if $c:expr => $h:expr, $($r:tt)* ) => { 310 ( { random = $bool:expr; ( $s:expr, $($_n:tt)* ) $($t:tt)* } $p:pat = $f:expr => $h:expr, $($r:tt)* ) => { 316 ( { random = $bool:expr; ( $s:expr, $($_n:tt)* ) $($t:tt)* } $p:pat = $f:expr, if $c:expr => $h:expr ) => { 322 ( { random = $bool:expr; ( $s:expr, $($_n:tt)* ) $($t:tt)* } $p:pat = $f:expr => $h:expr ) => { 327 (biased; $p:pat [all...] |
/commonlibrary/ets_utils/js_api_module/buffer/ |
H A D | converter.h | 83 int GetGoodSuffixLengthByLastChar(uint8_t *pat, int patIndex, int patLen); 84 int GetGoodSuffixLengthByFirstChar(uint8_t *pat, int patIndex, int tarlen); 85 int GetBadCharLengthInReverseOrder(uint8_t *pat, char singleChar, int patIndex); 86 int GetBadCharLengthInSequence(uint8_t *pat, char singleChar, int patIndex, int tarlen);
|
H A D | converter.cpp | 327 // Find the position of the last character in pat from patIndex 328 int GetGoodSuffixLengthByLastChar(uint8_t *pat, int patIndex, int patLen) in GetGoodSuffixLengthByLastChar() argument 333 if (pat[patIndex] == pat[lastIndex]) { in GetGoodSuffixLengthByLastChar() 342 // Find the position of the first character in pat from patIndex 343 int GetGoodSuffixLengthByFirstChar(uint8_t *pat, int patIndex, int tarlen) in GetGoodSuffixLengthByFirstChar() argument 347 if (pat[0] == pat[i]) { in GetGoodSuffixLengthByFirstChar() 355 // Match forward from patIndex to get the position of the singleChar in the pat 357 int GetBadCharLengthInReverseOrder(uint8_t *pat, cha argument 370 GetBadCharLengthInSequence(uint8_t *pat, char singleChar, int patIndex, int tarlen) GetBadCharLengthInSequence() argument [all...] |
/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/representation/ |
H A D | decoder.rs | 585 ($decoder: expr, $pat: ident => $name: expr) => { in ut_repr_decoder() 587 Ok(Some(Representation::$pat { index })) => assert_eq!($name, index), in ut_repr_decoder() 591 ($decoder: expr, $pat: ident, $kind: ident => $name: expr, $value: expr) => { in ut_repr_decoder() 593 Ok(Some(Representation::$pat { in ut_repr_decoder() 606 ($octets: literal, $({ $pat: ident $(, $kind: ident)? => $first: expr $(, $second: expr)?} $(,)?)*) => { in ut_repr_decoder() 610 inner_test_case!(decoder, $pat $(, $kind)? => $first $(, $second)?); in ut_repr_decoder()
|
/commonlibrary/ets_utils/js_api_module/buffer/test/ |
H A D | test_napi.cpp | 1403 uint8_t pat[] = "ababcab"; in HWTEST_F() local 1404 int patLen = sizeof(pat) - 1; in HWTEST_F() 1407 int length = OHOS::buffer::GetGoodSuffixLengthByLastChar(pat, patIndex, patLen); in HWTEST_F()
|
Completed in 5 milliseconds