/dports/irc/scrollz/ScrollZ-ScrollZ-2.3/source/ |
H A D | sed.c | 50 key_pos, local 56 key_pos = 0; 61 (*str)[i] = mix ^ tmp ^ key->key[key_pos]; 63 key_pos = (key_pos + 1) % key_len; 77 key_pos, local 83 key_pos = 0; 88 tmp = mix ^ (*str)[i] ^ key->key[key_pos]; 91 key_pos = (key_pos + 1) % key_len;
|
/dports/irc/ninja/ninja-1.5.8.1/source/ |
H A D | sed.c | 58 key_pos, local 64 key_pos = 0; 69 (*str)[i] = mix ^ tmp ^ key->key[key_pos]; 71 key_pos = (key_pos + 1) % key_len; 85 key_pos, local 91 key_pos = 0; 96 tmp = mix ^ (*str)[i] ^ key->key[key_pos]; 99 key_pos = (key_pos + 1) % key_len;
|
/dports/devel/marisa-trie/marisa-trie-961ed33/lib/marisa/grimoire/trie/ |
H A D | range.h | 22 void set_key_pos(std::size_t key_pos) { in set_key_pos() argument 24 key_pos_ = static_cast<UInt32>(key_pos); in set_key_pos() 33 std::size_t key_pos() const { in key_pos() function 44 std::size_t key_pos) { in make_range() argument 48 range.set_key_pos(key_pos); in make_range() 65 void set_key_pos(std::size_t key_pos) { in set_key_pos() argument 66 range_.set_key_pos(key_pos); in set_key_pos() 81 std::size_t key_pos() const { in key_pos() function 82 return range_.key_pos(); in key_pos() 102 std::size_t key_pos, float weight) { in make_weighted_range() argument [all …]
|
/dports/devel/kyua/kyua-0.13/utils/config/ |
H A D | nodes.cpp | 178 PRE(key_pos < key.size()); in lookup_ro() 181 key[key_pos]); in lookup_ro() 185 if (key_pos == key.size() - 1) { in lookup_ro() 188 PRE(key_pos < key.size() - 1); in lookup_ro() 224 PRE(key_pos < key.size()); in lookup_rw() 239 if (key_pos == key.size() - 1) { in lookup_rw() 248 PRE(key_pos < key.size() - 1); in lookup_rw() 339 PRE(key_pos < key.size()); in define() 341 if (key_pos == key.size() - 1) { in define() 346 PRE(key_pos < key.size() - 1); in define() [all …]
|
/dports/databases/mariadb104-server/mariadb-10.4.24/storage/mroonga/vendor/groonga/lib/dat/ |
H A D | trie.hpp | 58 const Key &get_key(UInt32 key_pos) const { in get_key() 59 GRN_DAT_DEBUG_THROW_IF(key_pos >= next_key_pos()); in get_key() 60 return *reinterpret_cast<const Key *>(key_buf_.ptr() + key_pos); in get_key() 68 return get_key(ith_entry(key_id).key_pos()); in ith_key() 78 UInt32 *key_pos = NULL) const { in lcp_search() argument 98 UInt32 *key_pos = NULL) { in update() argument 100 length, key_pos); in update() 104 UInt32 *key_pos = NULL) { in update() argument 111 dest_length, key_pos); in update() 240 bool insert_key(const UInt8 *ptr, UInt32 length, UInt32 *key_pos); [all …]
|
H A D | trie.cpp | 612 *key_pos = base.key_pos(); in search_key() 664 *key_pos = base.key_pos(); in lcp_search_key() 676 *key_pos = linker_base.key_pos(); in lcp_search_key() 693 *key_pos = base.key_pos(); in lcp_search_key() 701 *key_pos = linker_base.key_pos(); in lcp_search_key() 721 const UInt32 key_pos = ith_node(node_id).key_pos(); in remove_key() local 748 *key_pos = ith_node(node_id).key_pos(); in insert_key() 767 if (key_pos != NULL) { in insert_key() 828 *key_pos = ith_node(node_id).key_pos(); in update_key() 914 return key_pos; in append_key() [all …]
|
/dports/databases/mariadb104-client/mariadb-10.4.24/storage/mroonga/vendor/groonga/lib/dat/ |
H A D | trie.hpp | 58 const Key &get_key(UInt32 key_pos) const { in pg_mkdir_p() 59 GRN_DAT_DEBUG_THROW_IF(key_pos >= next_key_pos()); in pg_mkdir_p() 60 return *reinterpret_cast<const Key *>(key_buf_.ptr() + key_pos); in pg_mkdir_p() 68 return get_key(ith_entry(key_id).key_pos()); 78 UInt32 *key_pos = NULL) const { 98 UInt32 *key_pos = NULL) { 100 length, key_pos); 104 UInt32 *key_pos = NULL) { 111 dest_length, key_pos); 240 bool insert_key(const UInt8 *ptr, UInt32 length, UInt32 *key_pos); [all …]
|
H A D | trie.cpp | 612 *key_pos = base.key_pos(); in search_key() 664 *key_pos = base.key_pos(); in lcp_search_key() 676 *key_pos = linker_base.key_pos(); in lcp_search_key() 693 *key_pos = base.key_pos(); in lcp_search_key() 701 *key_pos = linker_base.key_pos(); in lcp_search_key() 721 const UInt32 key_pos = ith_node(node_id).key_pos(); in remove_key() local 748 *key_pos = ith_node(node_id).key_pos(); in insert_key() 767 if (key_pos != NULL) { in insert_key() 828 *key_pos = ith_node(node_id).key_pos(); in update_key() 914 return key_pos; in append_key() [all …]
|
/dports/databases/mariadb103-client/mariadb-10.3.34/storage/mroonga/vendor/groonga/lib/dat/ |
H A D | trie.hpp | 58 const Key &get_key(UInt32 key_pos) const { in get_key() 59 GRN_DAT_DEBUG_THROW_IF(key_pos >= next_key_pos()); in get_key() 60 return *reinterpret_cast<const Key *>(key_buf_.ptr() + key_pos); in get_key() 68 return get_key(ith_entry(key_id).key_pos()); in ith_key() 78 UInt32 *key_pos = NULL) const { in lcp_search() argument 98 UInt32 *key_pos = NULL) { in update() argument 100 length, key_pos); in update() 104 UInt32 *key_pos = NULL) { in update() argument 111 dest_length, key_pos); in update() 240 bool insert_key(const UInt8 *ptr, UInt32 length, UInt32 *key_pos); [all …]
|
H A D | trie.cpp | 612 *key_pos = base.key_pos(); in search_key() 664 *key_pos = base.key_pos(); in lcp_search_key() 676 *key_pos = linker_base.key_pos(); in lcp_search_key() 693 *key_pos = base.key_pos(); in lcp_search_key() 701 *key_pos = linker_base.key_pos(); in lcp_search_key() 721 const UInt32 key_pos = ith_node(node_id).key_pos(); in remove_key() local 748 *key_pos = ith_node(node_id).key_pos(); in insert_key() 767 if (key_pos != NULL) { in insert_key() 828 *key_pos = ith_node(node_id).key_pos(); in update_key() 914 return key_pos; in append_key() [all …]
|
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/mroonga/vendor/groonga/lib/dat/ |
H A D | trie.hpp | 58 const Key &get_key(UInt32 key_pos) const { in get_key() 59 GRN_DAT_DEBUG_THROW_IF(key_pos >= next_key_pos()); in get_key() 60 return *reinterpret_cast<const Key *>(key_buf_.ptr() + key_pos); in get_key() 68 return get_key(ith_entry(key_id).key_pos()); in ith_key() 78 UInt32 *key_pos = NULL) const { in lcp_search() argument 98 UInt32 *key_pos = NULL) { in update() argument 100 length, key_pos); in update() 104 UInt32 *key_pos = NULL) { in update() argument 111 dest_length, key_pos); in update() 240 bool insert_key(const UInt8 *ptr, UInt32 length, UInt32 *key_pos); [all …]
|
H A D | trie.cpp | 612 *key_pos = base.key_pos(); in search_key() 664 *key_pos = base.key_pos(); in lcp_search_key() 676 *key_pos = linker_base.key_pos(); in lcp_search_key() 693 *key_pos = base.key_pos(); in lcp_search_key() 701 *key_pos = linker_base.key_pos(); in lcp_search_key() 721 const UInt32 key_pos = ith_node(node_id).key_pos(); in remove_key() local 748 *key_pos = ith_node(node_id).key_pos(); in insert_key() 767 if (key_pos != NULL) { in insert_key() 828 *key_pos = ith_node(node_id).key_pos(); in update_key() 914 return key_pos; in append_key() [all …]
|
/dports/databases/mariadb103-server/mariadb-10.3.34/storage/mroonga/vendor/groonga/lib/dat/ |
H A D | trie.hpp | 58 const Key &get_key(UInt32 key_pos) const { in get_key() 59 GRN_DAT_DEBUG_THROW_IF(key_pos >= next_key_pos()); in get_key() 60 return *reinterpret_cast<const Key *>(key_buf_.ptr() + key_pos); in get_key() 68 return get_key(ith_entry(key_id).key_pos()); in ith_key() 78 UInt32 *key_pos = NULL) const { in lcp_search() argument 98 UInt32 *key_pos = NULL) { in update() argument 100 length, key_pos); in update() 104 UInt32 *key_pos = NULL) { in update() argument 111 dest_length, key_pos); in update() 240 bool insert_key(const UInt8 *ptr, UInt32 length, UInt32 *key_pos); [all …]
|
H A D | trie.cpp | 612 *key_pos = base.key_pos(); in search_key() 664 *key_pos = base.key_pos(); in lcp_search_key() 676 *key_pos = linker_base.key_pos(); in lcp_search_key() 693 *key_pos = base.key_pos(); in lcp_search_key() 701 *key_pos = linker_base.key_pos(); in lcp_search_key() 721 const UInt32 key_pos = ith_node(node_id).key_pos(); in remove_key() local 748 *key_pos = ith_node(node_id).key_pos(); in insert_key() 767 if (key_pos != NULL) { in insert_key() 828 *key_pos = ith_node(node_id).key_pos(); in update_key() 914 return key_pos; in append_key() [all …]
|
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/mroonga/vendor/groonga/lib/dat/ |
H A D | trie.hpp | 58 const Key &get_key(UInt32 key_pos) const { in get_key() 59 GRN_DAT_DEBUG_THROW_IF(key_pos >= next_key_pos()); in get_key() 60 return *reinterpret_cast<const Key *>(key_buf_.ptr() + key_pos); in get_key() 68 return get_key(ith_entry(key_id).key_pos()); in ith_key() 78 UInt32 *key_pos = NULL) const { in lcp_search() argument 98 UInt32 *key_pos = NULL) { in update() argument 100 length, key_pos); in update() 104 UInt32 *key_pos = NULL) { in update() argument 111 dest_length, key_pos); in update() 240 bool insert_key(const UInt8 *ptr, UInt32 length, UInt32 *key_pos); [all …]
|
H A D | trie.cpp | 612 *key_pos = base.key_pos(); in search_key() 664 *key_pos = base.key_pos(); in lcp_search_key() 676 *key_pos = linker_base.key_pos(); in lcp_search_key() 693 *key_pos = base.key_pos(); in lcp_search_key() 701 *key_pos = linker_base.key_pos(); in lcp_search_key() 721 const UInt32 key_pos = ith_node(node_id).key_pos(); in remove_key() local 748 *key_pos = ith_node(node_id).key_pos(); in insert_key() 767 if (key_pos != NULL) { in insert_key() 828 *key_pos = ith_node(node_id).key_pos(); in update_key() 914 return key_pos; in append_key() [all …]
|
/dports/chinese/bitchx/bitchx-1.2.1/source/ |
H A D | encrypt.c | 144 key_pos, in BX_my_encrypt() local 153 key_pos = 0; in BX_my_encrypt() 158 str[i] = mix ^ tmp ^ key[key_pos]; in BX_my_encrypt() 160 key_pos = (key_pos + 1) % key_len; in BX_my_encrypt() 168 key_pos, in BX_my_decrypt() local 177 key_pos = 0; in BX_my_decrypt() 182 tmp = mix ^ str[i] ^ key[key_pos]; in BX_my_decrypt() 185 key_pos = (key_pos + 1) % key_len; in BX_my_decrypt()
|
/dports/irc/bitchx/bitchx-1.2.1/source/ |
H A D | encrypt.c | 144 key_pos, in BX_my_encrypt() local 153 key_pos = 0; in BX_my_encrypt() 158 str[i] = mix ^ tmp ^ key[key_pos]; in BX_my_encrypt() 160 key_pos = (key_pos + 1) % key_len; in BX_my_encrypt() 168 key_pos, in BX_my_decrypt() local 177 key_pos = 0; in BX_my_decrypt() 182 tmp = mix ^ str[i] ^ key[key_pos]; in BX_my_decrypt() 185 key_pos = (key_pos + 1) % key_len; in BX_my_decrypt()
|
/dports/japanese/mozc-el/mozc-2.23.2815.102.01/src/converter/ |
H A D | key_corrector.cc | 54 bool RewriteNN(size_t key_pos, in RewriteNN() argument 57 if (key_pos == 0) { in RewriteNN() 113 bool RewriteDoubleNN(size_t key_pos, in RewriteDoubleNN() argument 183 bool RewriteNI(size_t key_pos, in RewriteNI() argument 230 bool RewriteM(size_t key_pos, in RewriteM() argument 233 if (key_pos == 0) { in RewriteM() 271 bool RewriteSmallTSU(size_t key_pos, in RewriteSmallTSU() argument 323 bool RewriteYu(size_t key_pos, in RewriteYu() argument 438 size_t key_pos = 0; in CorrectKey() local 445 !RewriteNN(key_pos, begin, end, &mblen, &corrected_key_) && in CorrectKey() [all …]
|
/dports/japanese/uim-mozc/mozc-2.23.2815.102.01/src/converter/ |
H A D | key_corrector.cc | 54 bool RewriteNN(size_t key_pos, in RewriteNN() argument 57 if (key_pos == 0) { in RewriteNN() 113 bool RewriteDoubleNN(size_t key_pos, in RewriteDoubleNN() argument 183 bool RewriteNI(size_t key_pos, in RewriteNI() argument 230 bool RewriteM(size_t key_pos, in RewriteM() argument 233 if (key_pos == 0) { in RewriteM() 271 bool RewriteSmallTSU(size_t key_pos, in RewriteSmallTSU() argument 323 bool RewriteYu(size_t key_pos, in RewriteYu() argument 438 size_t key_pos = 0; in CorrectKey() local 445 !RewriteNN(key_pos, begin, end, &mblen, &corrected_key_) && in CorrectKey() [all …]
|
/dports/japanese/mozc-tool/mozc-2.23.2815.102.01/src/converter/ |
H A D | key_corrector.cc | 54 bool RewriteNN(size_t key_pos, in RewriteNN() argument 57 if (key_pos == 0) { in RewriteNN() 113 bool RewriteDoubleNN(size_t key_pos, in RewriteDoubleNN() argument 183 bool RewriteNI(size_t key_pos, in RewriteNI() argument 230 bool RewriteM(size_t key_pos, in RewriteM() argument 233 if (key_pos == 0) { in RewriteM() 271 bool RewriteSmallTSU(size_t key_pos, in RewriteSmallTSU() argument 323 bool RewriteYu(size_t key_pos, in RewriteYu() argument 438 size_t key_pos = 0; in CorrectKey() local 445 !RewriteNN(key_pos, begin, end, &mblen, &corrected_key_) && in CorrectKey() [all …]
|
/dports/japanese/mozc-server/mozc-2.23.2815.102.01/src/converter/ |
H A D | key_corrector.cc | 54 bool RewriteNN(size_t key_pos, in RewriteNN() argument 57 if (key_pos == 0) { in RewriteNN() 113 bool RewriteDoubleNN(size_t key_pos, in RewriteDoubleNN() argument 183 bool RewriteNI(size_t key_pos, in RewriteNI() argument 230 bool RewriteM(size_t key_pos, in RewriteM() argument 233 if (key_pos == 0) { in RewriteM() 271 bool RewriteSmallTSU(size_t key_pos, in RewriteSmallTSU() argument 323 bool RewriteYu(size_t key_pos, in RewriteYu() argument 438 size_t key_pos = 0; in CorrectKey() local 445 !RewriteNN(key_pos, begin, end, &mblen, &corrected_key_) && in CorrectKey() [all …]
|
/dports/japanese/fcitx-mozc/mozc-2.23.2815.102.01/src/converter/ |
H A D | key_corrector.cc | 54 bool RewriteNN(size_t key_pos, in RewriteNN() argument 57 if (key_pos == 0) { in RewriteNN() 113 bool RewriteDoubleNN(size_t key_pos, in RewriteDoubleNN() argument 183 bool RewriteNI(size_t key_pos, in RewriteNI() argument 230 bool RewriteM(size_t key_pos, in RewriteM() argument 233 if (key_pos == 0) { in RewriteM() 271 bool RewriteSmallTSU(size_t key_pos, in RewriteSmallTSU() argument 323 bool RewriteYu(size_t key_pos, in RewriteYu() argument 438 size_t key_pos = 0; in CorrectKey() local 445 !RewriteNN(key_pos, begin, end, &mblen, &corrected_key_) && in CorrectKey() [all …]
|
/dports/japanese/ibus-mozc/mozc-2.23.2815.102.01/src/converter/ |
H A D | key_corrector.cc | 54 bool RewriteNN(size_t key_pos, in RewriteNN() argument 57 if (key_pos == 0) { in RewriteNN() 113 bool RewriteDoubleNN(size_t key_pos, in RewriteDoubleNN() argument 183 bool RewriteNI(size_t key_pos, in RewriteNI() argument 230 bool RewriteM(size_t key_pos, in RewriteM() argument 233 if (key_pos == 0) { in RewriteM() 271 bool RewriteSmallTSU(size_t key_pos, in RewriteSmallTSU() argument 323 bool RewriteYu(size_t key_pos, in RewriteYu() argument 438 size_t key_pos = 0; in CorrectKey() local 445 !RewriteNN(key_pos, begin, end, &mblen, &corrected_key_) && in CorrectKey() [all …]
|
/dports/irc/epic4/epic4-2.10.9/source/ |
H A D | crypt.c | 162 key_pos, in my_encrypt() local 171 key_pos = 0; in my_encrypt() 177 str[i] = mix ^ tmp ^ key[key_pos]; in my_encrypt() 179 key_pos = (key_pos + 1) % key_len; in my_encrypt() 187 key_pos, in my_decrypt() local 196 key_pos = 0; in my_decrypt() 201 tmp = mix ^ str[i] ^ key[key_pos]; in my_decrypt() 204 key_pos = (key_pos + 1) % key_len; in my_decrypt()
|