Home
last modified time | relevance | path

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

123

/dpdk/lib/eal/windows/
H A Dfnmatch.c34 for (stringstart = string;;) in fnmatch()
41 if (*string == EOS) in fnmatch()
46 (string == stringstart || in fnmatch()
49 ++string; in fnmatch()
71 string = strchr(string, '/'); in fnmatch()
72 if (string == NULL) in fnmatch()
84 ++string; in fnmatch()
88 if (*string == EOS) in fnmatch()
95 ++string; in fnmatch()
107 if (c == *string) in fnmatch()
[all …]
/dpdk/
H A Dmeson_options.txt5 option('cpu_instruction_set', type: 'string', value: 'auto',
9 option('disable_drivers', type: 'string', value: '', description:
11 option('disable_libs', type: 'string', value: '', description:
17 option('enable_drivers', type: 'string', value: '', description:
23 option('examples', type: 'string', value: '', description:
25 option('flexran_sdk', type: 'string', value: '', description:
29 option('include_subdir_arch', type: 'string', value: '', description:
31 option('kernel_dir', type: 'string', value: '', description:
33 option('machine', type: 'string', value: 'auto', description:
37 option('max_lcores', type: 'string', value: 'default', description:
[all …]
/dpdk/lib/eal/common/
H A Deal_common_string_fns.c13 rte_strsplit(char *string, int stringlen, in rte_strsplit() argument
19 if (string == NULL || tokens == NULL) in rte_strsplit()
23 if (string[i] == '\0' || tok >= maxtokens) in rte_strsplit()
27 tokens[tok++] = &string[i]; in rte_strsplit()
29 if (string[i] == delim) { in rte_strsplit()
30 string[i] = '\0'; in rte_strsplit()
/dpdk/examples/ip_pipeline/
H A Dparser.c241 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 != '\0'); ) { in parse_mpls_labels()
316 if (string[0] != ':') in parse_mpls_labels()
319 string++; in parse_mpls_labels()
322 value = strtol(string, &next, 10); in parse_mpls_labels()
323 if (next == string) in parse_mpls_labels()
[all …]
H A Dparser.h51 int parse_mpls_labels(char *string, uint32_t *labels, uint32_t *n_labels);
61 int parse_tokenize_string(char *string, char *tokens[], uint32_t *n_tokens);
/dpdk/drivers/net/softnic/
H A Dparser.c258 if (string == NULL || in softnic_parse_tokenize_string()
264 tokens[i] = strtok_r(string, PARSE_DELIMITER, &string); in softnic_parse_tokenize_string()
270 strtok_r(string, PARSE_DELIMITER, &string) != NULL) in softnic_parse_tokenize_string()
314 softnic_parse_mpls_labels(char *string, uint32_t *labels, uint32_t *n_labels) in softnic_parse_mpls_labels() argument
319 if (strcmp(string, "<void>") == 0) { in softnic_parse_mpls_labels()
325 for ( ; (*string != '\0'); ) { in softnic_parse_mpls_labels()
333 if (string[0] != ':') in softnic_parse_mpls_labels()
336 string++; in softnic_parse_mpls_labels()
339 value = strtol(string, &next, 10); in softnic_parse_mpls_labels()
340 if (next == string) in softnic_parse_mpls_labels()
[all …]
H A Dparser.h53 int softnic_parse_mpls_labels(char *string,
65 int softnic_parse_tokenize_string(char *string,
/dpdk/drivers/net/mvpp2/
H A Dmrvl_ethdev.h218 get_val_securely(const char *string, uint32_t *val) in get_val_securely() argument
221 size_t len = strlen(string); in get_val_securely()
227 *val = strtoul(string, &endptr, 0); in get_val_securely()
228 if (errno != 0 || RTE_PTR_DIFF(endptr, string) != len) in get_val_securely()
235 get_val_securely8(const char *string, uint32_t base, uint8_t *val) in get_val_securely8() argument
238 size_t len = strlen(string); in get_val_securely8()
244 *val = (uint8_t)strtoul(string, &endptr, base); in get_val_securely8()
245 if (errno != 0 || RTE_PTR_DIFF(endptr, string) != len) in get_val_securely8()
/dpdk/drivers/net/hns3/
H A Dhns3_dcb.h184 #define hns3_dcb_set_field(dest, string, val) \ argument
186 (HNS3_DCB_SHAP_##string##_MSK), \
187 (HNS3_DCB_SHAP_##string##_LSH), val)
188 #define hns3_dcb_get_field(src, string) \ argument
189 hns3_get_field((src), (HNS3_DCB_SHAP_##string##_MSK), \
190 (HNS3_DCB_SHAP_##string##_LSH))
/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.h47 int parse_tokenize_string(char *string, char *tokens[], uint32_t *n_tokens);
/dpdk/examples/qos_sched/
H A Dargs.c130 char *string; in app_parse_opt_vals() local
138 string = strdup(conf_str); in app_parse_opt_vals()
139 if (string == NULL) in app_parse_opt_vals()
142 n_tokens = rte_strsplit(string, strnlen(string, 32), tokens, n_vals, separator); in app_parse_opt_vals()
150 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/drivers/net/dpaa2/
H A Ddpaa2_flow.c164 char *string) in dpaa2_prot_field_string() argument
170 strcpy(string, "eth"); in dpaa2_prot_field_string()
186 strcpy(string, "ip"); in dpaa2_prot_field_string()
196 strcpy(string, "tcp"); in dpaa2_prot_field_string()
204 strcpy(string, "udp"); in dpaa2_prot_field_string()
242 char string[32]; in dpaa2_flow_qos_table_extracts_log() local
255 string); in dpaa2_flow_qos_table_extracts_log()
256 printf("%s", string); in dpaa2_flow_qos_table_extracts_log()
267 char string[32]; in dpaa2_flow_fs_table_extracts_log() local
281 string); in dpaa2_flow_fs_table_extracts_log()
[all …]
/dpdk/examples/ipsec-secgw/
H A Dparser.c23 parse_tokenize_string(char *string, char *tokens[], uint32_t *n_tokens) in parse_tokenize_string() argument
27 if ((string == NULL) || in parse_tokenize_string()
33 tokens[i] = strtok_r(string, PARSE_DELIMITER, &string); in parse_tokenize_string()
39 (NULL != strtok_r(string, PARSE_DELIMITER, &string))) in parse_tokenize_string()
/dpdk/drivers/net/fm10k/base/
H A Dfm10k_tlv.c38 const unsigned char *string) in fm10k_tlv_attr_put_null_string() argument
46 if (!string || !msg) in fm10k_tlv_attr_put_null_string()
60 attr_data |= (u32)(*string) << (8 * (len % 4)); in fm10k_tlv_attr_put_null_string()
64 } while (*(string++)); in fm10k_tlv_attr_put_null_string()
89 static s32 fm10k_tlv_attr_get_null_string(u32 *attr, unsigned char *string) in fm10k_tlv_attr_get_null_string() argument
96 if (!string || !attr) in fm10k_tlv_attr_get_null_string()
103 string[len] = (u8)(attr[len / 4] >> (8 * (len % 4))); in fm10k_tlv_attr_get_null_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");
/dpdk/drivers/net/qede/base/
H A Dbcm_osal.h432 #define OSAL_STRLEN(string) strlen(string) argument
433 #define OSAL_STRCPY(dst, string) strcpy(dst, string) argument
434 #define OSAL_STRNCPY(dst, string, len) strncpy(dst, string, len) argument
/dpdk/drivers/raw/ifpga/base/
H A Dopae_spi_transaction.c35 static void print_buffer(const char *string, void *buffer, int len) in print_buffer() argument
40 printf("%s print buffer, len=%d\n", string, len); in print_buffer()
47 static void print_buffer(const char *string, void *buffer, int len) in print_buffer() argument
49 UNUSED(string); in print_buffer()
/dpdk/doc/guides/sample_app_ug/
H A Dcmd_line.rst99 an opaque pointer, a help string and a list of tokens in a NULL-terminated table.
103 * String Token: Match a static string, a list of static strings or any string.
123 * The first token is a string token that can be show or del.
/dpdk/drivers/net/ice/base/
H A Dice_bst_tcam.c265 static bool _start_with(const char *prefix, const char *string) in _start_with() argument
268 int len2 = strlen(string); in _start_with()
273 return !memcmp(prefix, string, len1); in _start_with()
/dpdk/lib/eal/windows/include/
H A Dfnmatch.h44 int fnmatch(const char *pattern, const char *string, int flags);
H A Dregex.h51 __rte_unused const char *string, __rte_unused size_t nmatch, in regexec() argument
/dpdk/doc/guides/gpus/features/
H A Ddefault.ini7 ; string should not exceed feature_str_len defined in conf.py.
/dpdk/doc/guides/nics/
H A Dvdev_netvsc.rst73 - ``iface`` [string]
78 - ``mac`` [string]

123