Home
last modified time | relevance | path

Searched refs:string (Results 1 – 25 of 55) sorted by relevance

123

/dpdk/lib/eal/windows/include/
H A Dfnmatch.h97 fnmatch(const char *pattern, const char *string, int flags) in fnmatch() argument
102 for (stringstart = string;;) in fnmatch()
105 if ((flags & FNM_LEADING_DIR) && *string == '/') in fnmatch()
107 return (*string == FNM_EOS ? 0 : FNM_NOMATCH); in fnmatch()
109 if (*string == FNM_EOS) in fnmatch()
111 if (*string == '/' && (flags & FNM_PATHNAME)) in fnmatch()
113 if (*string == '.' && (flags & FNM_PERIOD) && in fnmatch()
114 (string == stringstart || in fnmatch()
115 ((flags & FNM_PATHNAME) && *(string - 1) == '/'))) in fnmatch()
117 ++string; in fnmatch()
[all …]
H A Dregex.h29 * contained in the string pointed to by the pattern argument
43 * The regexec() function compares the null-terminated string
44 * specified by string with the compiled regular expression
51 __rte_unused const char *string, __rte_unused size_t nmatch, in regexec() argument
/dpdk/lib/eal/common/
H A Deal_common_string_fns.c15 rte_strsplit(char *string, int stringlen, in rte_strsplit() argument
21 if (string == NULL || tokens == NULL) in rte_strsplit()
25 if (string[i] == '\0' || tok >= maxtokens) in rte_strsplit()
29 tokens[tok++] = &string[i]; in rte_strsplit()
31 if (string[i] == delim) { in rte_strsplit()
32 string[i] = '\0'; in rte_strsplit()
/dpdk/
H A Dmeson_options.txt5 option('cpu_instruction_set', type: 'string', value: 'auto',
9 option('disable_apps', type: 'string', value: '', description:
11 option('disable_drivers', type: 'string', value: '', description:
13 option('disable_libs', type: 'string', value: '', description:
15 option('drivers_install_subdir', type: 'string', value: 'dpdk/pmds-<VERSION>', description:
19 option('enable_apps', type: 'string', value: '', description:
21 option('enable_deprecated_libs', type: 'string', value: '', description:
23 option('enable_drivers', type: 'string', value: '', description:
29 option('enable_libs', type: 'string', value: '', description:
31 option('examples', type: 'string', value: '', description:
[all …]
/dpdk/examples/ip_pipeline/
H A Dparser.c14 #include <string.h>
237 parse_tokenize_string(char *string, char *tokens[], uint32_t *n_tokens) in parse_tokenize_string() argument
241 if ((string == NULL) || in parse_tokenize_string()
247 tokens[i] = strtok_r(string, PARSE_DELIMITER, &string); in parse_tokenize_string()
253 (NULL != strtok_r(string, PARSE_DELIMITER, &string))) in parse_tokenize_string()
297 parse_mpls_labels(char *string, uint32_t *labels, uint32_t *n_labels) in parse_mpls_labels() argument
302 if (strcmp(string, "<void>") == 0) { in parse_mpls_labels()
308 for ( ; (*string ! in parse_mpls_labels()
[all...]
H A Dparser.h44 int parse_mpls_labels(char *string, uint32_t *labels, uint32_t *n_labels);
54 int parse_tokenize_string(char *string, char *tokens[], uint32_t *n_tokens);
/dpdk/drivers/net/hns3/
H A Dhns3_dcb.h188 #define hns3_dcb_set_field(dest, string, val) \ argument
190 (HNS3_DCB_SHAP_##string##_MSK), \
191 (HNS3_DCB_SHAP_##string##_LSH), val)
192 #define hns3_dcb_get_field(src, string) \ argument
193 hns3_get_field((src), (HNS3_DCB_SHAP_##string##_MSK), \
194 (HNS3_DCB_SHAP_##string##_LSH))
/dpdk/app/test-mldev/
H A Dparser.c282 parse_tokenize_string(char *string, char *tokens[], uint32_t *n_tokens) in parse_tokenize_string() argument
286 if ((string == NULL) || (tokens == NULL) || (*n_tokens < 1)) in parse_tokenize_string()
290 tokens[i] = strtok_r(string, PARSE_DELIMITER, &string); in parse_tokenize_string()
295 if ((i == *n_tokens) && (strtok_r(string, PARSE_DELIMITER, &string) != NULL)) in parse_tokenize_string()
H A Dparser.h43 int parse_tokenize_string(char *string, char *tokens[], uint32_t *n_tokens);
/dpdk/app/test-eventdev/
H A Dparser.c253 parse_tokenize_string(char *string, char *tokens[], uint32_t *n_tokens) in parse_tokenize_string() argument
257 if ((string == NULL) || in parse_tokenize_string()
263 tokens[i] = strtok_r(string, PARSE_DELIMITER, &string); in parse_tokenize_string()
269 (strtok_r(string, PARSE_DELIMITER, &string) != NULL)) in parse_tokenize_string()
H A Dparser.h40 int parse_tokenize_string(char *string, char *tokens[], uint32_t *n_tokens);
/dpdk/examples/qos_sched/
H A Dargs.c6 #include <string.h>
92 char *string; in app_parse_opt_vals() local
99 /* duplicate configuration string before splitting it to tokens */ in app_parse_opt_vals()
100 string = strdup(conf_str); in app_parse_opt_vals()
101 if (string == NULL) in app_parse_opt_vals()
104 n_tokens = rte_strsplit(string, strnlen(string, 32), tokens, n_vals, separator); in app_parse_opt_vals()
107 free(string); in app_parse_opt_vals()
114 free(string); in app_parse_opt_vals()
/dpdk/lib/cmdline/
H A Dcmdline_parse_string.h56 #define TOKEN_STRING_INITIALIZER(structure, field, string) \ argument
65 string, /* str */ \
/dpdk/examples/ipsec-secgw/
H A Dparser.c24 parse_tokenize_string(char *string, char *tokens[], uint32_t *n_tokens) in parse_tokenize_string() argument
28 if ((string == NULL) || in parse_tokenize_string()
34 tokens[i] = strtok_r(string, PARSE_DELIMITER, &string); in parse_tokenize_string()
40 (NULL != strtok_r(string, PARSE_DELIMITER, &string))) in parse_tokenize_string()
/dpdk/lib/cryptodev/
H A Dcryptodev_trace_points.c79 lib.cryptodev.get.aead.algo.string)
82 lib.cryptodev.get.auth.algo.string)
85 lib.cryptodev.get.cipher.algo.string)
142 lib.cryptodev.asym.get.xform.string)
/dpdk/doc/guides/prog_guide/
H A Dtelemetry_lib.rst131 Telemetry also supports single string data.
136 rte_tel_data_string(d, "This is an example string");
140 {"/example_lib/string_example": "This is an example string"}
150 available via the Telemetry library. This involves providing a string command
158 "Returns an example string. Takes no parameters");
H A Dcmdline.rst111 * A parse context for each command, including the per-command comments as help string
165 Such a variable parameter would not normally be included in the "cmdname" string,
168 any variable token with a name prefixed by ``'__'`` will be included in the "cmdname" string,
219 For this, we only need to define a structure with a single string parameter to contain that word.
251 * For variable string parameters,
263 For fixed string tokens, like "quit", "show" and "port", the initializer will be the string itself.
290 For variable string tokens, the same ``TOKEN_STRING_INITIALIZER`` macro should be used.
291 However, the final parameter should be ``NULL`` rather than a hard-coded token string.
460 * For simple string commands, multiple options can be concatenated using the "#" character.
462 will match either on the string "exit" or the string "quit".
/dpdk/examples/multi_process/simple_mp/
H A Dcommands.list4 send <STRING>message # send a string to another process
/dpdk/doc/guides/gpus/features/
H A Ddefault.ini7 ; string should not exceed feature_str_len defined in conf.py.
/dpdk/lib/eal/include/
H A Drte_string_fns.h16 #include <string.h>
26 * Takes string "string" parameter and splits it at character "delim"
28 * strtok or strsep functions, this modifies its input string, by replacing
32 * @param string
33 * The input string to be split into tokens
39 * The array to hold the pointers to the tokens in the string
43 * of the string will be done.
52 rte_strsplit(char *string, int stringlen,
93 #include <bsd/string
[all...]
/dpdk/usertools/
H A Ddpdk-pmdinfo.py34 import string
194 PRINTABLE_BYTES = frozenset(string.printable.encode("ascii"))
/dpdk/doc/guides/nics/
H A Dvdev_netvsc.rst73 - ``iface`` [string]
78 - ``mac`` [string]
/dpdk/doc/guides/regexdevs/features/
H A Ddefault.ini7 ; string should not exceed feature_str_len defined in conf.py.
/dpdk/doc/guides/vdpadevs/features/
H A Ddefault.ini7 ; string should not exceed feature_str_len defined in conf.py.
/dpdk/lib/pipeline/
H A Drte_swx_ipsec.h323 * IPsec SA read from string
359 * @param[in] string
363 * *string* contains a blank or comment line and to zero otherwise.
365 * On error, when its input value is not NULL, this argument points to a string with details on
373 const char *string,

123