Home
last modified time | relevance | path

Searched refs:spec (Results 601 - 625 of 1366) sorted by relevance

1...<<21222324252627282930>>...55

/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/
H A Ddistributed_hardware_stub.cpp180 QueryLocalSysSpecType spec = (QueryLocalSysSpecType)specInt; in QueryLocalSysSpecInner() local
181 DHLOGI("Query Local Sys Spec: %{public}" PRIu32, (uint32_t)spec); in QueryLocalSysSpecInner()
182 std::string res = QueryLocalSysSpec(spec); in QueryLocalSysSpecInner()
183 DHLOGI("Get Local spec: %{public}s", res.c_str()); in QueryLocalSysSpecInner()
324 bool DistributedHardwareStub::ValidQueryLocalSpec(uint32_t spec) in ValidQueryLocalSpec() argument
326 if (spec <= (uint32_t)QueryLocalSysSpecType::MIN || spec >= (uint32_t)QueryLocalSysSpecType::MAX) { in ValidQueryLocalSpec()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A Dfs_tracepoint.c39 #define MASK_VAL(type, spec, name, mask, val, fld) \
41 {.m = MLX5_GET(spec, mask, fld),\
42 .v = MLX5_GET(spec, val, fld)}
43 #define MASK_VAL_BE(type, spec, name, mask, val, fld) \
45 {.m = MLX5_GET_BE(type, spec, mask, fld),\
46 .v = MLX5_GET_BE(type, spec, val, fld)}
/kernel/linux/linux-5.10/drivers/soc/mediatek/
H A Dmtk-cmdq-helper.c47 struct of_phandle_args spec; in cmdq_dev_get_client_reg() local
55 3, idx, &spec); in cmdq_dev_get_client_reg()
64 client_reg->subsys = (u8)spec.args[0]; in cmdq_dev_get_client_reg()
65 client_reg->offset = (u16)spec.args[1]; in cmdq_dev_get_client_reg()
66 client_reg->size = (u16)spec.args[2]; in cmdq_dev_get_client_reg()
67 of_node_put(spec.np); in cmdq_dev_get_client_reg()
/kernel/linux/linux-5.10/fs/romfs/
H A Dsuper.c168 offset = be32_to_cpu(ri.spec) & ROMFH_MASK; in romfs_readdir()
198 ino = be32_to_cpu(ri.spec); in romfs_readdir()
229 offset = be32_to_cpu(ri.spec) & ROMFH_MASK; in romfs_lookup()
250 offset = be32_to_cpu(ri.spec) & ROMFH_MASK; in romfs_lookup()
301 pos = be32_to_cpu(ri.spec) & ROMFH_MASK; in romfs_iget()
352 nextfh = be32_to_cpu(ri.spec); in romfs_iget()
/kernel/linux/linux-6.6/fs/romfs/
H A Dsuper.c169 offset = be32_to_cpu(ri.spec) & ROMFH_MASK; in romfs_readdir()
199 ino = be32_to_cpu(ri.spec); in romfs_readdir()
230 offset = be32_to_cpu(ri.spec) & ROMFH_MASK; in romfs_lookup()
251 offset = be32_to_cpu(ri.spec) & ROMFH_MASK; in romfs_lookup()
302 pos = be32_to_cpu(ri.spec) & ROMFH_MASK; in romfs_iget()
352 nextfh = be32_to_cpu(ri.spec); in romfs_iget()
/kernel/linux/linux-6.6/drivers/soc/mediatek/
H A Dmtk-cmdq-helper.c48 struct of_phandle_args spec; in cmdq_dev_get_client_reg() local
56 3, idx, &spec); in cmdq_dev_get_client_reg()
65 client_reg->subsys = (u8)spec.args[0]; in cmdq_dev_get_client_reg()
66 client_reg->offset = (u16)spec.args[1]; in cmdq_dev_get_client_reg()
67 client_reg->size = (u16)spec.args[2]; in cmdq_dev_get_client_reg()
68 of_node_put(spec.np); in cmdq_dev_get_client_reg()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A Dfs_tracepoint.c39 #define MASK_VAL(type, spec, name, mask, val, fld) \
41 {.m = MLX5_GET(spec, mask, fld),\
42 .v = MLX5_GET(spec, val, fld)}
43 #define MASK_VAL_BE(type, spec, name, mask, val, fld) \
45 {.m = MLX5_GET_BE(type, spec, mask, fld),\
46 .v = MLX5_GET_BE(type, spec, val, fld)}
/kernel/linux/linux-6.6/sound/firewire/motu/
H A Damdtp-motu.c362 if (motu->spec->flags & SND_MOTU_SPEC_REGISTER_DSP) in process_ir_ctx_payloads()
364 else if (motu->spec->flags & SND_MOTU_SPEC_COMMAND_DSP) in process_ir_ctx_payloads()
436 const struct snd_motu_spec *spec, struct amdtp_motu_cache *cache) in amdtp_motu_init()
451 if (spec->protocol_version == SND_MOTU_PROTOCOL_V3) { in amdtp_motu_init()
458 if (spec == &snd_motu_spec_8pre || in amdtp_motu_init()
459 spec == &snd_motu_spec_ultralite) { in amdtp_motu_init()
434 amdtp_motu_init(struct amdtp_stream *s, struct fw_unit *unit, enum amdtp_stream_direction dir, const struct snd_motu_spec *spec, struct amdtp_motu_cache *cache) amdtp_motu_init() argument
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fTextureSwizzleTests.cpp130 tcu::TextureFormatInfo spec = tcu::getTextureFormatInfo(m_texture->getRefTexture().getFormat()); in init() local
134 tcu::fillWithComponentGradients(m_texture->getRefTexture().getLevel(0), spec.valueMin, spec.valueMax); in init()
155 tcu::TextureFormatInfo spec = tcu::getTextureFormatInfo(m_texture->getRefTexture().getFormat()); in iterate() local
159 renderParams.colorScale = spec.lookupScale; in iterate()
160 renderParams.colorBias = spec.lookupBias; in iterate()
/kernel/linux/linux-5.10/drivers/video/fbdev/
H A Datafb.c2787 static void __init atafb_setup_ext(char *spec) in atafb_setup_ext() argument
2803 p = strsep(&spec, ";"); in atafb_setup_ext()
2810 p = strsep(&spec, ";"); in atafb_setup_ext()
2817 p = strsep(&spec, ";"); in atafb_setup_ext()
2825 p = strsep(&spec, ";"); in atafb_setup_ext()
2839 p = strsep(&spec, ";"); in atafb_setup_ext()
2844 p = strsep(&spec, ";"); in atafb_setup_ext()
2850 p = strsep(&spec, ";"); in atafb_setup_ext()
2854 p = strsep(&spec, ";"); in atafb_setup_ext()
2863 p = strsep(&spec, ";"); in atafb_setup_ext()
2904 atafb_setup_int(char *spec) atafb_setup_int() argument
2940 atafb_setup_mcap(char *spec) atafb_setup_mcap() argument
2977 atafb_setup_user(char *spec) atafb_setup_user() argument
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/
H A Datafb.c2719 static void __init atafb_setup_ext(char *spec) in atafb_setup_ext() argument
2735 p = strsep(&spec, ";"); in atafb_setup_ext()
2742 p = strsep(&spec, ";"); in atafb_setup_ext()
2749 p = strsep(&spec, ";"); in atafb_setup_ext()
2757 p = strsep(&spec, ";"); in atafb_setup_ext()
2771 p = strsep(&spec, ";"); in atafb_setup_ext()
2776 p = strsep(&spec, ";"); in atafb_setup_ext()
2782 p = strsep(&spec, ";"); in atafb_setup_ext()
2786 p = strsep(&spec, ";"); in atafb_setup_ext()
2795 p = strsep(&spec, ";"); in atafb_setup_ext()
2836 atafb_setup_int(char *spec) atafb_setup_int() argument
2872 atafb_setup_mcap(char *spec) atafb_setup_mcap() argument
2909 atafb_setup_user(char *spec) atafb_setup_user() argument
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DBufferZeroInitTests.cpp121 void TestBufferZeroInitInCopyTextureToBuffer(const BufferZeroInitInCopyT2BSpec& spec) { in TestBufferZeroInitInCopyTextureToBuffer() argument
123 ASSERT(utils::GetTexelBlockSizeInBytes(kTextureFormat) * spec.textureSize.width % in TestBufferZeroInitInCopyTextureToBuffer()
129 CreateAndInitializeTexture(spec.textureSize, kTextureFormat, kClearColor); in TestBufferZeroInitInCopyTextureToBuffer()
134 const uint64_t bufferSize = spec.bufferOffset + spec.extraBytes + in TestBufferZeroInitInCopyTextureToBuffer()
135 utils::RequiredBytesInCopy(spec.bytesPerRow, spec.rowsPerImage, in TestBufferZeroInitInCopyTextureToBuffer()
136 spec.textureSize, kTextureFormat); in TestBufferZeroInitInCopyTextureToBuffer()
140 buffer, spec.bufferOffset, spec in TestBufferZeroInitInCopyTextureToBuffer()
[all...]
H A DCopyTextureForBrowserTests.cpp288 wgpu::Texture CreateTexture(const TextureSpec& spec, wgpu::TextureUsage usage) { in CreateTexture() argument
291 descriptor.size = spec.textureSize; in CreateTexture()
292 descriptor.format = spec.format; in CreateTexture()
293 descriptor.mipLevelCount = spec.level + 1; in CreateTexture()
299 wgpu::Texture CreateAndInitTexture(const TextureSpec& spec, in CreateAndInitTexture() argument
304 wgpu::Texture texture = CreateTexture(spec, usage); in CreateAndInitTexture()
307 utils::CreateImageCopyTexture(texture, spec.level, {0, 0}); in CreateAndInitTexture()
/kernel/linux/linux-5.10/tools/lib/bpf/
H A Dlibbpf.c2043 pr_warn("map '%s': key spec is not PTR: %s.\n", in parse_btf_map_def()
2085 pr_warn("map '%s': value spec is not PTR: %s.\n", in parse_btf_map_def()
2136 pr_warn("map '%s': map-in-map inner spec is not a zero-sized array.\n", in parse_btf_map_def()
4382 /* high-level spec: named fields and array indices only */
4383 struct bpf_core_accessor spec[BPF_CORE_SPEC_MAX_LEN]; member
4388 /* high-level spec length */
4390 /* raw, low-level spec: 1-to-1 with accessor spec string */
4392 /* raw spec length */
4394 /* field bit offset represented by spec */
4513 bpf_core_parse_spec(const struct btf *btf, __u32 type_id, const char *spec_str, enum bpf_core_relo_kind relo_kind, struct bpf_core_spec *spec) bpf_core_parse_spec() argument
4824 bpf_core_match_member(const struct btf *local_btf, const struct bpf_core_accessor *local_acc, const struct btf *targ_btf, __u32 targ_id, struct bpf_core_spec *spec, __u32 *next_targ_id) bpf_core_match_member() argument
5105 bpf_core_calc_field_relo(const struct bpf_program *prog, const struct bpf_core_relo *relo, const struct bpf_core_spec *spec, __u32 *val, __u32 *field_sz, __u32 *type_id, bool *validate) bpf_core_calc_field_relo() argument
5231 bpf_core_calc_type_relo(const struct bpf_core_relo *relo, const struct bpf_core_spec *spec, __u32 *val) bpf_core_calc_type_relo() argument
5265 bpf_core_calc_enumval_relo(const struct bpf_core_relo *relo, const struct bpf_core_spec *spec, __u32 *val) bpf_core_calc_enumval_relo() argument
5613 bpf_core_dump_spec(int level, const struct bpf_core_spec *spec) bpf_core_dump_spec() argument
[all...]
/kernel/linux/linux-6.6/tools/lib/bpf/
H A Dusdt.c29 * usdt.bpf.h defines two BPF maps that usdt_manager expects: USDT spec map
30 * and IP-to-spec-ID map, which is auxiliary map necessary for kernels that
112 * prepares `struct usdt_spec` (USDT spec), which is then provided to BPF-side
113 * code through spec map. This allows BPF applications to quickly fetch the
139 * potentially having a completely different USDT spec associated with it.
140 * To wire all this up together libbpf allocates a unique integer spec ID for
141 * each unique USDT spec. Spec IDs are allocated as sequential small integers
147 * Spec ID is the key in spec BPF map, value is the actual USDT spec layed out
149 * know its associated spec I
239 struct usdt_spec spec; global() member
1190 parse_usdt_spec(struct usdt_spec *spec, const struct usdt_note *note, __u64 usdt_cookie) parse_usdt_spec() argument
[all...]
/third_party/icu/icu4c/source/io/
H A Duscanf_p.cpp103 u_scanf_spec_info fInfo; /* Information on this spec */
110 * @param spec A pointer to a <TT>u_scanf_spec</TT> to receive the parsed
116 u_scanf_spec *spec) in u_scanf_parse_spec()
120 u_scanf_spec_info *info = &(spec->fInfo); in u_scanf_parse_spec()
122 /* initialize spec to default values */ in u_scanf_parse_spec()
123 spec->fArgPos = -1; in u_scanf_parse_spec()
147 spec->fArgPos = (int) (*s++ - DIGIT_ZERO); in u_scanf_parse_spec()
150 spec->fArgPos *= 10; in u_scanf_parse_spec()
151 spec->fArgPos += (int) (*s++ - DIGIT_ZERO); in u_scanf_parse_spec()
157 spec in u_scanf_parse_spec()
115 u_scanf_parse_spec(const UChar *fmt, u_scanf_spec *spec) u_scanf_parse_spec() argument
1366 u_scanf_spec spec; u_scanf_parse() local
[all...]
/third_party/libbpf/src/
H A Dusdt.c29 * usdt.bpf.h defines two BPF maps that usdt_manager expects: USDT spec map
30 * and IP-to-spec-ID map, which is auxiliary map necessary for kernels that
112 * prepares `struct usdt_spec` (USDT spec), which is then provided to BPF-side
113 * code through spec map. This allows BPF applications to quickly fetch the
139 * potentially having a completely different USDT spec associated with it.
140 * To wire all this up together libbpf allocates a unique integer spec ID for
141 * each unique USDT spec. Spec IDs are allocated as sequential small integers
147 * Spec ID is the key in spec BPF map, value is the actual USDT spec layed out
149 * know its associated spec I
239 struct usdt_spec spec; global() member
1190 parse_usdt_spec(struct usdt_spec *spec, const struct usdt_note *note, __u64 usdt_cookie) parse_usdt_spec() argument
[all...]
/third_party/skia/third_party/externals/icu/source/io/
H A Duscanf_p.cpp103 u_scanf_spec_info fInfo; /* Information on this spec */
110 * @param spec A pointer to a <TT>u_scanf_spec</TT> to receive the parsed
116 u_scanf_spec *spec) in u_scanf_parse_spec()
120 u_scanf_spec_info *info = &(spec->fInfo); in u_scanf_parse_spec()
122 /* initialize spec to default values */ in u_scanf_parse_spec()
123 spec->fArgPos = -1; in u_scanf_parse_spec()
147 spec->fArgPos = (int) (*s++ - DIGIT_ZERO); in u_scanf_parse_spec()
150 spec->fArgPos *= 10; in u_scanf_parse_spec()
151 spec->fArgPos += (int) (*s++ - DIGIT_ZERO); in u_scanf_parse_spec()
157 spec in u_scanf_parse_spec()
115 u_scanf_parse_spec(const UChar *fmt, u_scanf_spec *spec) u_scanf_parse_spec() argument
1366 u_scanf_spec spec; u_scanf_parse() local
[all...]
/third_party/python/Lib/unittest/test/testmock/
H A Dtestpatch.py260 @patch('%s.SomeClass' % __name__, spec=SomeClass)
270 @patch.object(SomeClass, 'class_attribute', spec=SomeClass)
282 @patch('%s.SomeClass' % __name__, spec=['wibble'])
292 @patch.object(SomeClass, 'class_attribute', spec=['wibble'])
306 @patch('%s.SomeClass' % __name__, spec=['wibble'])
315 @patch('%s.SomeClass' % __name__, spec=True)
327 @patch.object(PTModule, 'SomeClass', spec=True)
339 @patch('%s.SomeClass' % __name__, spec=True)
685 @patch('%s.SomeClass' % __name__, spec=SomeClass, spec_set=True)
691 @patch.object(support, 'SomeClass', spec
[all...]
/third_party/node/deps/npm/node_modules/@npmcli/package-json/lib/
H A Dnormalize.js68 function isCorrectlyEncodedName (spec) {
69 return !spec.match(/[/@\s+%:]/) &&
70 spec === encodeURIComponent(spec)
73 function isValidScopedPackageName (spec) {
74 if (spec.charAt(0) !== '@') {
78 const rest = spec.slice(1).split('/')
/third_party/musl/Benchmark/musl/
H A Dlibc_pthread.cpp450 struct timespec spec; in Bm_function_Sem_timewait() local
451 spec.tv_sec = 0; in Bm_function_Sem_timewait()
452 spec.tv_nsec = 5; in Bm_function_Sem_timewait()
454 sem_timedwait(&semp, &spec); in Bm_function_Sem_timewait()
463 struct timespec spec; in Bm_function_Sem_post_wait() local
464 spec.tv_sec = 0; in Bm_function_Sem_post_wait()
465 spec.tv_nsec = 5; in Bm_function_Sem_post_wait()
/third_party/skia/third_party/externals/freetype/src/base/
H A Dftmac.c162 FSSpec spec; in FT_ATSFontGetFileReference()
165 err = ATSFontGetFileSpecification( ats_font_id, &spec ); in FT_ATSFontGetFileReference()
167 err = FSpMakeFSRef( &spec, ats_font_ref ); in FT_ATSFontGetFileReference()
1056 const FSSpec* spec, in FT_EXPORT_DEF()
1063 FT_UNUSED( spec ); in FT_EXPORT_DEF()
1074 if ( !spec || FSpMakeFSRef( spec, &ref ) != noErr ) in FT_EXPORT_DEF()
/kernel/linux/linux-5.10/drivers/net/can/
H A Djanz-ican3.c274 u8 spec; member
661 msg.spec = MSG_CONNECTI; in ican3_msg_connect()
672 msg.spec = MSG_DISCONNECT; in ican3_msg_disconnect()
684 msg.spec = MSG_NEWHOSTIF; in ican3_msg_newhostif()
705 msg.spec = MSG_INITFDPMQUEUE; in ican3_msg_fasthostif()
739 msg.spec = MSG_SETAFILMASK; in ican3_set_id_filter()
755 msg.spec = MSG_SETAFILMASK; in ican3_set_id_filter()
796 msg.spec = MSG_CBTRREQ; in ican3_set_bus_state()
810 msg.spec = on ? MSG_CONREQ : MSG_COFFREQ; in ican3_set_bus_state()
818 msg.spec in ican3_set_bus_state()
[all...]
/kernel/linux/linux-5.10/drivers/md/
H A Ddm-ioctl.c1141 struct dm_target_spec *spec; in retrieve_status() local
1166 spec = (struct dm_target_spec *) outptr; in retrieve_status()
1168 spec->status = 0; in retrieve_status()
1169 spec->sector_start = ti->begin; in retrieve_status()
1170 spec->length = ti->len; in retrieve_status()
1171 strncpy(spec->target_type, ti->type->name, in retrieve_status()
1172 sizeof(spec->target_type) - 1); in retrieve_status()
1199 spec->next = outptr - outbuf; in retrieve_status()
1272 struct dm_target_spec **spec, char **target_params) in next_target()
1274 *spec in next_target()
1271 next_target(struct dm_target_spec *last, uint32_t next, void *end, struct dm_target_spec **spec, char **target_params) next_target() argument
1288 struct dm_target_spec *spec = (struct dm_target_spec *) param; populate_table() local
[all...]
/kernel/linux/linux-6.6/drivers/net/can/
H A Djanz-ican3.c275 u8 spec; member
662 msg.spec = MSG_CONNECTI; in ican3_msg_connect()
673 msg.spec = MSG_DISCONNECT; in ican3_msg_disconnect()
685 msg.spec = MSG_NEWHOSTIF; in ican3_msg_newhostif()
706 msg.spec = MSG_INITFDPMQUEUE; in ican3_msg_fasthostif()
740 msg.spec = MSG_SETAFILMASK; in ican3_set_id_filter()
756 msg.spec = MSG_SETAFILMASK; in ican3_set_id_filter()
797 msg.spec = MSG_CBTRREQ; in ican3_set_bus_state()
811 msg.spec = on ? MSG_CONREQ : MSG_COFFREQ; in ican3_set_bus_state()
819 msg.spec in ican3_set_bus_state()
[all...]

Completed in 40 milliseconds

1...<<21222324252627282930>>...55