Home
last modified time | relevance | path

Searched refs:params (Results 1 – 25 of 4394) sorted by relevance

12345678910>>...176

/third_party/node/test/fixtures/wpt/url/
Durlsearchparams-stringifier.any.js2 var params = new URLSearchParams();
3 params.append('a', 'b c');
4 assert_equals(params + '', 'a=b+c');
5 params.delete('a');
6 params.append('a b', 'c');
7 assert_equals(params + '', 'a+b=c');
11 var params = new URLSearchParams();
12 params.append('a', '');
13 assert_equals(params + '', 'a=');
14 params.append('a', '');
[all …]
Durlsearchparams-constructor.any.js2 var params = new URLSearchParams();
3 assert_equals(params + '', '');
4 params = new URLSearchParams('');
5 assert_equals(params + '', '');
6 params = new URLSearchParams('a=b');
7 assert_equals(params + '', 'a=b');
8 params = new URLSearchParams(params);
9 assert_equals(params + '', 'a=b');
13 var params = new URLSearchParams()
14 assert_equals(params.toString(), "")
[all …]
Durlsearchparams-append.any.js2 var params = new URLSearchParams();
3 params.append('a', 'b');
4 assert_equals(params + '', 'a=b');
5 params.append('a', 'b');
6 assert_equals(params + '', 'a=b&a=b');
7 params.append('a', 'c');
8 assert_equals(params + '', 'a=b&a=b&a=c');
12 var params = new URLSearchParams();
13 params.append('', '');
14 assert_equals(params + '', '=');
[all …]
Durlsearchparams-delete.any.js2 var params = new URLSearchParams('a=b&c=d');
3 params.delete('a');
4 assert_equals(params + '', 'c=d');
5 params = new URLSearchParams('a=a&b=b&a=a&c=c');
6 params.delete('a');
7 assert_equals(params + '', 'b=b&c=c');
8 params = new URLSearchParams('a=a&=&b=b&c=c');
9 params.delete('');
10 assert_equals(params + '', 'a=a&b=b&c=c');
11 params = new URLSearchParams('a=a&null=null&b=b');
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DSecondaryCommandBuffer.cpp154 const DebugUtilsLabelParams *params = in executeCommands() local
156 const char *pLabelName = Offset<char>(params, sizeof(DebugUtilsLabelParams)); in executeCommands()
161 {params->color[0], params->color[1], params->color[2], params->color[3]}}; in executeCommands()
168 const BeginQueryParams *params = getParamPtr<BeginQueryParams>(currentCommand); in executeCommands() local
169 vkCmdBeginQuery(cmdBuffer, params->queryPool, params->query, params->flags); in executeCommands()
174 const BeginTransformFeedbackParams *params = in executeCommands() local
177 Offset<VkBuffer>(params, sizeof(BeginTransformFeedbackParams)); in executeCommands()
182 vkCmdBeginTransformFeedbackEXT(cmdBuffer, 0, params->bufferCount, in executeCommands()
188 const BindPipelineParams *params = in executeCommands() local
190 vkCmdBindPipeline(cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, params->pipeline); in executeCommands()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DSecondaryCommandBuffer.cpp38 const BeginQueryParams *params = getParamPtr<BeginQueryParams>(currentCommand); in executeCommands() local
39 vkCmdBeginQuery(cmdBuffer, params->queryPool, params->query, params->flags); in executeCommands()
44 const BindPipelineParams *params = in executeCommands() local
46 vkCmdBindPipeline(cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, params->pipeline); in executeCommands()
51 const BindDescriptorSetParams *params = in executeCommands() local
54 Offset<VkDescriptorSet>(params, sizeof(BindDescriptorSetParams)); in executeCommands()
56 descriptorSets, sizeof(VkDescriptorSet) * params->descriptorSetCount); in executeCommands()
57 vkCmdBindDescriptorSets(cmdBuffer, params->pipelineBindPoint, params->layout, in executeCommands()
58 params->firstSet, params->descriptorSetCount, in executeCommands()
59 descriptorSets, params->dynamicOffsetCount, in executeCommands()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/
Dframe_capture_replay_autogen.cpp27 const ParamBuffer &params = call.params; in ReplayCall() local
32 params.getParam("pipelinePacked", ParamType::TProgramPipelineID, 0) in ReplayCall()
34 params.getParam("programPacked", ParamType::TShaderProgramID, 1) in ReplayCall()
39 params.getParam("texture", ParamType::TGLenum, 0).value.GLenumVal); in ReplayCall()
43 params.getParam("funcPacked", ParamType::TAlphaTestFunc, 0).value.AlphaTestFuncVal, in ReplayCall()
44 params.getParam("ref", ParamType::TGLfloat, 1).value.GLfloatVal); in ReplayCall()
48 params.getParam("funcPacked", ParamType::TAlphaTestFunc, 0).value.AlphaTestFuncVal, in ReplayCall()
49 params.getParam("ref", ParamType::TGLfixed, 1).value.GLfixedVal); in ReplayCall()
52 context->attachShader(params.getParam("programPacked", ParamType::TShaderProgramID, 0) in ReplayCall()
54 params.getParam("shaderPacked", ParamType::TShaderProgramID, 1) in ReplayCall()
[all …]
/third_party/alsa-lib/include/
Dpcm_old.h11 int snd_pcm_hw_params_get_access(const snd_pcm_hw_params_t *params);
12 int snd_pcm_hw_params_test_access(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t val…
13 int snd_pcm_hw_params_set_access(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t val);
14 snd_pcm_access_t snd_pcm_hw_params_set_access_first(snd_pcm_t *pcm, snd_pcm_hw_params_t *params);
15 snd_pcm_access_t snd_pcm_hw_params_set_access_last(snd_pcm_t *pcm, snd_pcm_hw_params_t *params);
16 int snd_pcm_hw_params_set_access_mask(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_m…
17 void snd_pcm_hw_params_get_access_mask(snd_pcm_hw_params_t *params, snd_pcm_access_mask_t *mask);
23 int snd_pcm_hw_params_get_format(const snd_pcm_hw_params_t *params);
24 int snd_pcm_hw_params_test_format(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_format_t val…
25 int snd_pcm_hw_params_set_format(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_format_t val);
[all …]
/third_party/gstreamer/gstplugins_bad/gst/videoparsers/
Dh263parse.c34 gst_h263_parse_is_delta_unit (const H263Params * params) in gst_h263_parse_is_delta_unit() argument
36 return (params->type == PICTURE_I); in gst_h263_parse_is_delta_unit()
43 gst_h263_parse_get_params (H263Params * params, GstBuffer * buffer, in gst_h263_parse_get_params() argument
91 params->pcfnum = 30000; in gst_h263_parse_get_params()
92 params->pcfdenom = 1001; in gst_h263_parse_get_params()
120 params->temporal_ref = tr; in gst_h263_parse_get_params()
128 params->splitscreen = (temp8 & 0x20) == 0x20; in gst_h263_parse_get_params()
129 params->documentcamera = (temp8 & 0x10) == 0x10; in gst_h263_parse_get_params()
130 params->fullpicturefreezerelease = (temp8 & 0x08) == 0x08; in gst_h263_parse_get_params()
131 params->format = temp8 & 0x07; in gst_h263_parse_get_params()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DMapBufferRange.cpp54 std::ostream &operator<<(std::ostream &os, const MapBufferRangeParams &params) in operator <<() argument
56 os << params.backendAndStory().substr(1); in operator <<()
274 const auto &params = GetParam(); in initializeBenchmark() local
276 ASSERT_LT(1, params.vertexComponentCount); in initializeBenchmark()
277 ASSERT_LE(params.updateSize, params.bufferSize); in initializeBenchmark()
278 ASSERT_LT(params.updateOffset, params.bufferSize); in initializeBenchmark()
279 ASSERT_LE(params.updateOffset + params.updateSize, params.bufferSize); in initializeBenchmark()
284 if (params.vertexNormalized == GL_TRUE) in initializeBenchmark()
296 glBufferData(GL_ARRAY_BUFFER, params.bufferSize, nullptr, GL_DYNAMIC_DRAW); in initializeBenchmark()
298 glVertexAttribPointer(0, params.vertexComponentCount, params.vertexType, in initializeBenchmark()
[all …]
DTextureUploadPerf.cpp46 std::ostream &operator<<(std::ostream &os, const TextureUploadParams &params) in operator <<() argument
48 os << params.backendAndStory().substr(1); in operator <<()
104 const auto &params = GetParam(); in initializeBenchmark() local
105 glTexStorage2DEXT(GL_TEXTURE_2D, 1, GL_RGBA8, params.baseSize, params.baseSize); in initializeBenchmark()
128 const auto &params = GetParam(); in initializeBenchmark() local
130 glTexStorage2DEXT(GL_TEXTURE_2D, 1, GL_RGBA8, params.baseSize, params.baseSize); in initializeBenchmark()
134 glBufferData(GL_PIXEL_UNPACK_BUFFER, params.baseSize * params.baseSize * 4, in initializeBenchmark()
159 const auto &params = GetParam(); in initializeBenchmark() local
161 glTexStorage2DEXT(GL_TEXTURE_2D, 1, GL_COMPRESSED_RGB8_ETC2, params.baseSize, in initializeBenchmark()
162 params.baseSize); in initializeBenchmark()
[all …]
/third_party/mesa3d/src/intel/blorp/
Dblorp_clear.c50 struct blorp_params *params, in blorp_params_get_clear_kernel_fs() argument
65 &params->wm_prog_kernel, &params->wm_prog_data)) in blorp_params_get_clear_kernel_fs()
104 &params->wm_prog_kernel, &params->wm_prog_data); in blorp_params_get_clear_kernel_fs()
112 struct blorp_params *params, in blorp_params_get_clear_kernel_cs() argument
122 .local_y = blorp_get_cs_local_y(params), in blorp_params_get_clear_kernel_cs()
126 &params->cs_prog_kernel, &params->cs_prog_data)) in blorp_params_get_clear_kernel_cs()
177 &params->cs_prog_kernel, &params->cs_prog_data); in blorp_params_get_clear_kernel_cs()
185 struct blorp_params *params, in blorp_params_get_clear_kernel() argument
191 return blorp_params_get_clear_kernel_cs(batch, params, clear_rgb_as_red); in blorp_params_get_clear_kernel()
193 return blorp_params_get_clear_kernel_fs(batch, params, in blorp_params_get_clear_kernel()
[all …]
/third_party/skia/third_party/externals/brotli/c/enc/
Dquality.h47 static BROTLI_INLINE size_t MaxZopfliLen(const BrotliEncoderParams* params) { in MaxZopfliLen() argument
48 return params->quality <= 10 ? in MaxZopfliLen()
55 const BrotliEncoderParams* params) { in MaxZopfliCandidates() argument
56 return params->quality <= 10 ? 1 : 5; in MaxZopfliCandidates()
59 static BROTLI_INLINE void SanitizeParams(BrotliEncoderParams* params) { in SanitizeParams() argument
60 params->quality = BROTLI_MIN(int, BROTLI_MAX_QUALITY, in SanitizeParams()
61 BROTLI_MAX(int, BROTLI_MIN_QUALITY, params->quality)); in SanitizeParams()
62 if (params->quality <= MAX_QUALITY_FOR_STATIC_ENTROPY_CODES) { in SanitizeParams()
63 params->large_window = BROTLI_FALSE; in SanitizeParams()
65 if (params->lgwin < BROTLI_MIN_WINDOW_BITS) { in SanitizeParams()
[all …]
/third_party/node/deps/brotli/c/enc/
Dquality.h47 static BROTLI_INLINE size_t MaxZopfliLen(const BrotliEncoderParams* params) { in MaxZopfliLen() argument
48 return params->quality <= 10 ? in MaxZopfliLen()
55 const BrotliEncoderParams* params) { in MaxZopfliCandidates() argument
56 return params->quality <= 10 ? 1 : 5; in MaxZopfliCandidates()
59 static BROTLI_INLINE void SanitizeParams(BrotliEncoderParams* params) { in SanitizeParams() argument
60 params->quality = BROTLI_MIN(int, BROTLI_MAX_QUALITY, in SanitizeParams()
61 BROTLI_MAX(int, BROTLI_MIN_QUALITY, params->quality)); in SanitizeParams()
62 if (params->quality <= MAX_QUALITY_FOR_STATIC_ENTROPY_CODES) { in SanitizeParams()
63 params->large_window = BROTLI_FALSE; in SanitizeParams()
65 if (params->lgwin < BROTLI_MIN_WINDOW_BITS) { in SanitizeParams()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DProgramInterfaceTest.cpp217 GLint params[ArraySize(props)]; in TEST_P() local
221 params); in TEST_P()
224 EXPECT_EQ(GL_FLOAT_VEC4, params[0]); // type in TEST_P()
225 EXPECT_EQ(1, params[1]); // array_size in TEST_P()
226 EXPECT_EQ(3, params[2]); // location in TEST_P()
227 EXPECT_EQ(9, params[3]); // name_length in TEST_P()
228 EXPECT_EQ(1, params[4]); // referenced_by_vertex_shader in TEST_P()
229 EXPECT_EQ(0, params[5]); // referenced_by_fragment_shader in TEST_P()
230 EXPECT_EQ(0, params[6]); // referenced_by_compute_shader in TEST_P()
237 &length, params); in TEST_P()
[all …]
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fRandomShaderTests.cpp41 rsg::ProgramParameters params = baseParams; in createRandomShaderCase() local
43 params.version = rsg::VERSION_300; in createRandomShaderCase()
44 params.seed = seed; in createRandomShaderCase()
45 params.vertexParameters.randomize = vertex; in createRandomShaderCase()
46 params.fragmentParameters.randomize = fragment; in createRandomShaderCase()
48 …ext.getTestContext(), context.getRenderContext(), de::toString(seed).c_str(), description, params); in createRandomShaderCase()
61 rsg::ProgramParameters params; in init() local
74 …eRandomShaderCase(m_context, "Random expressions in vertex shader", params, seed, true, false… in init()
75 …eRandomShaderCase(m_context, "Random expressions in fragment shader", params, seed, false, true… in init()
76 …aderCase(m_context, "Random expressions in vertex and fragment shaders", params, seed, true, true)… in init()
[all …]
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fRandomShaderTests.cpp40 rsg::ProgramParameters params = baseParams; in createRandomShaderCase() local
42 params.seed = seed; in createRandomShaderCase()
43 params.vertexParameters.randomize = vertex; in createRandomShaderCase()
44 params.fragmentParameters.randomize = fragment; in createRandomShaderCase()
46 …ext.getTestContext(), context.getRenderContext(), de::toString(seed).c_str(), description, params); in createRandomShaderCase()
59 rsg::ProgramParameters params; in init() local
72 …eRandomShaderCase(m_context, "Random expressions in vertex shader", params, seed, true, false… in init()
73 …eRandomShaderCase(m_context, "Random expressions in fragment shader", params, seed, false, true… in init()
74 …aderCase(m_context, "Random expressions in vertex and fragment shaders", params, seed, true, true)… in init()
89 rsg::ProgramParameters params; in init() local
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
Dqueryutils.cpp38 ColorGeneric ConvertToColor(const GLfloat *params) in ConvertToColor() argument
47 return ColorGeneric(ColorF::fromData(params)); in ConvertToColor()
52 ColorGeneric ConvertToColor(const GLint *params) in ConvertToColor() argument
56 return ColorGeneric(ColorI(params[0], params[1], params[2], params[3])); in ConvertToColor()
60 return ColorGeneric(ColorF(normalizedToFloat(params[0]), normalizedToFloat(params[1]), in ConvertToColor()
61 normalizedToFloat(params[2]), normalizedToFloat(params[3]))); in ConvertToColor()
66 ColorGeneric ConvertToColor(const GLuint *params) in ConvertToColor() argument
70 return ColorGeneric(ColorUI(params[0], params[1], params[2], params[3])); in ConvertToColor()
136 ParamType *params) in QueryTexLevelParameterBase() argument
144 *params = CastFromGLintStateValue<ParamType>( in QueryTexLevelParameterBase()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DProgramInterfaceTest.cpp26 const ProgramInterfaceTestParams &params = paramsInfo.param; in ProgramInterfaceTestPrint() local
29 out << std::get<0>(params); in ProgramInterfaceTestPrint()
31 if (std::get<1>(params)) in ProgramInterfaceTestPrint()
283 GLint params[ArraySize(props)]; in TEST_P() local
287 params); in TEST_P()
290 EXPECT_EQ(GL_FLOAT_VEC4, params[0]); // type in TEST_P()
291 EXPECT_EQ(1, params[1]); // array_size in TEST_P()
292 EXPECT_EQ(3, params[2]); // location in TEST_P()
293 EXPECT_EQ(9, params[3]); // name_length in TEST_P()
294 EXPECT_EQ(1, params[4]); // referenced_by_vertex_shader in TEST_P()
[all …]
/third_party/spirv-tools/utils/vscode/src/lsp/protocol/
Dtsserver.go81 var params DidChangeWorkspaceFoldersParams
82 if err := json.Unmarshal(*r.Params, &params); err != nil {
86 if err := h.server.DidChangeWorkspaceFolders(ctx, &params); err != nil {
91 var params InitializedParams
92 if err := json.Unmarshal(*r.Params, &params); err != nil {
96 if err := h.server.Initialized(ctx, &params); err != nil {
106 var params DidChangeConfigurationParams
107 if err := json.Unmarshal(*r.Params, &params); err != nil {
111 if err := h.server.DidChangeConfiguration(ctx, &params); err != nil {
116 var params DidOpenTextDocumentParams
[all …]
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/lsp/protocol/
Dtsserver.go81 var params DidChangeWorkspaceFoldersParams
82 if err := json.Unmarshal(*r.Params, &params); err != nil {
86 if err := h.server.DidChangeWorkspaceFolders(ctx, &params); err != nil {
91 var params InitializedParams
92 if err := json.Unmarshal(*r.Params, &params); err != nil {
96 if err := h.server.Initialized(ctx, &params); err != nil {
106 var params DidChangeConfigurationParams
107 if err := json.Unmarshal(*r.Params, &params); err != nil {
111 if err := h.server.DidChangeConfiguration(ctx, &params); err != nil {
116 var params DidOpenTextDocumentParams
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/protocol/
Dtsserver.go81 var params DidChangeWorkspaceFoldersParams
82 if err := json.Unmarshal(*r.Params, &params); err != nil {
86 if err := h.server.DidChangeWorkspaceFolders(ctx, &params); err != nil {
91 var params InitializedParams
92 if err := json.Unmarshal(*r.Params, &params); err != nil {
96 if err := h.server.Initialized(ctx, &params); err != nil {
106 var params DidChangeConfigurationParams
107 if err := json.Unmarshal(*r.Params, &params); err != nil {
111 if err := h.server.DidChangeConfiguration(ctx, &params); err != nil {
116 var params DidOpenTextDocumentParams
[all …]
/third_party/alsa-lib/src/pcm/
Dpcm_params.c28 static void dump_hw_params(snd_pcm_hw_params_t *params, const char *type, in dump_hw_params() argument
55 snd_pcm_hw_params_dump(params, out); in dump_hw_params()
59 static inline void dump_hw_params(snd_pcm_hw_params_t *params, const char *type, in dump_hw_params() argument
81 #define hw_param_mask(params,var) \ argument
82 &((params)->masks[(var) - SND_PCM_HW_PARAM_FIRST_MASK])
84 #define hw_param_interval(params,var) \ argument
85 &((params)->intervals[(var) - SND_PCM_HW_PARAM_FIRST_INTERVAL])
90 static void _snd_pcm_hw_param_any(snd_pcm_hw_params_t *params, snd_pcm_hw_param_t var) in _snd_pcm_hw_param_any() argument
93 snd_mask_any(hw_param_mask(params, var)); in _snd_pcm_hw_param_any()
94 params->cmask |= 1 << var; in _snd_pcm_hw_param_any()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawScissorTests.cpp241 deUint32 countScissors (TestParams params) in countScissors() argument
243 if (params.dynamicScissor) in countScissors()
247 for (size_t commandIdx = 0; commandIdx < params.commands.size(); commandIdx++) in countScissors()
248 numScissors = de::max(numScissors, params.commands[commandIdx]->getMaxScissor()); in countScissors()
253 return (deUint32)params.staticScissors.size(); in countScissors()
259 ScissorTestInstance (Context& context, const TestParams& params);
267 ScissorTestInstance::ScissorTestInstance (Context& context, const TestParams& params) in ScissorTestInstance() argument
269 , m_params (params) in ScissorTestInstance()
280 …issorTestCase (TestContext& context, const char* name, const char* desc, const TestParams params);
290 …ScissorTestCase (TestContext& context, const char* name, const char* desc, const TestParams params) in ScissorTestCase() argument
[all …]
/third_party/mesa3d/src/mesa/main/
Dtexparam.c260 GLenum pname, const GLint *params, bool dsa) in set_tex_parameteri() argument
282 if (texObj->Sampler.Attrib.MinFilter == params[0]) in set_tex_parameteri()
284 switch (params[0]) { in set_tex_parameteri()
288 texObj->Sampler.Attrib.MinFilter = params[0]; in set_tex_parameteri()
289 texObj->Sampler.Attrib.state.min_img_filter = filter_to_gallium(params[0]); in set_tex_parameteri()
290 texObj->Sampler.Attrib.state.min_mip_filter = mipfilter_to_gallium(params[0]); in set_tex_parameteri()
300 texObj->Sampler.Attrib.MinFilter = params[0]; in set_tex_parameteri()
301 texObj->Sampler.Attrib.state.min_img_filter = filter_to_gallium(params[0]); in set_tex_parameteri()
302 texObj->Sampler.Attrib.state.min_mip_filter = mipfilter_to_gallium(params[0]); in set_tex_parameteri()
316 if (texObj->Sampler.Attrib.MagFilter == params[0]) in set_tex_parameteri()
[all …]

12345678910>>...176