Home
last modified time | relevance | path

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

12345678910>>...58

/external/vboot_reference/cgpt/
Dcgpt_add.c15 static const char* DumpCgptAddParams(const CgptAddParams *params) { in DumpCgptAddParams() argument
20 snprintf(tmp, sizeof(tmp), "-i %d ", params->partition); in DumpCgptAddParams()
22 if (params->label) { in DumpCgptAddParams()
23 snprintf(tmp, sizeof(tmp), "-l %s ", params->label); in DumpCgptAddParams()
26 if (params->set_begin) { in DumpCgptAddParams()
27 snprintf(tmp, sizeof(tmp), "-b %llu ", (unsigned long long)params->begin); in DumpCgptAddParams()
30 if (params->set_size) { in DumpCgptAddParams()
31 snprintf(tmp, sizeof(tmp), "-s %llu ", (unsigned long long)params->size); in DumpCgptAddParams()
34 if (params->set_type) { in DumpCgptAddParams()
35 GuidToStr(&params->type_guid, tmp, sizeof(tmp)); in DumpCgptAddParams()
[all …]
Dcgpt_find.c21 static int FillBuffer(CgptFindParams *params, int fd, uint64_t pos, in FillBuffer() argument
23 uint8_t *bufptr = params->comparebuf; in FillBuffer()
42 static int match_content(CgptFindParams *params, struct drive *drive, in match_content() argument
46 if (!params->matchlen) in match_content()
51 if (params->matchoffset + params->matchlen > part_size) { in match_content()
56 if (!FillBuffer(params, in match_content()
58 (LBA_SIZE * entry->starting_lba) + params->matchoffset, in match_content()
59 params->matchlen)) { in match_content()
65 if (0 == memcmp(params->matchbuf, params->comparebuf, params->matchlen)) { in match_content()
74 static void showmatch(CgptFindParams *params, char *filename, in showmatch() argument
[all …]
Dcmd_find.c68 CgptFindParams params; in cmd_find() local
69 memset(&params, 0, sizeof(params)); in cmd_find()
82 params.drive_size = strtoull(optarg, &e, 0); in cmd_find()
90 params.verbose++; in cmd_find()
93 params.numeric = 1; in cmd_find()
96 params.oneonly = 1; in cmd_find()
99 params.set_label = 1; in cmd_find()
100 params.label = optarg; in cmd_find()
103 params.set_type = 1; in cmd_find()
104 if (CGPT_OK != SupportedType(optarg, &params.type_guid) && in cmd_find()
[all …]
Dcmd_add.c40 CgptAddParams params; in cmd_add() local
41 memset(&params, 0, sizeof(params)); in cmd_add()
53 params.drive_size = strtoull(optarg, &e, 0); in cmd_add()
61 params.partition = (uint32_t)strtoul(optarg, &e, 0); in cmd_add()
69 params.set_begin = 1; in cmd_add()
70 params.begin = strtoull(optarg, &e, 0); in cmd_add()
78 params.set_size = 1; in cmd_add()
79 params.size = strtoull(optarg, &e, 0); in cmd_add()
87 params.set_type = 1; in cmd_add()
88 if (CGPT_OK != SupportedType(optarg, &params.type_guid) && in cmd_add()
[all …]
/external/linux-tools-perf/src/tools/perf/
Dbuiltin-probe.c65 } params; variable
70 struct perf_probe_event *pev = &params.events[params.nevents]; in parse_probe_event()
73 pr_debug("probe-definition(%d): %s\n", params.nevents, str); in parse_probe_event()
74 if (++params.nevents == MAX_PROBES) { in parse_probe_event()
79 pev->uprobes = params.uprobes; in parse_probe_event()
100 if (!params.target && ptr && *ptr == '/') { in set_target()
101 params.target = ptr; in set_target()
106 params.uprobes = true; in set_target()
140 params.mod_events = true; in parse_probe_event_argv()
150 params.mod_events = true; in opt_add_probe_event()
[all …]
/external/deqp/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 …]
Des3fDepthStencilTests.cpp119 tcu::TestLog& operator<< (tcu::TestLog& log, const StencilParams& params) in operator <<() argument
121 log << TestLog::Message << " func = " << glu::getCompareFuncStr(params.function) << "\n" in operator <<()
122 << " ref = " << params.reference << "\n" in operator <<()
123 << " compare mask = " << tcu::toHex(params.compareMask) << "\n" in operator <<()
124 << " stencil fail = " << glu::getStencilOpStr(params.stencilFailOp) << "\n" in operator <<()
125 << " depth fail = " << glu::getStencilOpStr(params.depthFailOp) << "\n" in operator <<()
126 << " depth pass = " << glu::getStencilOpStr(params.depthPassOp) << "\n" in operator <<()
127 << " write mask = " << tcu::toHex(params.writeMask) << "\n" in operator <<()
132 tcu::TestLog& operator<< (tcu::TestLog& log, const DepthStencilParams& params) in operator <<() argument
134 …log << TestLog::Message << "Stencil test: " << (params.stencilTestEnabled ? "enabled" : "disabled"… in operator <<()
[all …]
Des3fFragOpInteractionTests.cpp53 rsg::ProgramParameters params; in init() local
57 params.version = rsg::VERSION_300; in init()
59 params.useScalarConversions = true; in init()
60 params.useSwizzle = true; in init()
61 params.useComparisonOps = true; in init()
62 params.useConditionals = true; in init()
64 params.vertexParameters.randomize = true; in init()
65 params.vertexParameters.maxStatementDepth = 3; in init()
66 params.vertexParameters.maxStatementsPerBlock = 4; in init()
67 params.vertexParameters.maxExpressionDepth = 4; in init()
[all …]
/external/deqp/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 …]
Des2fDepthStencilTests.cpp119 tcu::TestLog& operator<< (tcu::TestLog& log, const StencilParams& params) in operator <<() argument
121 log << TestLog::Message << " func = " << glu::getCompareFuncStr(params.function) << "\n" in operator <<()
122 << " ref = " << params.reference << "\n" in operator <<()
123 << " compare mask = " << tcu::toHex(params.compareMask) << "\n" in operator <<()
124 << " stencil fail = " << glu::getStencilOpStr(params.stencilFailOp) << "\n" in operator <<()
125 << " depth fail = " << glu::getStencilOpStr(params.depthFailOp) << "\n" in operator <<()
126 << " depth pass = " << glu::getStencilOpStr(params.depthPassOp) << "\n" in operator <<()
127 << " write mask = " << tcu::toHex(params.writeMask) << "\n" in operator <<()
132 tcu::TestLog& operator<< (tcu::TestLog& log, const DepthStencilParams& params) in operator <<() argument
134 …log << TestLog::Message << "Stencil test: " << (params.stencilTestEnabled ? "enabled" : "disabled"… in operator <<()
[all …]
Des2fFragOpInteractionTests.cpp53 rsg::ProgramParameters params; in init() local
57 params.version = rsg::VERSION_100; in init()
59 params.useScalarConversions = true; in init()
60 params.useSwizzle = true; in init()
61 params.useComparisonOps = true; in init()
62 params.useConditionals = true; in init()
64 params.vertexParameters.randomize = true; in init()
65 params.vertexParameters.maxStatementDepth = 3; in init()
66 params.vertexParameters.maxStatementsPerBlock = 4; in init()
67 params.vertexParameters.maxExpressionDepth = 4; in init()
[all …]
/external/mesa3d/src/mesa/main/
Dtexparam.c255 GLenum pname, const GLint *params) in set_tex_parameteri() argument
259 if (texObj->Sampler.MinFilter == params[0]) in set_tex_parameteri()
261 switch (params[0]) { in set_tex_parameteri()
265 texObj->Sampler.MinFilter = params[0]; in set_tex_parameteri()
274 texObj->Sampler.MinFilter = params[0]; in set_tex_parameteri()
284 if (texObj->Sampler.MagFilter == params[0]) in set_tex_parameteri()
286 switch (params[0]) { in set_tex_parameteri()
290 texObj->Sampler.MagFilter = params[0]; in set_tex_parameteri()
298 if (texObj->Sampler.WrapS == params[0]) in set_tex_parameteri()
300 if (validate_texture_wrap_mode(ctx, texObj->Target, params[0])) { in set_tex_parameteri()
[all …]
Dsamplerobj.c426 const GLfloat params[4]) in set_sampler_border_colorf()
429 samp->BorderColor.f[RCOMP] = params[0]; in set_sampler_border_colorf()
430 samp->BorderColor.f[GCOMP] = params[1]; in set_sampler_border_colorf()
431 samp->BorderColor.f[BCOMP] = params[2]; in set_sampler_border_colorf()
432 samp->BorderColor.f[ACOMP] = params[3]; in set_sampler_border_colorf()
440 const GLint params[4]) in set_sampler_border_colori()
443 samp->BorderColor.i[RCOMP] = params[0]; in set_sampler_border_colori()
444 samp->BorderColor.i[GCOMP] = params[1]; in set_sampler_border_colori()
445 samp->BorderColor.i[BCOMP] = params[2]; in set_sampler_border_colori()
446 samp->BorderColor.i[ACOMP] = params[3]; in set_sampler_border_colori()
[all …]
Dlight.c102 _mesa_light(struct gl_context *ctx, GLuint lnum, GLenum pname, const GLfloat *params) in _mesa_light() argument
111 if (TEST_EQ_4V(light->Ambient, params)) in _mesa_light()
114 COPY_4V( light->Ambient, params ); in _mesa_light()
117 if (TEST_EQ_4V(light->Diffuse, params)) in _mesa_light()
120 COPY_4V( light->Diffuse, params ); in _mesa_light()
123 if (TEST_EQ_4V(light->Specular, params)) in _mesa_light()
126 COPY_4V( light->Specular, params ); in _mesa_light()
130 if (TEST_EQ_4V(light->EyePosition, params)) in _mesa_light()
133 COPY_4V(light->EyePosition, params); in _mesa_light()
141 if (TEST_EQ_3V(light->SpotDirection, params)) in _mesa_light()
[all …]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DAlgorithmParametersTest.java92 AlgorithmParameters params = new DummyAlgorithmParameters(paramSpi, p, in test_getEncoded() local
99 params.getEncoded(); in test_getEncoded()
108 params.init(new MyAlgorithmParameterSpec()); in test_getEncoded()
109 assertSame(enc, params.getEncoded()); in test_getEncoded()
128 AlgorithmParameters params = new DummyAlgorithmParameters(paramSpi, p, in test_getEncodedLjava_lang_String() local
135 params.getEncoded(strFormatParam); in test_getEncodedLjava_lang_String()
144 params.init(new MyAlgorithmParameterSpec()); in test_getEncodedLjava_lang_String()
145 assertSame(enc, params.getEncoded(strFormatParam)); in test_getEncodedLjava_lang_String()
158 params = new DummyAlgorithmParameters(paramSpi, p, "algorithm"); in test_getEncodedLjava_lang_String()
159 params.init(new MyAlgorithmParameterSpec()); in test_getEncodedLjava_lang_String()
[all …]
/external/apache-http/src/org/apache/http/params/
DHttpProtocolParams.java32 package org.apache.http.params;
71 public static String getHttpElementCharset(final HttpParams params) { in getHttpElementCharset() argument
72 if (params == null) { in getHttpElementCharset()
75 String charset = (String) params.getParameter in getHttpElementCharset()
87 public static void setHttpElementCharset(final HttpParams params, final String charset) { in setHttpElementCharset() argument
88 if (params == null) { in setHttpElementCharset()
91 params.setParameter(CoreProtocolPNames.HTTP_ELEMENT_CHARSET, charset); in setHttpElementCharset()
99 public static String getContentCharset(final HttpParams params) { in getContentCharset() argument
100 if (params == null) { in getContentCharset()
103 String charset = (String) params.getParameter in getContentCharset()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen7_blorp.cpp51 const brw_blorp_params *params) in gen7_blorp_emit_urb_config() argument
67 const brw_blorp_params *params, in gen7_blorp_emit_blend_state_pointer() argument
82 const brw_blorp_params *params, in gen7_blorp_emit_cc_state_pointer() argument
95 const brw_blorp_params *params) in gen7_blorp_emit_cc_viewport() argument
120 const brw_blorp_params *params, in gen7_blorp_emit_depth_stencil_state_pointers() argument
137 const brw_blorp_params *params, in gen7_blorp_emit_surface_state() argument
226 const brw_blorp_params *params) in gen7_blorp_emit_sampler_state() argument
284 const brw_blorp_params *params) in gen7_blorp_emit_hs_disable() argument
306 const brw_blorp_params *params) in gen7_blorp_emit_te_disable() argument
325 const brw_blorp_params *params) in gen7_blorp_emit_ds_disable() argument
[all …]
Dgen6_blorp.cpp56 gen6_blorp_compute_tile_masks(const brw_blorp_params *params, in gen6_blorp_compute_tile_masks() argument
60 intel_region_get_tile_masks(params->depth.mt->region, in gen6_blorp_compute_tile_masks()
62 intel_region_get_tile_masks(params->depth.mt->hiz_mt->region, in gen6_blorp_compute_tile_masks()
75 const brw_blorp_params *params) in gen6_blorp_emit_batch_head() argument
119 const brw_blorp_params *params) in gen6_blorp_emit_state_base_address() argument
132 if (params->use_wm_prog) { in gen6_blorp_emit_state_base_address()
153 const brw_blorp_params *params) in gen6_blorp_emit_vertices() argument
191 /* v0 */ 0, 0, 0, 0, params->x0, params->y1, 0, 1, in gen6_blorp_emit_vertices()
192 /* v1 */ 0, 0, 0, 0, params->x1, params->y1, 0, 1, in gen6_blorp_emit_vertices()
193 /* v2 */ 0, 0, 0, 0, params->x0, params->y0, 0, 1, in gen6_blorp_emit_vertices()
[all …]
/external/linux-tools-perf/src/tools/perf/util/
Dusage.c12 static void report(const char *prefix, const char *err, va_list params) in report() argument
15 vsnprintf(msg, sizeof(msg), err, params); in report()
25 static NORETURN void die_builtin(const char *err, va_list params) in die_builtin() argument
27 report(" Fatal: ", err, params); in die_builtin()
31 static void error_builtin(const char *err, va_list params) in error_builtin() argument
33 report(" Error: ", err, params); in error_builtin()
36 static void warn_builtin(const char *warn, va_list params) in warn_builtin() argument
38 report(" Warning: ", warn, params); in warn_builtin()
44 static void (*die_routine)(const char *err, va_list params) NORETURN = die_builtin;
45 static void (*error_routine)(const char *err, va_list params) = error_builtin;
[all …]
/external/apache-http/src/org/apache/http/client/params/
DHttpClientParams.java31 package org.apache.http.client.params;
33 import org.apache.http.params.HttpParams;
55 public static boolean isRedirecting(final HttpParams params) { in isRedirecting() argument
56 if (params == null) { in isRedirecting()
59 return params.getBooleanParameter in isRedirecting()
63 public static void setRedirecting(final HttpParams params, boolean value) { in setRedirecting() argument
64 if (params == null) { in setRedirecting()
67 params.setBooleanParameter in setRedirecting()
71 public static boolean isAuthenticating(final HttpParams params) { in isAuthenticating() argument
72 if (params == null) { in isAuthenticating()
[all …]
/external/libmtp/src/
Dptp.h97 } params; member
1847 typedef uint16_t (* PTPDataGetFunc) (PTPParams* params, void*priv,
1851 typedef uint16_t (* PTPDataPutFunc) (PTPParams* params, void*priv,
1864 typedef uint16_t (* PTPIOSendReq) (PTPParams* params, PTPContainer* req);
1865 typedef uint16_t (* PTPIOSendData) (PTPParams* params, PTPContainer* ptp,
1868 typedef uint16_t (* PTPIOGetResp) (PTPParams* params, PTPContainer* resp);
1869 typedef uint16_t (* PTPIOGetData) (PTPParams* params, PTPContainer* ptp,
1871 typedef uint16_t (* PTPIOCancelReq) (PTPParams* params, uint32_t transaction_id);
1979 uint16_t ptp_usb_sendreq (PTPParams* params, PTPContainer* req);
1980 uint16_t ptp_usb_senddata (PTPParams* params, PTPContainer* ptp,
[all …]
/external/apache-http/src/org/apache/http/conn/params/
DConnManagerParams.java31 package org.apache.http.conn.params;
34 import org.apache.http.params.HttpParams;
67 public static long getTimeout(final HttpParams params) { in getTimeout() argument
68 if (params == null) { in getTimeout()
71 return params.getLongParameter(TIMEOUT, 0); in getTimeout()
81 public static void setTimeout(final HttpParams params, long timeout) { in setTimeout() argument
82 if (params == null) { in setTimeout()
85 params.setLongParameter(TIMEOUT, timeout); in setTimeout()
106 public static void setMaxConnectionsPerRoute(final HttpParams params, in setMaxConnectionsPerRoute() argument
108 if (params == null) { in setMaxConnectionsPerRoute()
[all …]
DConnRouteParams.java31 package org.apache.http.conn.params;
37 import org.apache.http.params.HttpParams;
92 public static HttpHost getDefaultProxy(HttpParams params) { in getDefaultProxy() argument
93 if (params == null) { in getDefaultProxy()
97 params.getParameter(DEFAULT_PROXY); in getDefaultProxy()
116 public static void setDefaultProxy(HttpParams params, in setDefaultProxy() argument
118 if (params == null) { in setDefaultProxy()
121 params.setParameter(DEFAULT_PROXY, proxy); in setDefaultProxy()
136 public static HttpRoute getForcedRoute(HttpParams params) { in getForcedRoute() argument
137 if (params == null) { in getForcedRoute()
[all …]
/external/vboot_reference/tests/
Dverify_kernel.c24 static LoadKernelParams params; variable
32 if (lba_start >= params.streaming_lba_count) in VbExDiskRead()
34 if (lba_start + lba_count > params.streaming_lba_count) in VbExDiskRead()
46 if (lba_start >= params.streaming_lba_count) in VbExDiskWrite()
48 if (lba_start + lba_count > params.streaming_lba_count) in VbExDiskWrite()
93 params.shared_data_blob = shared_data; in main()
94 params.shared_data_size = sizeof(shared_data); in main()
95 params.disk_handle = (VbExDiskHandle_t)1; in main()
96 params.bytes_per_lba = 512; in main()
97 params.streaming_lba_count = disk_bytes / 512; in main()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Dscan.c152 struct wpa_driver_scan_params *params = work->ctx; in wpas_trigger_scan_cb() local
157 wpa_scan_free_params(params); in wpas_trigger_scan_cb()
178 params->only_new_results = 1; in wpas_trigger_scan_cb()
180 ret = wpa_drv_scan(wpa_s, params); in wpas_trigger_scan_cb()
181 wpa_scan_free_params(params); in wpas_trigger_scan_cb()
222 struct wpa_driver_scan_params *params) in wpa_supplicant_trigger_scan() argument
231 ctx = wpa_scan_clone_params(params); in wpa_supplicant_trigger_scan()
270 struct wpa_driver_scan_params *params, in wpa_supplicant_start_sched_scan() argument
276 ret = wpa_drv_sched_scan(wpa_s, params, interval * 1000); in wpa_supplicant_start_sched_scan()
335 struct wpa_supplicant *wpa_s, struct wpa_driver_scan_params *params) in wpa_supplicant_optimize_freqs() argument
[all …]

12345678910>>...58