Home
last modified time | relevance | path

Searched refs:parameters (Results 1 – 25 of 1495) sorted by relevance

12345678910>>...60

/external/chromium_org/chrome/renderer/resources/extensions/
Ddeclarative_webrequest_custom_bindings.js27 function setupInstance(instance, parameters, typeId) { argument
28 for (var key in parameters) {
29 if ($Object.hasOwnProperty(parameters, key)) {
30 instance[key] = parameters[key];
39 declarativeWebRequest.RequestMatcher = function(parameters) { argument
40 setupInstance(this, parameters, 'RequestMatcher');
42 declarativeWebRequest.CancelRequest = function(parameters) { argument
43 setupInstance(this, parameters, 'CancelRequest');
45 declarativeWebRequest.RedirectRequest = function(parameters) { argument
46 setupInstance(this, parameters, 'RedirectRequest');
[all …]
/external/chromium_org/net/http/
Dhttp_auth_challenge_tokenizer_unittest.cc14 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs(); in TEST() local
16 EXPECT_TRUE(parameters.valid()); in TEST()
18 EXPECT_TRUE(parameters.GetNext()); in TEST()
19 EXPECT_TRUE(parameters.valid()); in TEST()
20 EXPECT_EQ(std::string("realm"), parameters.name()); in TEST()
21 EXPECT_EQ(std::string("foobar"), parameters.value()); in TEST()
22 EXPECT_FALSE(parameters.GetNext()); in TEST()
30 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs(); in TEST() local
32 EXPECT_TRUE(parameters.valid()); in TEST()
34 EXPECT_TRUE(parameters.GetNext()); in TEST()
[all …]
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/
Dpitch_filter.c135 static void FilterSegment(const double* in_data, PitchFilterParam* parameters, in FilterSegment() argument
144 int pos = parameters->index + PITCH_BUFFSIZE; in FilterSegment()
147 int pos_lag = pos - parameters->lag_offset; in FilterSegment()
149 for (n = 0; n < parameters->num_samples; ++n) { in FilterSegment()
152 parameters->damper_state[m] = parameters->damper_state[m - 1]; in FilterSegment()
157 sum += parameters->buffer[pos_lag + m] * parameters->interpol_coeff[m]; in FilterSegment()
160 parameters->damper_state[0] = parameters->gain * sum; in FilterSegment()
162 if (parameters->mode == kPitchFilterPreGain) { in FilterSegment()
163 int lag_index = parameters->index - parameters->lag_offset; in FilterSegment()
168 parameters->damper_state_dg[j][m] = in FilterSegment()
[all …]
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
Dpitch_filter.c135 static void FilterSegment(const double* in_data, PitchFilterParam* parameters, in FilterSegment() argument
144 int pos = parameters->index + PITCH_BUFFSIZE; in FilterSegment()
147 int pos_lag = pos - parameters->lag_offset; in FilterSegment()
149 for (n = 0; n < parameters->num_samples; ++n) { in FilterSegment()
152 parameters->damper_state[m] = parameters->damper_state[m - 1]; in FilterSegment()
157 sum += parameters->buffer[pos_lag + m] * parameters->interpol_coeff[m]; in FilterSegment()
160 parameters->damper_state[0] = parameters->gain * sum; in FilterSegment()
162 if (parameters->mode == kPitchFilterPreGain) { in FilterSegment()
163 int lag_index = parameters->index - parameters->lag_offset; in FilterSegment()
168 parameters->damper_state_dg[j][m] = in FilterSegment()
[all …]
/external/chromium_org/third_party/WebKit/Source/modules/websockets/
DWebSocketExtensionParserTest.cpp47 HashMap<String, String> parameters; in TEST() local
50 ASSERT_TRUE(parser.parseExtension(extension, parameters)); in TEST()
52 EXPECT_EQ(0UL, parameters.size()); in TEST()
59 HashMap<String, String> parameters; in TEST() local
62 ASSERT_TRUE(parser.parseExtension(extension, parameters)); in TEST()
64 EXPECT_EQ(3UL, parameters.size()); in TEST()
65 EXPECT_EQ("FOO", parameters.get("foo")); in TEST()
66 EXPECT_EQ("BAR", parameters.get("bar")); in TEST()
67 EXPECT_TRUE(parameters.contains("baz")); in TEST()
68 EXPECT_TRUE(parameters.get("baz").isNull()); in TEST()
[all …]
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/main/
Ddispatch.h49 #define CALL_by_offset(disp, cast, offset, parameters) \ argument
50 (*(cast (GET_by_offset(disp, offset)))) parameters
2176 #define CALL_NewList(disp, parameters) \ argument
2177 (* GET_NewList(disp)) parameters
2187 #define CALL_EndList(disp, parameters) \ argument
2188 (* GET_EndList(disp)) parameters
2198 #define CALL_CallList(disp, parameters) \ argument
2199 (* GET_CallList(disp)) parameters
2209 #define CALL_CallLists(disp, parameters) \ argument
2210 (* GET_CallLists(disp)) parameters
[all …]
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
Dbackground_noise.cc55 ChannelParameters& parameters = channel_parameters_[channel_ix]; in Update() local
66 sample_energy < parameters.energy_update_threshold) || in Update()
73 if (sample_energy < parameters.energy_update_threshold) { in Update()
75 parameters.energy_update_threshold = std::max(sample_energy, 1); in Update()
76 parameters.low_energy_update_threshold = 0; in Update()
192 ChannelParameters& parameters = channel_parameters_[channel]; in IncrementEnergyThreshold() local
195 parameters.low_energy_update_threshold, 16); in IncrementEnergyThreshold()
197 (parameters.energy_update_threshold & 0xFF); in IncrementEnergyThreshold()
199 ((parameters.energy_update_threshold>>8) & 0xFF)) << 8; in IncrementEnergyThreshold()
200 parameters.low_energy_update_threshold += temp_energy; in IncrementEnergyThreshold()
[all …]
Dexpand.cc77 ChannelParameters& parameters = channel_parameters_[channel_ix]; in Process() local
81 parameters.expand_vector0.Size()); in Process()
83 &parameters.expand_vector0[expansion_vector_position], in Process()
88 &parameters.expand_vector0[expansion_vector_position], 3, in Process()
89 &parameters.expand_vector1[expansion_vector_position], 1, 2, in Process()
94 parameters.expand_vector0.Size()); in Process()
96 parameters.expand_vector1.Size()); in Process()
98 &parameters.expand_vector0[expansion_vector_position], 1, in Process()
99 &parameters.expand_vector1[expansion_vector_position], 1, 1, in Process()
130 if ((parameters.mute_factor > 819) && in Process()
[all …]
/external/chromium_org/google_apis/gaia/
Doauth_request_signer_unittest.cc76 OAuthRequestSigner::Parameters parameters; in TEST() local
77 parameters["scope"] = "https://accounts.google.com/OAuthLogin"; in TEST()
78 parameters["oauth_nonce"] = "2oiE_aHdk5qRTz0L9C8Lq0g"; in TEST()
79 parameters["xaouth_display_name"] = "Chromium"; in TEST()
80 parameters["oauth_timestamp"] = "1308152953"; in TEST()
84 parameters, in TEST()
107 OAuthRequestSigner::Parameters parameters; in TEST() local
108 parameters["oauth_timestamp"] = "1308147831"; in TEST()
109 parameters["oauth_nonce"] = "4d4hZW9DygWQujP2tz06UN"; in TEST()
113 parameters, in TEST()
[all …]
/external/ceres-solver/internal/ceres/
Dautodiff_cost_function_test.cc59 double** parameters = new double*[2]; in TEST() local
60 parameters[0] = new double[2]; in TEST()
61 parameters[1] = new double[2]; in TEST()
63 parameters[0][0] = 1; in TEST()
64 parameters[0][1] = 2; in TEST()
66 parameters[1][0] = 3; in TEST()
67 parameters[1][1] = 4; in TEST()
75 cost_function->Evaluate(parameters, &residuals, NULL); in TEST()
77 cost_function->Evaluate(parameters, &residuals, jacobians); in TEST()
86 delete[] parameters[0]; in TEST()
[all …]
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/
Dmedia_opt_util.cc74 VCMNackFecMethod::ProtectionFactor(const VCMProtectionParameters* parameters) in ProtectionFactor() argument
89 VCMFecMethod::ProtectionFactor(parameters); in ProtectionFactor()
90 if (_lowRttNackMs == -1 || parameters->rtt < _lowRttNackMs) in ProtectionFactor()
98 else if (_highRttNackMs == -1 || parameters->rtt < _highRttNackMs) in ProtectionFactor()
117 const VCMProtectionParameters* parameters) { in ComputeMaxFramesFec() argument
118 if (parameters->numLayers > 2) { in ComputeMaxFramesFec()
128 float base_layer_framerate = parameters->frameRate / in ComputeMaxFramesFec()
129 static_cast<float>(1 << (parameters->numLayers - 1)); in ComputeMaxFramesFec()
131 2.0f * base_layer_framerate * parameters->rtt / in ComputeMaxFramesFec()
146 const VCMProtectionParameters* parameters) { in BitRateTooLowForFec() argument
[all …]
/external/chromium_org/third_party/WebKit/Source/web/tests/
DScrollAnimatorNoneTest.cpp263 …t multiplier, float scrollableSize, double currentTime, ScrollAnimatorNone::Parameters* parameters) in updateDataFromParameters() argument
271 …sult = m_data->updateDataFromParameters(step, multiplier, scrollableSize, currentTime, parameters); in updateDataFromParameters()
462 …ScrollAnimatorNone::Parameters parameters(true, 7 * kTickTime, 0, ScrollAnimatorNone::Linear, 3 * … in TEST_F() local
464 EXPECT_TRUE(updateDataFromParameters(1, 40, 1000, kStartTime, &parameters)); in TEST_F()
472 …ScrollAnimatorNone::Parameters parameters(true, 7 * kTickTime, 0, ScrollAnimatorNone::Quadratic, 3… in TEST_F() local
474 EXPECT_TRUE(updateDataFromParameters(1, 40, 1000, kStartTime, &parameters)); in TEST_F()
482 …ScrollAnimatorNone::Parameters parameters(true, 20 * kTickTime, 0, ScrollAnimatorNone::Quadratic, … in TEST_F() local
484 EXPECT_TRUE(updateDataFromParameters(1, 40, 1000, kStartTime, &parameters)); in TEST_F()
492 …ScrollAnimatorNone::Parameters parameters(true, 8 * kTickTime, 0, ScrollAnimatorNone::Quadratic, 4… in TEST_F() local
494 EXPECT_TRUE(updateDataFromParameters(1, 40, 1000, kStartTime, &parameters)); in TEST_F()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/address/
DTelephoneNumber.java57 protected NameValueList parameters; field in TelephoneNumber
61 parameters = new NameValueList(); in TelephoneNumber()
68 parameters.delete(name); in deleteParm()
82 return (String) parameters.getValue(POSTDIAL); in getPostDial()
90 return (String) parameters.getValue(ISUB); in getIsdnSubaddress()
97 return parameters.getValue(POSTDIAL) != null; in hasPostDial()
105 return parameters.hasNameValue(pname); in hasParm()
127 parameters.delete(POSTDIAL); in removePostDial()
142 parameters = p; in setParameters()
157 parameters.set(nv); in setPostDial()
[all …]
/external/srec/srec/cfront/
Dfrontobj.c58 static void setup_wave_object(front_wave *waveobj, front_parameters *parameters);
63 static void setup_freq_object(front_freq *freqobj, front_parameters *parameters, int mel_dim);
69 static void setup_cep_object(front_cep *cepobj, front_parameters *parameters,
99 void setup_config_object(front_config *config, front_parameters *parameters) in setup_config_object() argument
103 ASSERT(parameters); in setup_config_object()
110 setup_wave_object(config->waveobj, parameters); in setup_config_object()
111 setup_freq_object(config->freqobj, parameters, parameters->mel_dim); in setup_config_object()
112 setup_cep_object(config->cepobj, parameters, config->freqobj->nf, in setup_config_object()
113 parameters->mel_dim); in setup_config_object()
297 static void setup_wave_object(front_wave *waveobj, front_parameters *parameters) in setup_wave_object() argument
[all …]
/external/nist-sip/java/gov/nist/javax/sip/header/
DParametersHeader.java54 protected NameValueList parameters; field in ParametersHeader
59 this.parameters = new NameValueList(); in ParametersHeader()
65 this.parameters = new NameValueList(); in ParametersHeader()
71 this.parameters = new NameValueList(sync); in ParametersHeader()
84 return this.parameters.getParameter(name); in getParameter()
95 return this.parameters.getValue(name); in getParameterValue()
106 return parameters.getNames(); in getParameterNames()
115 return parameters != null && !parameters.isEmpty(); in hasParameters()
127 this.parameters.delete(name); in removeParameter()
149 NameValue nv = parameters.getNameValue(name); in setParameter()
[all …]
DContact.java84 NameValue nv = parameters.getNameValue(name); in setParameter()
91 this.parameters.set(nv); in setParameter()
117 if (!parameters.isEmpty()) { in encodeBody()
119 parameters.encode(buffer); in encodeBody()
152 return parameters; in getContactParms()
168 this.parameters.set(EXPIRES, deltaSeconds); in setExpires()
217 this.parameters.set(Q, Float.valueOf(qValue)); in setQValue()
248 if (parameters != null) in removeSipInstanceParam()
249 parameters.delete(ParameterNames.SIP_INSTANCE); in removeSipInstanceParam()
253 return (String) parameters.getValue(ParameterNames.SIP_INSTANCE); in getSipInstanceParam()
[all …]
/external/bison/darwin-lib/
Dc++defs.h99 #define _GL_CXXALIAS_RPL(func,rettype,parameters) \ argument
100 _GL_CXXALIAS_RPL_1 (func, rpl_##func, rettype, parameters)
102 # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ argument
105 rettype (*const func) parameters = ::rpl_func; \
109 # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ argument
119 # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ argument
122 rettype (*const func) parameters = \
123 reinterpret_cast<rettype(*)parameters>(::rpl_func); \
127 # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ argument
145 # define _GL_CXXALIAS_SYS(func,rettype,parameters) \ argument
[all …]
/external/bison/linux-lib/
Dc++defs.h99 #define _GL_CXXALIAS_RPL(func,rettype,parameters) \ argument
100 _GL_CXXALIAS_RPL_1 (func, rpl_##func, rettype, parameters)
102 # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ argument
105 rettype (*const func) parameters = ::rpl_func; \
109 # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ argument
119 # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ argument
122 rettype (*const func) parameters = \
123 reinterpret_cast<rettype(*)parameters>(::rpl_func); \
127 # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ argument
145 # define _GL_CXXALIAS_SYS(func,rettype,parameters) \ argument
[all …]
/external/bison/build-aux/snippet/
Dc++defs.h115 #define _GL_CXXALIAS_RPL(func,rettype,parameters) \ argument
116 _GL_CXXALIAS_RPL_1 (func, rpl_##func, rettype, parameters)
118 # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ argument
121 rettype (*const func) parameters = ::rpl_func; \
125 # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ argument
135 # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ argument
138 rettype (*const func) parameters = \
139 reinterpret_cast<rettype(*)parameters>(::rpl_func); \
143 # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ argument
161 # define _GL_CXXALIAS_SYS(func,rettype,parameters) \ argument
[all …]
/external/apache-http/src/org/apache/http/message/
DBasicHeaderElement.java87 private final NameValuePair[] parameters; field in BasicHeaderElement
100 final NameValuePair[] parameters) { in BasicHeaderElement() argument
107 if (parameters != null) { in BasicHeaderElement()
108 this.parameters = parameters; in BasicHeaderElement()
110 this.parameters = new NameValuePair[] {}; in BasicHeaderElement()
150 return (NameValuePair[])this.parameters.clone(); in getParameters()
160 return this.parameters.length; in getParameterCount()
173 return this.parameters[index]; in getParameter()
189 for (int i = 0; i < this.parameters.length; i++) { in getParameterByName()
190 NameValuePair current = this.parameters[ i ]; in getParameterByName()
[all …]
/external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/
DCameraConfigurationManager.java52 Camera.Parameters parameters = camera.getParameters(); in initFromCameraParameters() local
67 cameraResolution = findBestPreviewSizeValue(parameters, screenResolution, false); in initFromCameraParameters()
72 Camera.Parameters parameters = camera.getParameters(); in setDesiredCameraParameters() local
74 if (parameters == null) { in setDesiredCameraParameters()
81 initializeTorch(parameters, prefs); in setDesiredCameraParameters()
82 String focusMode = findSettableValue(parameters.getSupportedFocusModes(), in setDesiredCameraParameters()
86 parameters.setFocusMode(focusMode); in setDesiredCameraParameters()
89 parameters.setPreviewSize(cameraResolution.x, cameraResolution.y); in setDesiredCameraParameters()
90 camera.setParameters(parameters); in setDesiredCameraParameters()
102 Camera.Parameters parameters = camera.getParameters(); in setTorch() local
[all …]
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
Dopenjpeg.c338 void OPJ_CALLCONV opj_set_default_decoder_parameters(opj_dparameters_t *parameters) { in opj_set_default_decoder_parameters() argument
339 if(parameters) { in opj_set_default_decoder_parameters()
340 memset(parameters, 0, sizeof(opj_dparameters_t)); in opj_set_default_decoder_parameters()
342 parameters->cp_layer = 0; in opj_set_default_decoder_parameters()
343 parameters->cp_reduce = 0; in opj_set_default_decoder_parameters()
345 parameters->decod_format = -1; in opj_set_default_decoder_parameters()
346 parameters->cod_format = -1; in opj_set_default_decoder_parameters()
347 parameters->flags = 0; in opj_set_default_decoder_parameters()
350 parameters->jpwl_correct = OPJ_FALSE; in opj_set_default_decoder_parameters()
351 parameters->jpwl_exp_comps = JPWL_EXPECTED_COMPONENTS; in opj_set_default_decoder_parameters()
[all …]
/external/apache-http/src/org/apache/http/params/
DBasicHttpParams.java58 private HashMap parameters; field in BasicHttpParams
67 if (this.parameters != null) { in getParameter()
68 param = this.parameters.get(name); in getParameter()
74 if (this.parameters == null) { in setParameter()
75 this.parameters = new HashMap(); in setParameter()
77 this.parameters.put(name, value); in setParameter()
82 if (this.parameters == null) { in removeParameter()
86 if (this.parameters.containsKey(name)) { in removeParameter()
87 this.parameters.remove(name); in removeParameter()
112 return this.parameters != null && this.parameters.get(name) != null; in isParameterSetLocally()
[all …]
/external/chromium_org/ui/base/clipboard/
Dscoped_clipboard_writer.cc41 Clipboard::ObjectMapParams parameters; in WriteHTML() local
42 parameters.push_back( in WriteHTML()
46 parameters.push_back(Clipboard::ObjectMapParam(source_url.begin(), in WriteHTML()
50 objects_[Clipboard::CBF_HTML] = parameters; in WriteHTML()
54 Clipboard::ObjectMapParams parameters; in WriteRTF() local
55 parameters.push_back(Clipboard::ObjectMapParam(rtf_data.begin(), in WriteRTF()
57 objects_[Clipboard::CBF_RTF] = parameters; in WriteRTF()
67 Clipboard::ObjectMapParams parameters; in WriteBookmark() local
68 parameters.push_back(Clipboard::ObjectMapParam(utf8_markup.begin(), in WriteBookmark()
70 parameters.push_back(Clipboard::ObjectMapParam(url.begin(), url.end())); in WriteBookmark()
[all …]
/external/chromium_org/third_party/libaddressinput/src/cpp/src/
Dlocalization.cc33 void PushBackUrl(std::vector<std::string>& parameters, const std::string url) { in PushBackUrl() argument
35 parameters.push_back("<a href=\"" + url + "\">"); in PushBackUrl()
36 parameters.push_back("</a>"); in PushBackUrl()
99 std::vector<std::string> parameters; in GetErrorMessage() local
103 parameters.push_back(values.front()); in GetErrorMessage()
105 parameters.push_back(address.GetFieldValue(field)); in GetErrorMessage()
108 get_string_(IDS_LIBADDRESSINPUT_UNKNOWN_VALUE), parameters); in GetErrorMessage()
132 std::vector<std::string> parameters; in GetErrorMessageForPostalCode() local
138 parameters.push_back(postal_code_example); in GetErrorMessageForPostalCode()
139 PushBackUrl(parameters, post_service_url); in GetErrorMessageForPostalCode()
[all …]

12345678910>>...60