Home
last modified time | relevance | path

Searched refs:first_colon (Results 1 – 25 of 72) sorted by relevance

123

/dports/misc/adios2/ADIOS2-2.7.1/thirdparty/EVPath/EVPath/mtests/
H A Dsupport.c31 char *first_colon, *second_colon;\
37 first_colon = index(argv[2], ':');\
38 if (first_colon) {\
39 *first_colon = 0;\
40 second_colon = index(first_colon+1, ':');\
45 if (first_colon) {\
48 if (sscanf(first_colon+1, "%d", &ssh_port_int) != 1) {\
49 second_colon = first_colon;\
51 ssh_port = first_colon + 1;\
/dports/misc/adios2/ADIOS2-2.7.1/thirdparty/EVPath/EVPath/tests/
H A Dsupport.c31 char *first_colon, *second_colon;\
37 first_colon = index(argv[2], ':');\
38 if (first_colon) {\
39 *first_colon = 0;\
40 second_colon = index(first_colon+1, ':');\
45 if (first_colon) {\
48 if (sscanf(first_colon+1, "%d", &ssh_port_int) != 1) {\
49 second_colon = first_colon;\
51 ssh_port = first_colon + 1;\
H A Dbulktest.c289 char *first_colon, *second_colon; in main() local
295 first_colon = index(argv[2], ':'); in main()
296 if (first_colon) { in main()
297 *first_colon = 0; in main()
298 second_colon = index(first_colon+1, ':'); in main()
303 if (first_colon) { in main()
306 if (sscanf(first_colon+1, "%d", &ssh_port_int) != 1) { in main()
307 second_colon = first_colon; in main()
309 ssh_port = first_colon + 1; in main()
/dports/devel/grpc134/grpc-1.34.1/src/core/lib/security/authorization/
H A Devaluate_args.cc77 size_t first_colon = addr.find(":"); in GetLocalAddress() local
79 if (first_colon == std::string::npos || last_colon == std::string::npos) { in GetLocalAddress()
82 return addr.substr(first_colon + 1, last_colon - first_colon - 1); in GetLocalAddress()
103 size_t first_colon = addr.find(":"); in GetPeerAddress() local
105 if (first_colon == std::string::npos || last_colon == std::string::npos) { in GetPeerAddress()
108 return addr.substr(first_colon + 1, last_colon - first_colon - 1); in GetPeerAddress()
/dports/mail/spamprobe/spamprobe-1.4d/src/database/
H A DDatabaseConfig.cc101 string::size_type first_colon = arg.find(":"); in parseCommandLineArg() local
102 if (first_colon == string::npos) { in parseCommandLineArg()
106 database_type = arg.substr(0, first_colon); in parseCommandLineArg()
108 string::size_type last_colon = arg.find(":", first_colon + 1); in parseCommandLineArg()
110 arg.erase(0, first_colon + 1); in parseCommandLineArg()
112 target_size_mb = atoi(arg.substr(first_colon + 1, last_colon - first_colon - 1).c_str()); in parseCommandLineArg()
/dports/net/arataga/restinio-v.0.6.13/dev/restinio/helpers/http_field_parsers/
H A Dbasic_auth.hpp197 const auto first_colon = username_password.find( ':' ); in try_extract_params() local
198 if( std::string::npos == first_colon ) in try_extract_params()
201 if( 0u == first_colon ) in try_extract_params()
205 username_password.substr( 0u, first_colon ), in try_extract_params()
206 username_password.substr( first_colon + 1u ) in try_extract_params()
/dports/misc/adios2/ADIOS2-2.7.1/thirdparty/EVPath/EVPath/dfg_tests/
H A Dtest_support.c281 char *first_colon, *second_colon; in main() local
287 first_colon = index(argv[2], ':'); in main()
288 if (first_colon) { in main()
289 *first_colon = 0; in main()
290 second_colon = index(first_colon+1, ':'); in main()
296 if (first_colon) { in main()
299 if (sscanf(first_colon+1, "%d", &ssh_port_int) != 1) { in main()
300 second_colon = first_colon; in main()
303 ssh_port = first_colon + 1; in main()
/dports/sysutils/cfengine317/cfengine-3.17.0/libcfnet/
H A Daddr_lib.c604 char *first_colon = strchr(s, ':'); in ParseHostPort() local
613 if (first_colon != NULL && first_colon < p) in ParseHostPort()
629 else if (first_colon == NULL) // localhost, 192.168.0.1 in ParseHostPort()
636 else if (first_dot == NULL || first_colon < first_dot) in ParseHostPort()
639 if (strchr(first_colon + 1, ':') == NULL) in ParseHostPort()
641 *first_colon = '\0'; in ParseHostPort()
642 p = first_colon + 1; in ParseHostPort()
/dports/sysutils/cfengine-devel/core-d08ae9eff/libcfnet/
H A Daddr_lib.c585 char *first_colon = strchr(s, ':'); in ParseHostPort() local
594 if (first_colon != NULL && first_colon < p) in ParseHostPort()
610 else if (first_colon == NULL) // localhost, 192.168.0.1 in ParseHostPort()
617 else if (first_dot == NULL || first_colon < first_dot) in ParseHostPort()
620 if (strchr(first_colon + 1, ':') == NULL) in ParseHostPort()
622 *first_colon = '\0'; in ParseHostPort()
623 p = first_colon + 1; in ParseHostPort()
/dports/sysutils/cfengine316/cfengine-3.16.0/libcfnet/
H A Daddr_lib.c604 char *first_colon = strchr(s, ':'); in ParseHostPort() local
613 if (first_colon != NULL && first_colon < p) in ParseHostPort()
629 else if (first_colon == NULL) // localhost, 192.168.0.1 in ParseHostPort()
636 else if (first_dot == NULL || first_colon < first_dot) in ParseHostPort()
639 if (strchr(first_colon + 1, ':') == NULL) in ParseHostPort()
641 *first_colon = '\0'; in ParseHostPort()
642 p = first_colon + 1; in ParseHostPort()
/dports/sysutils/cfengine/cfengine-3.19.0/libcfnet/
H A Daddr_lib.c585 char *first_colon = strchr(s, ':'); in ParseHostPort() local
594 if (first_colon != NULL && first_colon < p) in ParseHostPort()
610 else if (first_colon == NULL) // localhost, 192.168.0.1 in ParseHostPort()
617 else if (first_dot == NULL || first_colon < first_dot) in ParseHostPort()
620 if (strchr(first_colon + 1, ':') == NULL) in ParseHostPort()
622 *first_colon = '\0'; in ParseHostPort()
623 p = first_colon + 1; in ParseHostPort()
/dports/sysutils/cfengine318/cfengine-3.18.1/libcfnet/
H A Daddr_lib.c604 char *first_colon = strchr(s, ':'); in ParseHostPort() local
613 if (first_colon != NULL && first_colon < p) in ParseHostPort()
629 else if (first_colon == NULL) // localhost, 192.168.0.1 in ParseHostPort()
636 else if (first_dot == NULL || first_colon < first_dot) in ParseHostPort()
639 if (strchr(first_colon + 1, ':') == NULL) in ParseHostPort()
641 *first_colon = '\0'; in ParseHostPort()
642 p = first_colon + 1; in ParseHostPort()
/dports/sysutils/cfengine319/cfengine-3.19.0/libcfnet/
H A Daddr_lib.c585 char *first_colon = strchr(s, ':'); in ParseHostPort() local
594 if (first_colon != NULL && first_colon < p) in ParseHostPort()
610 else if (first_colon == NULL) // localhost, 192.168.0.1 in ParseHostPort()
617 else if (first_dot == NULL || first_colon < first_dot) in ParseHostPort()
620 if (strchr(first_colon + 1, ':') == NULL) in ParseHostPort()
622 *first_colon = '\0'; in ParseHostPort()
623 p = first_colon + 1; in ParseHostPort()
/dports/databases/evolution-data-server/evolution-data-server-3.42.1/src/libedataserver/
H A De-url.c40 const gchar *first_colon = NULL; in e_url_shroud() local
54 if (first_colon == NULL && *p == ':') in e_url_shroud()
55 first_colon = p; in e_url_shroud()
61 if (first_colon && last_at && first_colon < last_at) { in e_url_shroud()
62 shrouded = g_malloc (first_colon - url + strlen (last_at) + 1); in e_url_shroud()
63 memcpy (shrouded, url, first_colon - url); in e_url_shroud()
64 strcpy (shrouded + (first_colon - url), last_at); in e_url_shroud()
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/extras/multinetwork/
H A Dhttpurl.cpp83 const auto first_colon = parameters->host.find_first_of(':'); in parseUrl() local
84 if (first_colon != std::string::npos) { in parseUrl()
85 parameters->port = parameters->host.substr(first_colon + 1); in parseUrl()
86 parameters->hostname = parameters->host.substr(0, first_colon); in parseUrl()
/dports/databases/arrow/apache-arrow-6.0.1/cpp/src/arrow/util/
H A Dreflection_test.cc101 auto first_colon = members_[i].find_first_of(':'); in operator ()() local
102 if (first_colon == util::string_view::npos) return Fail(); in operator ()()
104 auto name = members_[i].substr(0, first_colon); in operator ()()
107 auto value_repr = members_[i].substr(first_colon + 1); in operator ()()
/dports/devel/py-libcst/libcst-0.3.23/libcst/_nodes/tests/
H A Dtest_subscript.py70 first_colon=cst.Colon(),
88 first_colon=cst.Colon(),
330 first_colon=cst.Colon(
363 first_colon=cst.Colon(
403 first_colon=cst.Colon(
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_builtin_macros/src/
H A Dllvm_asm.rs88 let first_colon = tts in parse_inline_asm() localVariable
97 let mut p = cx.new_parser_from_tts(tts.trees().skip(first_colon).collect()); in parse_inline_asm()
123 let mut p2 = cx.new_parser_from_tts(tts.trees().take(first_colon).collect()); in parse_inline_asm()
142 extra_tts.extend(tts.trees().skip(first_colon)); in parse_inline_asm()
/dports/devel/tla/tla-1.3.5/src/tla/libarch/
H A Dinode-sig.c551 const t_uchar * first_colon; in prune_old_dev_cruft() local
556 first_colon = str_chr_index (sig, ':'); in prune_old_dev_cruft()
557 if (!first_colon) in prune_old_dev_cruft()
560 …rel_set_taking (the_table, x, 1, rel_make_field_str_n (first_colon + 1, str_length (first_colon))); in prune_old_dev_cruft()
/dports/multimedia/v4l_compat/linux-5.13-rc2/kernel/
H A Dcrash_core.c236 char *first_colon, *first_space; in __parse_crashkernel() local
257 first_colon = strchr(ck_cmdline, ':'); in __parse_crashkernel()
259 if (first_colon && (!first_space || first_colon < first_space)) in __parse_crashkernel()
/dports/multimedia/libv4l/linux-5.13-rc2/kernel/
H A Dcrash_core.c236 char *first_colon, *first_space; in __parse_crashkernel() local
257 first_colon = strchr(ck_cmdline, ':'); in __parse_crashkernel()
259 if (first_colon && (!first_space || first_colon < first_space)) in __parse_crashkernel()
/dports/multimedia/v4l-utils/linux-5.13-rc2/kernel/
H A Dcrash_core.c236 char *first_colon, *first_space; in __parse_crashkernel() local
257 first_colon = strchr(ck_cmdline, ':'); in __parse_crashkernel()
259 if (first_colon && (!first_space || first_colon < first_space)) in __parse_crashkernel()
/dports/mail/hashcash/hashcash-1.22/
H A Dlibhc.c366 char* first_colon = NULL; in hashcash_count() local
373 first_colon = strchr( token, ':' ); in hashcash_count()
374 if ( first_colon == NULL ) { return 0; } /* should really fail */ in hashcash_count()
375 ver_len = (int)(first_colon - token); in hashcash_count()
381 second_colon = strchr( first_colon+1, ':' ); in hashcash_count()
/dports/textproc/rarian/rarian-00fa779/librarian/
H A Drarian-main.c.in177 char *first_colon = NULL; local
225 first_colon = strchr (cur_path, ':');
226 if (first_colon)
227 int_path = rrn_strndup (cur_path, (first_colon-cur_path));
244 cur_path = first_colon+1;
245 } while (first_colon);
/dports/java/java-subversion/subversion-1.14.1/subversion/libsvn_subr/
H A Dcmdline.c957 const char *first_colon, *second_colon, *equals_sign; in svn_cmdline__parse_config_option() local
959 if ((first_colon = strchr(opt_arg, ':')) && (first_colon != opt_arg)) in svn_cmdline__parse_config_option()
961 if ((second_colon = strchr(first_colon + 1, ':')) && in svn_cmdline__parse_config_option()
962 (second_colon != first_colon + 1)) in svn_cmdline__parse_config_option()
971 first_colon - opt_arg); in svn_cmdline__parse_config_option()
972 config_option->section = apr_pstrndup(pool, first_colon + 1, in svn_cmdline__parse_config_option()
973 second_colon - first_colon - 1); in svn_cmdline__parse_config_option()

123