Home
last modified time | relevance | path

Searched refs:encode_string (Results 1 – 25 of 547) sorted by relevance

12345678910>>...22

/dports/devel/py-game/pygame-2.1.0/test/
H A Drwobject_test.py4 from pygame import encode_string, encode_file_path
17 encoded_string = encode_string(None)
23 encoded_string = encode_string(u)
29 encoded_string = encode_string(b, "ascii", "strict")
36 self.assertEqual(encode_string(u, "utf-8"), b)
39 self.assertRaises(SyntaxError, encode_string)
56 encoded_string = encode_string(u)
64 encode_string,
96 bpath = encode_string(bpath)
98 bpath = encode_string(upath)
[all …]
/dports/databases/percona57-server/percona-server-5.7.36-39/rapid/plugin/x/ngs/src/protocol/
H A Dmetadata_builder.cc44 encode_string(col_name.c_str(), col_name.length()); in encode_metadata()
46 encode_string(org_col_name.c_str(), org_col_name.length()); in encode_metadata()
48 encode_string(table_name.c_str(), table_name.length()); in encode_metadata()
52 encode_string(db_name.c_str(), db_name.length()); in encode_metadata()
54 encode_string(catalog.c_str(), catalog.length()); in encode_metadata()
79 encode_string("", 0, false); in encode_metadata()
81 encode_string("", 0, false); in encode_metadata()
83 encode_string("", 0, false); in encode_metadata()
85 encode_string("", 0, false); in encode_metadata()
87 encode_string("", 0, false); in encode_metadata()
[all …]
/dports/databases/percona57-client/percona-server-5.7.36-39/rapid/plugin/x/ngs/src/protocol/
H A Dmetadata_builder.cc44 encode_string(col_name.c_str(), col_name.length()); in encode_metadata()
46 encode_string(org_col_name.c_str(), org_col_name.length()); in encode_metadata()
48 encode_string(table_name.c_str(), table_name.length()); in encode_metadata()
52 encode_string(db_name.c_str(), db_name.length()); in encode_metadata()
54 encode_string(catalog.c_str(), catalog.length()); in encode_metadata()
79 encode_string("", 0, false); in encode_metadata()
81 encode_string("", 0, false); in encode_metadata()
83 encode_string("", 0, false); in encode_metadata()
85 encode_string("", 0, false); in encode_metadata()
87 encode_string("", 0, false); in encode_metadata()
[all …]
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/rapid/plugin/x/ngs/src/protocol/
H A Dmetadata_builder.cc44 encode_string(col_name.c_str(), col_name.length()); in encode_metadata()
46 encode_string(org_col_name.c_str(), org_col_name.length()); in encode_metadata()
48 encode_string(table_name.c_str(), table_name.length()); in encode_metadata()
52 encode_string(db_name.c_str(), db_name.length()); in encode_metadata()
54 encode_string(catalog.c_str(), catalog.length()); in encode_metadata()
79 encode_string("", 0, false); in encode_metadata()
81 encode_string("", 0, false); in encode_metadata()
83 encode_string("", 0, false); in encode_metadata()
85 encode_string("", 0, false); in encode_metadata()
87 encode_string("", 0, false); in encode_metadata()
[all …]
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/rapid/plugin/x/ngs/src/protocol/
H A Dmetadata_builder.cc44 encode_string(col_name.c_str(), col_name.length()); in encode_metadata()
46 encode_string(org_col_name.c_str(), org_col_name.length()); in encode_metadata()
48 encode_string(table_name.c_str(), table_name.length()); in encode_metadata()
52 encode_string(db_name.c_str(), db_name.length()); in encode_metadata()
54 encode_string(catalog.c_str(), catalog.length()); in encode_metadata()
79 encode_string("", 0, false); in encode_metadata()
81 encode_string("", 0, false); in encode_metadata()
83 encode_string("", 0, false); in encode_metadata()
85 encode_string("", 0, false); in encode_metadata()
87 encode_string("", 0, false); in encode_metadata()
[all …]
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/rapid/plugin/x/ngs/src/protocol/
H A Dmetadata_builder.cc44 encode_string(col_name.c_str(), col_name.length()); in encode_metadata()
46 encode_string(org_col_name.c_str(), org_col_name.length()); in encode_metadata()
48 encode_string(table_name.c_str(), table_name.length()); in encode_metadata()
52 encode_string(db_name.c_str(), db_name.length()); in encode_metadata()
54 encode_string(catalog.c_str(), catalog.length()); in encode_metadata()
79 encode_string("", 0, false); in encode_metadata()
81 encode_string("", 0, false); in encode_metadata()
83 encode_string("", 0, false); in encode_metadata()
85 encode_string("", 0, false); in encode_metadata()
87 encode_string("", 0, false); in encode_metadata()
[all …]
/dports/databases/mysql57-client/mysql-5.7.36/rapid/plugin/x/ngs/src/protocol/
H A Dmetadata_builder.cc44 encode_string(col_name.c_str(), col_name.length()); in encode_metadata()
46 encode_string(org_col_name.c_str(), org_col_name.length()); in encode_metadata()
48 encode_string(table_name.c_str(), table_name.length()); in encode_metadata()
52 encode_string(db_name.c_str(), db_name.length()); in encode_metadata()
54 encode_string(catalog.c_str(), catalog.length()); in encode_metadata()
79 encode_string("", 0, false); in encode_metadata()
81 encode_string("", 0, false); in encode_metadata()
83 encode_string("", 0, false); in encode_metadata()
85 encode_string("", 0, false); in encode_metadata()
87 encode_string("", 0, false); in encode_metadata()
[all …]
/dports/www/yaws/yaws-2.0.6/src/
H A Djson2.erl81 encode(B) when is_binary(B) -> encode_string(B);
86 yes -> encode_string(L);
97 encode_string(B) when is_binary(B) -> encode_string(binary_to_list(B)); function
98 encode_string(S) -> encode_string(S, [$"]). function
101 encode_string([C | Cs], Acc) -> function
105 $\\ -> encode_string(Cs, [$\\, $\\ | Acc]);
107 $\f -> encode_string(Cs, [$f, $\\ | Acc]);
108 $\n -> encode_string(Cs, [$n, $\\ | Acc]);
109 $\r -> encode_string(Cs, [$r, $\\ | Acc]);
110 $\t -> encode_string(Cs, [$t, $\\ | Acc]);
[all …]
/dports/databases/erlang-epgsql/epgsql-4.1.0/src/datatypes/
H A Depgsql_codec_hstore.erl47 encode_string(K).
54 encode_string(V).
56 encode_string(Str) when is_binary(Str) -> function
58 encode_string(Str) when is_list(Str) -> function
59 encode_string(list_to_binary(Str));
60 encode_string(Str) when is_atom(Str) -> function
61 encode_string(atom_to_binary(Str, utf8));
62 encode_string(Str) when is_integer(Str) -> function
63 encode_string(integer_to_binary(Str));
64 encode_string(Str) when is_float(Str) -> function
[all …]
/dports/net-mgmt/docsis/docsis-upstream-0.9.8/src/
H A Ddocsis_symtable.h111 { 14, "SwUpgradeFilename", 9, 0, (encode_string), (decode_str…
1004 { 133, "SnmpV3SecurityName", 1, 132, (encode_string), (decode_str…
1016 { 142, "SnmpV3TrapRxSecurityName", 7, 135, (encode_string), (decode_str…
1450 { 179, "URL", 2, 177, (encode_string), (decode_str…
1451 { 180, "Username", 3, 177, (encode_string), (decode_str…
1452 { 181, "Password", 4, 177, (encode_string), (decode_str…
1453 { 182, "ConnectionRequestUsername", 5, 177, (encode_string), (decode_str…
1454 { 183, "ConnectionRequestPassword", 6, 177, (encode_string), (decode_str…
1463 { 229, "SNMPv1v2cCommunityName", 1, 228, (encode_string), (decode_str…
1468 { 232, "SNMPv1v2cAccessViewName", 4, 228, (encode_string), (decode_str…
[all …]
/dports/chinese/bitchx/bitchx-1.2.1/dll/encrypt/
H A Dencrypt.c20 unsigned char *encode_string = NULL; variable
28 my_encrypt(new, strlen(new), encode_string); in BUILT_IN_FUNCTION()
38 my_decrypt(new, strlen(new), encode_string); in BUILT_IN_FUNCTION()
56 encode_string = (char *)new_malloc(512); in Encrypt_Init()
64 encode_string[i-1] = i; in Encrypt_Init()
67 encode_string[i-1] = j; in Encrypt_Init()
/dports/irc/bitchx/bitchx-1.2.1/dll/encrypt/
H A Dencrypt.c20 unsigned char *encode_string = NULL; variable
28 my_encrypt(new, strlen(new), encode_string); in BUILT_IN_FUNCTION()
38 my_decrypt(new, strlen(new), encode_string); in BUILT_IN_FUNCTION()
56 encode_string = (char *)new_malloc(512); in Encrypt_Init()
64 encode_string[i-1] = i; in Encrypt_Init()
67 encode_string[i-1] = j; in Encrypt_Init()
/dports/net/samba412/samba-4.12.15/python/samba/tests/
H A Dldap_raw.py71 def encode_string(string): function
167 header = encode_string(None) # Base DN, ""
178 x = encode_string(b'x' * 127974)
179 y = encode_string(b'y' * 127979)
205 header = encode_string(None) # Base DN, ""
216 x = encode_string(b'x' * 127979)
217 y = encode_string(b'y' * 127975)
/dports/audio/epos-devel/epos-2.5.37/src/
H A Dencoding.h52 void encode_string(unsigned char *, int cs, bool alloc);
54 …inline void encode_string(char *s, int cs, bool alloc) { encode_string((unsigned char *)s, cs,allo… in encode_string() function
74 inline void encode_string(char *, int, bool) { return; }; in encode_string() function
/dports/net/p5-Net-MQTT/Net-MQTT-1.143260/lib/Net/MQTT/Message/
H A DConnect.pm113 my $o = encode_string($self->protocol_name);
123 $o .= encode_string($self->client_id);
124 $o .= encode_string($self->will_topic) if ($self->will_flag);
125 $o .= encode_string($self->will_message) if ($self->will_flag);
126 $o .= encode_string($self->user_name) if ($self->user_name_flag);
127 $o .= encode_string($self->password) if ($self->password_flag);
/dports/benchmarks/tsung/tsung-1.7.0/src/lib/
H A Dmqtt_frame.erl261 {0, 0, 0, [encode_string(Options#connect_options.client_id)]};
263 {0, 0, 0, [encode_string(Options#connect_options.client_id)]};
265 {0, 0, 0, [encode_string(Options#connect_options.client_id)]};
270 [encode_string(Options#connect_options.client_id),
271 encode_string(WillTopic),
272 encode_string(WillMessage)]
280 …_ -> list_to_binary(lists:append(PayloadList, [encode_string(UserNameValue), encode_string(Passwor…
285 encode_string(Options#connect_options.protocol_name),
295 encode_string(Topic),
322 list_to_binary(lists:map(fun({sub, T, _Q}) -> encode_string(T) end, Subs))
[all …]
/dports/net/ryu/ryu-4.26/ryu/lib/
H A Dstringify.py197 def _get_encoder(cls, k, encode_string): argument
201 return cls._get_default_encoder(encode_string)
204 def _encode_value(cls, k, v, encode_string=base64.b64encode): argument
205 return cls._get_encoder(k, encode_string)(v)
208 def _get_default_encoder(cls, encode_string): argument
213 json_value = encode_string(v)
232 def to_jsondict(self, encode_string=base64.b64encode): argument
262 encode = lambda key, val: self._encode_value(key, val, encode_string)
/dports/textproc/py-Chameleon/Chameleon-3.6/src/chameleon/tests/
H A Dtest_sniffing.py9 from chameleon.utils import encode_string
88 body = encode_string(
98 body = encode_string(
109 body = encode_string(
/dports/audio/py-fmoo-audiotools/audiotools-3.0/audiotools/
H A Did3v1.py202 def encode_string(u, max_chars): function
213 encode_string(self.__track_name__, 30),
214 encode_string(self.__artist_name__, 30),
215 encode_string(self.__album_name__, 30),
216 encode_string(self.__year__, 4),
217 encode_string(self.__comment__, 28),
/dports/net/pear-File_Bittorrent2/File_Bittorrent2-1.3.1/File/Bittorrent2/
H A DEncode.php81 return $this->encode_string('');
83 return $this->encode_string($mixed);
104 function encode_string($str) function in File_Bittorrent2_Encode
/dports/graphics/tesseract/tesseract-5.0.0/unittest/
H A Dunicharset_test.cc53 EXPECT_TRUE(u.encode_string("affine", true, &labels, nullptr, nullptr)); in TEST()
58 EXPECT_FALSE(u.encode_string(lig_str.c_str(), true, &labels, nullptr, nullptr)); in TEST()
60 EXPECT_TRUE(u.encode_string(lig_str.c_str(), true, &labels, nullptr, nullptr)); in TEST()
96 u.encode_string("\u0627\u062c\u062c\u062f\u0635\u062b", true, &labels, nullptr, nullptr)); in TEST()
105 EXPECT_TRUE(u.encode_string(cleaned.c_str(), true, &labels, &lengths, &encoded_length)); in TEST()
/dports/chinese/fcitx/fcitx-4.2.9.7/tools/dev/
H A Dfcitx-po-parser.c94 encode_string(const char *in, char *out, size_t l) in encode_string() function
112 encode_string(lang, res, lang_len); in lang_to_prefix()
142 encode_string(msg_id, p, id_len); in parse_po()
145 encode_string(msg_str, p + 1, str_len); in parse_po()
201 encode_string(in_buff, out_buff, len); in encode_stdin()
/dports/games/cdogs-sdl/cdogs-sdl-1.0.1/src/proto/nanopb/tests/callbacks/
H A Dencode_callbacks.c9 bool encode_string(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in encode_string() function
71 testmessage.stringvalue.funcs.encode = &encode_string; in main()
77 testmessage.submsg.stringvalue.funcs.encode = &encode_string; in main()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/grpc/src/third_party/nanopb/tests/callbacks/
H A Dencode_callbacks.c9 bool encode_string(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in encode_string() function
71 testmessage.stringvalue.funcs.encode = &encode_string; in main()
77 testmessage.submsg.stringvalue.funcs.encode = &encode_string; in main()
/dports/devel/genie/GENie-a503d6e/src/actions/jcdb/
H A Djcdb_solution.lua22 local function encode_string(s) function
124 _p(' { "directory": %s,', encode_string(directory))
125 _p(' "command": %s,', encode_string(build_command(cfg, cc, file)))
126 _p(' "file": %s },', encode_string(file))

12345678910>>...22