Home
last modified time | relevance | path

Searched refs:pattern (Results 76 – 100 of 1191) sorted by relevance

12345678910>>...48

/openbmc/linux/tools/testing/selftests/mm/
H A Dvm_util.c70 bool check_for_pattern(FILE *fp, const char *pattern, char *buf, size_t len) in check_for_pattern() argument
73 if (!strncmp(buf, pattern, strlen(pattern))) in check_for_pattern()
100 bool __check_huge(void *addr, char *pattern, int nr_hpages, in __check_huge() argument
125 if (!check_for_pattern(fp, pattern, buffer, sizeof(buffer))) in __check_huge()
128 snprintf(addr_pattern, MAX_LINE_LENGTH, "%s%%9ld kB", pattern); in __check_huge()
/openbmc/qemu/tests/unit/
H A Dtest-replication.c51 static void test_blk_read(BlockBackend *blk, long pattern, in test_blk_read() argument
61 if (pattern) { in test_blk_read()
63 memset(cmp_buf, pattern, pattern_count); in test_blk_read()
67 if (pattern) { in test_blk_read()
68 memset(pattern_buf, pattern, count); in test_blk_read()
85 if (pattern) { in test_blk_read()
96 static void test_blk_write(BlockBackend *blk, long pattern, int64_t offset, in test_blk_write() argument
104 if (pattern) { in test_blk_write()
105 memset(pattern_buf, pattern, count); in test_blk_write()
/openbmc/linux/net/netfilter/
H A Dnf_conntrack_ftp.c65 const char *pattern; member
74 .pattern = "PORT",
82 .pattern = "EPRT",
92 .pattern = "227 ",
98 .pattern = "229 ",
287 const char *pattern, size_t plen, in find_pattern() argument
298 pr_debug("find_pattern `%s': dlen = %zu\n", pattern, dlen); in find_pattern()
302 if (strncasecmp(data, pattern, dlen) == 0) in find_pattern()
307 if (strncasecmp(data, pattern, plen) != 0) in find_pattern()
447 search[dir][i].pattern, in help()
[all …]
/openbmc/phosphor-power/
H A Dcompatible_system_types_finder.cpp70 std::regex pattern{"\\.(system|chassis)\\.", std::regex::icase}; in interfaceFoundCallback() local
71 if (std::ranges::all_of(names, [&pattern](auto&& name) { in interfaceFoundCallback()
72 return std::regex_search(name, pattern); in interfaceFoundCallback()
/openbmc/qemu/docs/devel/
H A Ddecodetree.rst5 A *decodetree* is built from instruction *patterns*. A pattern may
9 Each pattern has both *fixedbits* and *fixedmask*, the combination of which
10 describes the condition under which the pattern is matched::
14 Each pattern may have *fields*, which are extracted from the insn and
35 A *named_field* refers to some other field in the instruction pattern
44 defined in the instruction pattern(s) that use the format.
45 Conversely, an instruction pattern can include fields that refer to
47 cannot currently do both at once (i.e. pattern P uses format F; F has
106 pattern and the ``OR`` pattern put their operands into the same named
135 final 0 or 1 from the pattern, and '-' means that the bit is really
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/utils/
H A Dgitarchive.py103 def get_tags(repo, log, pattern=None, url=None): argument
115 if pattern:
116 cmd.append("refs/tags/"+pattern)
126 if pattern:
127 cmd.append(pattern)
133 if pattern:
134 cmd += ["-l", pattern]
220 tags = get_tags(repo, log, pattern=tag_pattern)
/openbmc/u-boot/drivers/ddr/marvell/a38x/
H A Dddr3_training_ip_bist.h37 int ddr3_tip_bist_activate(u32 dev_num, enum hws_pattern pattern,
44 int hws_ddr3_run_bist(u32 dev_num, enum hws_pattern pattern, u32 *result,
56 int mv_ddr_dm_vw_get(enum hws_pattern pattern, u32 cs, u8 *vw_vector);
/openbmc/qemu/tests/qemu-iotests/
H A D025.out7 === IO: pattern 0xc5
21 === IO: pattern 0xc5
24 === IO: pattern 0
H A D027.out12 == verify pattern ==
16 == verify zeroes before sub-cluster pattern ==
20 == verify zeroes after sub-cluster pattern ==
H A D189.out9 == verify pattern ==
19 == verify pattern ==
23 == verify pattern ==
H A D158.out9 == verify pattern ==
19 == verify pattern ==
23 == verify pattern ==
/openbmc/qemu/contrib/plugins/
H A Dhwprofile.c48 static bool pattern; variable
112 if (!(pattern || source)) { in plugin_exit()
134 const char *prefix = pattern ? "off" : "pc"; in plugin_exit()
161 if (pattern || source) { in new_count()
230 if (pattern || source) { in vcpu_haddr()
278 if (!qemu_plugin_bool_parse(tokens[0], tokens[1], &pattern)) { in qemu_plugin_install()
299 if (source && pattern) { in qemu_plugin_install()
/openbmc/sdbusplus/tools/sdbusplus/schemas/
H A Devents.schema.yaml16 pattern: "^[0-9]+\\.[0-9]+\\.[0-9]+$"
30 pattern: "^[A-Z][A-Z0-9a-z]*$"
40pattern: "(string)|(size)|(u?int64)|(double)|(object_path)|(enum\\[.*\\])"
84 pattern: "^E[A-Z0-9]+$"
121 pattern: "^[A-Z_][a-zA-Z0-9_]*(\\.[A-Z_][a-zA-Z0-9_]*)*$"
134 pattern: "^[0-9]+\\.[0-9]+\\.[0-9]+$"
/openbmc/u-boot/scripts/kconfig/
H A Dnconf.c1014 char pattern[256]; member
1031 bzero(state->pattern, sizeof(state->pattern)); in do_match()
1038 state->pattern[strlen(state->pattern)] = c; in do_match()
1039 state->pattern[strlen(state->pattern)] = '\0'; in do_match()
1041 *ans = get_mext_match(state->pattern, in do_match()
1045 *ans = get_mext_match(state->pattern, in do_match()
1052 state->pattern[strlen(state->pattern)-1] = '\0'; in do_match()
1059 bzero(state->pattern, sizeof(state->pattern)); in do_match()
1079 .pattern = "", in conf()
1245 .pattern = "", in conf_choice()
[all …]
/openbmc/linux/scripts/kconfig/
H A Dnconf.c1085 char pattern[256]; member
1102 bzero(state->pattern, sizeof(state->pattern)); in do_match()
1109 state->pattern[strlen(state->pattern)] = c; in do_match()
1110 state->pattern[strlen(state->pattern)] = '\0'; in do_match()
1112 *ans = get_mext_match(state->pattern, in do_match()
1116 *ans = get_mext_match(state->pattern, in do_match()
1123 state->pattern[strlen(state->pattern)-1] = '\0'; in do_match()
1130 bzero(state->pattern, sizeof(state->pattern)); in do_match()
1154 .pattern = "", in selected_conf()
1331 .pattern = "", in conf_choice()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_dp_training.h48 enum dc_dp_training_pattern pattern,
76 enum dc_dp_training_pattern pattern,
169 enum dc_dp_training_pattern pattern);
173 enum dc_dp_training_pattern pattern);
/openbmc/webui-vue/src/
H A Dmain.js123 const pattern = `yyyy-MM-dd`;
125 return format(value, pattern, { timezone });
141 const pattern = `HH:mm:ss ('${shortTz}' O)`;
142 return format(value, pattern, { timezone }).replace('GMT', 'UTC');
/openbmc/webui-vue/src/components/Mixins/
H A DLocalTimezoneLabelMixin.js8 const pattern = `'${shortTz}' O`;
9 return format(new Date(), pattern, { timezone }).replace('GMT', 'UTC');
/openbmc/linux/tools/testing/selftests/powerpc/mm/
H A Dtlbie_test.c216 static inline unsigned int extract_tid(unsigned int pattern) in extract_tid() argument
220 ret = (pattern >> THREAD_ID_SHIFT) & THREAD_ID_MASK; in extract_tid()
225 static inline unsigned int extract_word_offset(unsigned int pattern) in extract_word_offset() argument
229 ret = (pattern >> WORD_OFFSET_SHIFT) & WORD_OFFSET_MASK; in extract_word_offset()
235 static inline unsigned int extract_sweep_id(unsigned int pattern) in extract_sweep_id() argument
240 ret = (pattern >> SWEEP_ID_SHIFT) & SWEEP_ID_MASK; in extract_sweep_id()
469 unsigned int pattern = cur_sweep_id; in rim_fn() local
470 unsigned int *pattern_ptr = &pattern; in rim_fn()
/openbmc/linux/Documentation/leds/
H A Dleds-cht-wcove.rst10 Specify a hardware pattern for the Whiskey Cove PMIC LEDs.
12 The only supported pattern is hardware breathing mode::
31 The set pattern only controls the timing. For max brightness the last
/openbmc/linux/fs/smb/server/mgmt/
H A Dshare_config.c27 char *pattern; member
45 kfree(p->pattern); in kill_share()
109 p->pattern = kstrdup(veto_list, GFP_KERNEL); in parse_veto_list()
110 if (!p->pattern) { in parse_veto_list()
248 if (match_wildcard(p->pattern, filename)) in ksmbd_share_veto_filename()
/openbmc/linux/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_dmabuf.c348 u32 pattern[] = { 0, 0xaa, 0xcc, 0x55, 0xff }; in igt_dmabuf_import() local
392 for (i = 0; i < ARRAY_SIZE(pattern); i++) { in igt_dmabuf_import()
393 memset(dma_map, pattern[i], PAGE_SIZE); in igt_dmabuf_import()
394 if (memchr_inv(obj_map, pattern[i], PAGE_SIZE)) { in igt_dmabuf_import()
396 pr_err("imported vmap not all set to %x!\n", pattern[i]); in igt_dmabuf_import()
402 for (i = 0; i < ARRAY_SIZE(pattern); i++) { in igt_dmabuf_import()
403 memset(obj_map, pattern[i], PAGE_SIZE); in igt_dmabuf_import()
404 if (memchr_inv(dma_map, pattern[i], PAGE_SIZE)) { in igt_dmabuf_import()
406 pr_err("exported vmap not all set to %x!\n", pattern[i]); in igt_dmabuf_import()
/openbmc/linux/tools/testing/selftests/netfilter/
H A Dxt_string.sh21 pattern="foo bar baz"
38 --string "$pattern" --algo $1 --from $2 --to $3
53 printf "$pattern"
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dgm107.c32 gm107_sor_dp_pattern(struct nvkm_ior *sor, int pattern) in gm107_sor_dp_pattern() argument
38 switch (pattern) { in gm107_sor_dp_pattern()
60 .pattern = gm107_sor_dp_pattern,
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_link_encoder.c298 const uint8_t *pattern) in set_dp_phy_pattern_80bit_custom() argument
317 ((pattern[1] & 0x03) << 8) | pattern[0]; in set_dp_phy_pattern_80bit_custom()
319 ((pattern[2] & 0x0f) << 6) | ((pattern[1] >> 2) & 0x3f); in set_dp_phy_pattern_80bit_custom()
321 ((pattern[3] & 0x3f) << 4) | ((pattern[2] >> 4) & 0x0f); in set_dp_phy_pattern_80bit_custom()
323 (pattern[4] << 2) | ((pattern[3] >> 6) & 0x03); in set_dp_phy_pattern_80bit_custom()
325 ((pattern[6] & 0x03) << 8) | pattern[5]; in set_dp_phy_pattern_80bit_custom()
327 ((pattern[7] & 0x0f) << 6) | ((pattern[6] >> 2) & 0x3f); in set_dp_phy_pattern_80bit_custom()
329 ((pattern[8] & 0x3f) << 4) | ((pattern[7] >> 4) & 0x0f); in set_dp_phy_pattern_80bit_custom()
331 (pattern[9] << 2) | ((pattern[8] >> 6) & 0x03); in set_dp_phy_pattern_80bit_custom()

12345678910>>...48