Home
last modified time | relevance | path

Searched refs:token_length (Results 26 – 50 of 400) sorted by relevance

12345678910>>...16

/dports/graphics/blender/blender-2.91.0/intern/cycles/util/
H A Dutil_string.cpp82 size_t token_start = 0, token_length = 0; in string_split() local
89 ++token_length; in string_split()
95 if (!skip_empty_tokens || token_length > 0) { in string_split()
96 string token = str.substr(token_start, token_length); in string_split()
100 token_length = 0; in string_split()
104 if (token_length) { in string_split()
105 string token = str.substr(token_start, token_length); in string_split()
/dports/devel/libgpkg/luciad-libgpkg-c56e3708453e/gpkg/
H A Dwkt.c266 int token_length; member
284 if (tok-> token_length > 0) { in wkt_tokenizer_error()
318 tok->token_length = token_length; in wkt_tokenizer_next()
323 if (token_length == 1) { in wkt_tokenizer_next()
325 } else if (token_length == 2) { in wkt_tokenizer_next()
355 tok->token_length = 0; in wkt_tokenizer_next()
366 tok->token_length = 1; in wkt_tokenizer_next()
371 tok->token_length = 1; in wkt_tokenizer_next()
376 tok->token_length = 1; in wkt_tokenizer_next()
379 tok->token_length = 0; in wkt_tokenizer_next()
[all …]
/dports/sysutils/syslog-ng/syslog-ng-3.35.1/lib/compat/tests/
H A Dtest_strtok_r.c72 int token_length; in assert_if_tokenizer_concatenated_result_not_match() local
78 token_length = strlen(token); in assert_if_tokenizer_concatenated_result_not_match()
79 memcpy(result + result_idx, token, token_length); in assert_if_tokenizer_concatenated_result_not_match()
80 result_idx += token_length; in assert_if_tokenizer_concatenated_result_not_match()
/dports/devel/gnulib/gnulib-20140202-stable/lib/
H A Dreadtokens.c168 size_t token_length = readtoken (stream, delim, n_delim, token); in readtokens() local
175 if (token_length == (size_t) -1) in readtokens()
182 tmp = xnmalloc (token_length + 1, sizeof *tmp); in readtokens()
183 lengths[n_tokens] = token_length; in readtokens()
184 tokens[n_tokens] = memcpy (tmp, token->buffer, token_length + 1); in readtokens()
/dports/sysutils/coreutils/coreutils-8.32/lib/
H A Dreadtokens.c168 size_t token_length = readtoken (stream, delim, n_delim, token); in readtokens() local
175 if (token_length == (size_t) -1) in readtokens()
182 tmp = xnmalloc (token_length + 1, sizeof *tmp); in readtokens()
183 lengths[n_tokens] = token_length; in readtokens()
184 tokens[n_tokens] = memcpy (tmp, token->buffer, token_length + 1); in readtokens()
/dports/misc/gnuls/coreutils-8.30/lib/
H A Dreadtokens.c168 size_t token_length = readtoken (stream, delim, n_delim, token); in readtokens() local
175 if (token_length == (size_t) -1) in readtokens()
182 tmp = xnmalloc (token_length + 1, sizeof *tmp); in readtokens()
183 lengths[n_tokens] = token_length; in readtokens()
184 tokens[n_tokens] = memcpy (tmp, token->buffer, token_length + 1); in readtokens()
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/lib/
H A Dreadtokens.c166 size_t token_length = readtoken (stream, delim, n_delim, token); in readtokens() local
173 if (token_length == (size_t) -1) in readtokens()
180 tmp = xnmalloc (token_length + 1, sizeof *tmp); in readtokens()
181 lengths[n_tokens] = token_length; in readtokens()
182 tokens[n_tokens] = memcpy (tmp, token->buffer, token_length + 1); in readtokens()
/dports/security/p5-Session-Token/Session-Token-1.503/lib/Session/
H A DToken.pm80 my $token_length;
84 $token_length = $args{length};
89 $token_length = ceil($entropy / $alphabet_entropy);
93 return _new_context($seed, $alphabet, $token_length);
/dports/biology/garlic/garlic-1.6/
H A Dextract_token.c42 int token_length = 0; in ExtractToken_() local
105 token_length++; in ExtractToken_()
106 if (token_length >= max_length - 1) break; in ExtractToken_()
/dports/net/libcoap/libcoap-4.3.0/tests/
H A Dtest_error_response.c48 CU_ASSERT(response->token_length == 0); in t_error_response1()
78 CU_ASSERT(response->token_length == 5); in t_error_response2()
111 CU_ASSERT(response->token_length == 5); in t_error_response3()
150 CU_ASSERT(response->token_length == 5); in t_error_response4()
191 CU_ASSERT(response->token_length == 5); in t_error_response5()
232 CU_ASSERT(response->token_length == 5); in t_error_response6()
274 CU_ASSERT(response->token_length == 5); in t_error_response7()
315 CU_ASSERT(response->token_length == 5); in t_error_response8()
/dports/databases/mariadb105-client/mariadb-10.5.15/sql/
H A Ddebug_sync.cc954 uint token_length; in debug_sync_number() local
1009 uint token_length= 0; in debug_sync_eval_action() local
1030 action= debug_sync_get_action(thd, token, token_length); in debug_sync_eval_action()
1041 if (!(ptr= debug_sync_token(&token, &token_length, ptr, action_end))) in debug_sync_eval_action()
1122 if (!(ptr= debug_sync_token(&token, &token_length, ptr, action_end))) in debug_sync_eval_action()
1127 if (action->signal.copy(token, token_length, system_charset_info)) in debug_sync_eval_action()
1140 if (!(ptr= debug_sync_token(&token, &token_length, ptr, action_end))) in debug_sync_eval_action()
1150 if (!(ptr= debug_sync_token(&token, &token_length, ptr, action_end))) in debug_sync_eval_action()
1155 if (action->wait_for.copy(token, token_length, system_charset_info)) in debug_sync_eval_action()
1169 if (!(ptr= debug_sync_token(&token, &token_length, ptr, action_end))) in debug_sync_eval_action()
[all …]
/dports/databases/mariadb104-server/mariadb-10.4.24/sql/
H A Ddebug_sync.cc929 uint token_length; in debug_sync_number() local
984 uint token_length= 0; in debug_sync_eval_action() local
1005 action= debug_sync_get_action(thd, token, token_length); in debug_sync_eval_action()
1016 if (!(ptr= debug_sync_token(&token, &token_length, ptr, action_end))) in debug_sync_eval_action()
1097 if (!(ptr= debug_sync_token(&token, &token_length, ptr, action_end))) in debug_sync_eval_action()
1102 if (action->signal.copy(token, token_length, system_charset_info)) in debug_sync_eval_action()
1115 if (!(ptr= debug_sync_token(&token, &token_length, ptr, action_end))) in debug_sync_eval_action()
1125 if (!(ptr= debug_sync_token(&token, &token_length, ptr, action_end))) in debug_sync_eval_action()
1130 if (action->wait_for.copy(token, token_length, system_charset_info)) in debug_sync_eval_action()
1144 if (!(ptr= debug_sync_token(&token, &token_length, ptr, action_end))) in debug_sync_eval_action()
[all …]
/dports/databases/mariadb104-client/mariadb-10.4.24/sql/
H A Ddebug_sync.cc929 uint token_length; in debug_sync_number() local
984 uint token_length= 0; in debug_sync_eval_action() local
1005 action= debug_sync_get_action(thd, token, token_length); in debug_sync_eval_action()
1016 if (!(ptr= debug_sync_token(&token, &token_length, ptr, action_end))) in debug_sync_eval_action()
1097 if (!(ptr= debug_sync_token(&token, &token_length, ptr, action_end))) in debug_sync_eval_action()
1102 if (action->signal.copy(token, token_length, system_charset_info)) in debug_sync_eval_action()
1115 if (!(ptr= debug_sync_token(&token, &token_length, ptr, action_end))) in debug_sync_eval_action()
1125 if (!(ptr= debug_sync_token(&token, &token_length, ptr, action_end))) in debug_sync_eval_action()
1130 if (action->wait_for.copy(token, token_length, system_charset_info)) in debug_sync_eval_action()
1144 if (!(ptr= debug_sync_token(&token, &token_length, ptr, action_end))) in debug_sync_eval_action()
[all …]
/dports/databases/mariadb103-client/mariadb-10.3.34/sql/
H A Ddebug_sync.cc929 uint token_length;
984 uint token_length= 0;
1005 action= debug_sync_get_action(thd, token, token_length);
1016 if (!(ptr= debug_sync_token(&token, &token_length, ptr, action_end)))
1097 if (!(ptr= debug_sync_token(&token, &token_length, ptr, action_end)))
1102 if (action->signal.copy(token, token_length, system_charset_info))
1115 if (!(ptr= debug_sync_token(&token, &token_length, ptr, action_end)))
1125 if (!(ptr= debug_sync_token(&token, &token_length, ptr, action_end)))
1130 if (action->wait_for.copy(token, token_length, system_charset_info))
1144 if (!(ptr= debug_sync_token(&token, &token_length, ptr, action_end)))
[all …]
/dports/databases/mariadb103-server/mariadb-10.3.34/sql/
H A Ddebug_sync.cc929 uint token_length;
984 uint token_length= 0;
1005 action= debug_sync_get_action(thd, token, token_length);
1016 if (!(ptr= debug_sync_token(&token, &token_length, ptr, action_end)))
1097 if (!(ptr= debug_sync_token(&token, &token_length, ptr, action_end)))
1102 if (action->signal.copy(token, token_length, system_charset_info))
1115 if (!(ptr= debug_sync_token(&token, &token_length, ptr, action_end)))
1125 if (!(ptr= debug_sync_token(&token, &token_length, ptr, action_end)))
1130 if (action->wait_for.copy(token, token_length, system_charset_info))
1144 if (!(ptr= debug_sync_token(&token, &token_length, ptr, action_end)))
[all …]
/dports/databases/mariadb105-server/mariadb-10.5.15/sql/
H A Ddebug_sync.cc954 uint token_length; in debug_sync_number() local
1009 uint token_length= 0; in debug_sync_eval_action() local
1030 action= debug_sync_get_action(thd, token, token_length); in debug_sync_eval_action()
1041 if (!(ptr= debug_sync_token(&token, &token_length, ptr, action_end))) in debug_sync_eval_action()
1122 if (!(ptr= debug_sync_token(&token, &token_length, ptr, action_end))) in debug_sync_eval_action()
1127 if (action->signal.copy(token, token_length, system_charset_info)) in debug_sync_eval_action()
1140 if (!(ptr= debug_sync_token(&token, &token_length, ptr, action_end))) in debug_sync_eval_action()
1150 if (!(ptr= debug_sync_token(&token, &token_length, ptr, action_end))) in debug_sync_eval_action()
1155 if (action->wait_for.copy(token, token_length, system_charset_info)) in debug_sync_eval_action()
1169 if (!(ptr= debug_sync_token(&token, &token_length, ptr, action_end))) in debug_sync_eval_action()
[all …]
/dports/databases/mysql55-client/mysql-5.5.62/sql/
H A Ddebug_sync.cc1269 uint token_length; in debug_sync_number() local
1324 uint token_length= 0; in debug_sync_eval_action() local
1344 action= debug_sync_get_action(thd, token, token_length); in debug_sync_eval_action()
1355 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1436 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1454 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1464 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1483 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1499 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1527 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
[all …]
/dports/databases/percona56-client/percona-server-5.6.51-91.0/sql/
H A Ddebug_sync.cc1344 uint token_length; in debug_sync_number() local
1399 uint token_length= 0; in debug_sync_eval_action() local
1419 action= debug_sync_get_action(thd, token, token_length); in debug_sync_eval_action()
1430 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1511 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1529 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1539 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1559 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1603 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1614 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
[all …]
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/sql/
H A Ddebug_sync.cc1344 uint token_length; in debug_sync_number() local
1399 uint token_length= 0; in debug_sync_eval_action() local
1419 action= debug_sync_get_action(thd, token, token_length); in debug_sync_eval_action()
1430 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1511 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1529 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1539 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1559 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1603 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1614 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
[all …]
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/sql/
H A Ddebug_sync.cc1416 size_t token_length; in debug_sync_number() local
1471 size_t token_length= 0; in debug_sync_eval_action() local
1491 action= debug_sync_get_action(thd, token, token_length); in debug_sync_eval_action()
1502 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1583 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1601 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1611 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1631 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1675 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1686 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
[all …]
/dports/databases/percona57-server/percona-server-5.7.36-39/sql/
H A Ddebug_sync.cc1416 size_t token_length; in debug_sync_number() local
1471 size_t token_length= 0; in debug_sync_eval_action() local
1491 action= debug_sync_get_action(thd, token, token_length); in debug_sync_eval_action()
1502 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1583 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1601 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1611 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1631 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1675 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1686 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
[all …]
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/sql/
H A Ddebug_sync.cc1416 size_t token_length; in debug_sync_number() local
1471 size_t token_length= 0; in debug_sync_eval_action() local
1491 action= debug_sync_get_action(thd, token, token_length); in debug_sync_eval_action()
1502 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1583 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1601 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1611 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1631 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1675 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1686 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
[all …]
/dports/databases/percona57-client/percona-server-5.7.36-39/sql/
H A Ddebug_sync.cc1416 size_t token_length; in debug_sync_number() local
1471 size_t token_length= 0; in debug_sync_eval_action() local
1491 action= debug_sync_get_action(thd, token, token_length); in debug_sync_eval_action()
1502 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1583 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1601 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1611 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1631 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1675 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1686 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
[all …]
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/sql/
H A Ddebug_sync.cc1416 size_t token_length; in debug_sync_number() local
1471 size_t token_length= 0; in debug_sync_eval_action() local
1491 action= debug_sync_get_action(thd, token, token_length); in debug_sync_eval_action()
1502 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1583 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1601 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1611 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1631 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1675 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1686 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
[all …]
/dports/databases/percona56-server/percona-server-5.6.51-91.0/sql/
H A Ddebug_sync.cc1344 uint token_length; in debug_sync_number() local
1399 uint token_length= 0; in debug_sync_eval_action() local
1419 action= debug_sync_get_action(thd, token, token_length); in debug_sync_eval_action()
1430 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1511 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1529 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1539 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1559 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1603 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
1614 if (!(ptr= debug_sync_token(&token, &token_length, ptr))) in debug_sync_eval_action()
[all …]

12345678910>>...16