Home
last modified time | relevance | path

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

12345678910>>...113

/external/tensorflow/tensorflow/lite/testing/
Dgenerate_examples.py300 def build_graph(parameters): argument
302 dtype=tf.float32, name="input", shape=parameters["input_shape"])
310 def build_inputs(parameters, sess, inputs, outputs): argument
311 input_values = create_tensor_data(tf.float32, parameters["input_shape"])
419 for parameters in test_parameters:
421 operator.mul, [len(values) for values in parameters.values()])
438 for parameters in test_parameters:
439 keys = parameters.keys()
440 for curr in itertools.product(*parameters.values()):
624 def build_graph(parameters): argument
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowCameraParametersTest.java19 private Camera.Parameters parameters; field in ShadowCameraParametersTest
23 parameters = Shadow.newInstanceOf(Camera.Parameters.class); in setUp()
28 assertThat(Shadows.shadowOf(parameters).getPictureHeight()).isNotEqualTo(600); in testPictureSize()
29 assertThat(Shadows.shadowOf(parameters).getPictureWidth()).isNotEqualTo(800); in testPictureSize()
30 parameters.setPictureSize(800, 600); in testPictureSize()
31 Camera.Size pictureSize = parameters.getPictureSize(); in testPictureSize()
34 assertThat(Shadows.shadowOf(parameters).getPictureHeight()).isEqualTo(600); in testPictureSize()
35 assertThat(Shadows.shadowOf(parameters).getPictureWidth()).isEqualTo(800); in testPictureSize()
41 parameters.getPreviewFpsRange(fpsRange); in testPreviewFpsRange()
44 parameters.setPreviewFpsRange(15, 25); in testPreviewFpsRange()
[all …]
/external/mesa3d/prebuilt-intermediates/main/
Ddispatch.h43 #define CALL_by_offset(disp, cast, offset, parameters) \ argument
44 (*(cast (GET_by_offset(disp, offset)))) parameters
2482 #define CALL_NewList(disp, parameters) \ argument
2483 (* GET_NewList(disp)) parameters
2493 #define CALL_EndList(disp, parameters) \ argument
2494 (* GET_EndList(disp)) parameters
2504 #define CALL_CallList(disp, parameters) \ argument
2505 (* GET_CallList(disp)) parameters
2515 #define CALL_CallLists(disp, parameters) \ argument
2516 (* GET_CallLists(disp)) parameters
[all …]
/external/webrtc/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/talk/media/webrtc/
Dwebrtcvoiceengine_unittest.cc190 cricket::AudioSendParameters parameters; in TestSendBandwidth() local
191 parameters.codecs.push_back(codec); in TestSendBandwidth()
192 parameters.max_bandwidth_bps = max_bitrate; in TestSendBandwidth()
193 EXPECT_EQ(expected_result, channel_->SetSendParameters(parameters)); in TestSendBandwidth()
476 cricket::AudioRecvParameters parameters; in TEST_F() local
477 parameters.codecs.push_back(kIsacCodec); in TEST_F()
478 parameters.codecs.push_back(kPcmuCodec); in TEST_F()
479 parameters.codecs.push_back(kTelephoneEventCodec); in TEST_F()
480 parameters.codecs[0].id = 106; // collide with existing telephone-event in TEST_F()
481 parameters.codecs[2].id = 126; in TEST_F()
[all …]
/external/ImageMagick/coders/
Djp2.c272 parameters; in ReadJP2Image() local
324 opj_set_default_decoder_parameters(&parameters); in ReadJP2Image()
327 parameters.cp_reduce=StringToInteger(option); in ReadJP2Image()
330 parameters.cp_layer=StringToInteger(option); in ReadJP2Image()
331 if (opj_setup_decoder(jp2_codec,&parameters) == 0) in ReadJP2Image()
710 opj_cparameters_t *parameters) in CinemaProfileCompliance() argument
715 parameters->tile_size_on=OPJ_FALSE; in CinemaProfileCompliance()
716 parameters->cp_tdx=1; in CinemaProfileCompliance()
717 parameters->cp_tdy=1; in CinemaProfileCompliance()
718 parameters->tp_flag='C'; in CinemaProfileCompliance()
[all …]
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dbackground_noise.cc58 ChannelParameters& parameters = channel_parameters_[channel_ix]; in Update() local
69 sample_energy < parameters.energy_update_threshold) || in Update()
76 if (sample_energy < parameters.energy_update_threshold) { in Update()
78 parameters.energy_update_threshold = std::max(sample_energy, 1); in Update()
79 parameters.low_energy_update_threshold = 0; in Update()
195 ChannelParameters& parameters = channel_parameters_[channel]; in IncrementEnergyThreshold() local
197 (kThresholdIncrement * parameters.low_energy_update_threshold) >> 16; in IncrementEnergyThreshold()
199 (parameters.energy_update_threshold & 0xFF); in IncrementEnergyThreshold()
201 ((parameters.energy_update_threshold>>8) & 0xFF)) << 8; in IncrementEnergyThreshold()
202 parameters.low_energy_update_threshold += temp_energy; in IncrementEnergyThreshold()
[all …]
Dexpand.cc109 ChannelParameters& parameters = channel_parameters_[channel_ix]; in Process() local
113 parameters.expand_vector0.Size()); in Process()
115 &parameters.expand_vector0[expansion_vector_position], in Process()
120 &parameters.expand_vector0[expansion_vector_position], 3, in Process()
121 &parameters.expand_vector1[expansion_vector_position], 1, 2, in Process()
126 parameters.expand_vector0.Size()); in Process()
128 parameters.expand_vector1.Size()); in Process()
130 &parameters.expand_vector0[expansion_vector_position], 1, in Process()
131 &parameters.expand_vector1[expansion_vector_position], 1, 1, in Process()
162 if ((parameters.mute_factor > 819) && in Process()
[all …]
/external/webrtc/webrtc/modules/video_coding/
Dmedia_opt_util.cc68 const VCMProtectionParameters* parameters) { in ProtectionFactor() argument
82 VCMFecMethod::ProtectionFactor(parameters); in ProtectionFactor()
83 if (_lowRttNackMs == -1 || parameters->rtt < _lowRttNackMs) { in ProtectionFactor()
89 } else if (_highRttNackMs == -1 || parameters->rtt < _highRttNackMs) { in ProtectionFactor()
106 const VCMProtectionParameters* parameters) { in ComputeMaxFramesFec() argument
107 if (parameters->numLayers > 2) { in ComputeMaxFramesFec()
118 parameters->frameRate / in ComputeMaxFramesFec()
119 static_cast<float>(1 << (parameters->numLayers - 1)); in ComputeMaxFramesFec()
121 static_cast<int>(2.0f * base_layer_framerate * parameters->rtt / 1000.0f + in ComputeMaxFramesFec()
137 const VCMProtectionParameters* parameters) { in BitRateTooLowForFec() argument
[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/apache-commons-math/src/main/java/org/apache/commons/math/optimization/fitting/
DParametricGaussianFunction.java83 public double value(double x, double[] parameters) throws ZeroException { in value() argument
84 validateParameters(parameters); in value()
85 final double a = parameters[0]; in value()
86 final double b = parameters[1]; in value()
87 final double c = parameters[2]; in value()
88 final double d = parameters[3]; in value()
124 public double[] gradient(double x, double[] parameters) throws ZeroException { in gradient() argument
126 validateParameters(parameters); in gradient()
127 final double b = parameters[1]; in gradient()
128 final double c = parameters[2]; in gradient()
[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 …]
/external/libbrillo/brillo/
Dmime_utils_unittest.cc25 mime::Parameters parameters; in TEST() local
27 mime::Split("application/json;charset=utf-8", &s1, &s2, &parameters)); in TEST()
31 EXPECT_EQ(1, parameters.size()); in TEST()
32 EXPECT_EQ(mime::parameters::kCharset, parameters.front().first); in TEST()
33 EXPECT_EQ("utf-8", parameters.front().second); in TEST()
35 mime::Combine(s1, s2, parameters)); in TEST()
39 mime::Parameters parameters; in TEST() local
44 parameters = mime::GetParameters("text/plain; charset=iso-8859-1;foo=bar"); in TEST()
45 EXPECT_EQ(2, parameters.size()); in TEST()
46 EXPECT_EQ(mime::parameters::kCharset, parameters[0].first); in TEST()
[all …]
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DParameterizedTypeName.java30 private final ImmutableList<TypeName> parameters; field in ParameterizedTypeName
32 ParameterizedTypeName(ClassName type, Iterable<? extends TypeName> parameters) { in ParameterizedTypeName() argument
34 this.parameters = ImmutableList.<TypeName>copyOf(parameters); in ParameterizedTypeName()
41 public ImmutableList<TypeName> parameters() { in parameters() method in ParameterizedTypeName
42 return parameters; in parameters()
49 for (TypeName parameter : parameters) { in referencedClasses()
58 Iterator<? extends TypeName> parameterIterator = parameters.iterator(); in write()
75 && this.parameters.equals(that.parameters); in equals()
83 return Objects.hashCode(type, parameters); in hashCode()
92 TypeName... parameters) { in create() argument
[all …]
/external/pdfium/third_party/libopenjpeg20/
Dopenjpeg.c365 *parameters) in opj_set_default_decoder_parameters() argument
367 if (parameters) { in opj_set_default_decoder_parameters()
368 memset(parameters, 0, sizeof(opj_dparameters_t)); in opj_set_default_decoder_parameters()
370 parameters->cp_layer = 0; in opj_set_default_decoder_parameters()
371 parameters->cp_reduce = 0; in opj_set_default_decoder_parameters()
373 parameters->decod_format = -1; in opj_set_default_decoder_parameters()
374 parameters->cod_format = -1; in opj_set_default_decoder_parameters()
375 parameters->flags = 0; in opj_set_default_decoder_parameters()
378 parameters->jpwl_correct = OPJ_FALSE; in opj_set_default_decoder_parameters()
379 parameters->jpwl_exp_comps = JPWL_EXPECTED_COMPONENTS; in opj_set_default_decoder_parameters()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/
DLambdaExpr.java62 private NodeList<Parameter> parameters; field in LambdaExpr
73 … public LambdaExpr(NodeList<Parameter> parameters, Statement body, boolean isEnclosingParameters) { in LambdaExpr() argument
74 this(null, parameters, body, isEnclosingParameters); in LambdaExpr()
81 …public LambdaExpr(TokenRange tokenRange, NodeList<Parameter> parameters, Statement body, boolean i… in LambdaExpr() argument
83 setParameters(parameters); in LambdaExpr()
91 return parameters; in getParameters()
95 public LambdaExpr setParameters(final NodeList<Parameter> parameters) { in setParameters() argument
96 assertNotNull(parameters); in setParameters()
97 if (parameters == this.parameters) { in setParameters()
100 notifyPropertyChange(ObservableProperty.PARAMETERS, this.parameters, parameters); in setParameters()
[all …]
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/java/org/mockftpserver/core/command/
DCommand.java34 private String[] parameters; field in Command
41 public Command(String name, String[] parameters) { in Command() argument
43 Assert.notNull(parameters, "parameters"); in Command()
45 this.parameters = copy(parameters); in Command()
53 public Command(String name, List parameters) { in Command() argument
54 this(name, (String[]) parameters.toArray(new String[parameters.size()])); in Command()
68 return copy(parameters); in getParameters()
79 return parameters[index]; in getRequiredString()
88 return (parameters.length > index) ? parameters[index] : null; in getParameter()
118 String str = name + Arrays.asList(parameters); in hashCode()
[all …]
/external/apache-http/src/org/apache/http/message/
DBasicHeaderElement.java92 private final NameValuePair[] parameters; field in BasicHeaderElement
105 final NameValuePair[] parameters) { in BasicHeaderElement() argument
112 if (parameters != null) { in BasicHeaderElement()
113 this.parameters = parameters; in BasicHeaderElement()
115 this.parameters = new NameValuePair[] {}; in BasicHeaderElement()
155 return (NameValuePair[])this.parameters.clone(); in getParameters()
165 return this.parameters.length; in getParameterCount()
178 return this.parameters[index]; in getParameter()
194 for (int i = 0; i < this.parameters.length; i++) { in getParameterByName()
195 NameValuePair current = this.parameters[ i ]; in getParameterByName()
[all …]
/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/
DMethodParameters.java35 private MethodParameter[] parameters = new MethodParameter[0]; field in MethodParameters
41 parameters = new MethodParameter[parameters_count]; in MethodParameters()
43 parameters[i] = new MethodParameter(input); in MethodParameters()
48 return parameters; in getParameters()
51 public void setParameters(final MethodParameter[] parameters) { in setParameters() argument
52 this.parameters = parameters; in setParameters()
63 c.parameters = new MethodParameter[parameters.length]; in copy()
65 for (int i = 0; i < parameters.length; i++) { in copy()
66 c.parameters[i] = parameters[i].copy(); in copy()
81 file.writeByte(parameters.length); in dump()
[all …]
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/core/command/
DCommand.java34 private String[] parameters; field in Command
42 public Command(String name, String[] parameters) { in Command() argument
44 Assert.notNull(parameters, "parameters"); in Command()
46 this.parameters = copy(parameters); in Command()
55 public Command(String name, List parameters) { in Command() argument
56 this(name, (String[]) parameters.toArray(new String[parameters.size()])); in Command()
70 return copy(parameters); in getParameters()
83 return parameters[index]; in getRequiredParameter()
93 return (parameters.length > index) ? parameters[index] : null; in getParameter()
124 String str = name + Arrays.asList(parameters); in hashCode()
[all …]
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/core/command/
DCommand.java34 private String[] parameters; field in Command
42 public Command(String name, String[] parameters) { in Command() argument
44 Assert.notNull(parameters, "parameters"); in Command()
46 this.parameters = copy(parameters); in Command()
55 public Command(String name, List parameters) { in Command() argument
56 this(name, (String[]) parameters.toArray(new String[parameters.size()])); in Command()
70 return copy(parameters); in getParameters()
83 return parameters[index]; in getRequiredParameter()
93 return (parameters.length > index) ? parameters[index] : null; in getParameter()
124 String str = name + Arrays.asList(parameters); in hashCode()
[all …]
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/core/command/
DCommand.java34 private String[] parameters; field in Command
42 public Command(String name, String[] parameters) { in Command() argument
44 Assert.notNull(parameters, "parameters"); in Command()
46 this.parameters = copy(parameters); in Command()
55 public Command(String name, List parameters) { in Command() argument
56 this(name, (String[]) parameters.toArray(new String[parameters.size()])); in Command()
70 return copy(parameters); in getParameters()
83 return parameters[index]; in getRequiredParameter()
93 return (parameters.length > index) ? parameters[index] : null; in getParameter()
124 String str = name + Arrays.asList(parameters); in hashCode()
[all …]
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/core/command/
DCommand.java34 private String[] parameters; field in Command
42 public Command(String name, String[] parameters) { in Command() argument
44 Assert.notNull(parameters, "parameters"); in Command()
46 this.parameters = copy(parameters); in Command()
55 public Command(String name, List parameters) { in Command() argument
56 this(name, (String[]) parameters.toArray(new String[parameters.size()])); in Command()
70 return copy(parameters); in getParameters()
83 return parameters[index]; in getRequiredParameter()
93 return (parameters.length > index) ? parameters[index] : null; in getParameter()
124 String str = name + Arrays.asList(parameters); in hashCode()
[all …]
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/core/command/
DCommand.java34 private String[] parameters; field in Command
42 public Command(String name, String[] parameters) { in Command() argument
44 Assert.notNull(parameters, "parameters"); in Command()
46 this.parameters = copy(parameters); in Command()
55 public Command(String name, List parameters) { in Command() argument
56 this(name, (String[]) parameters.toArray(new String[parameters.size()])); in Command()
70 return copy(parameters); in getParameters()
83 return parameters[index]; in getRequiredParameter()
93 return (parameters.length > index) ? parameters[index] : null; in getParameter()
124 String str = name + Arrays.asList(parameters); in hashCode()
[all …]
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/core/command/
DCommand.java34 private String[] parameters; field in Command
42 public Command(String name, String[] parameters) { in Command() argument
44 Assert.notNull(parameters, "parameters"); in Command()
46 this.parameters = copy(parameters); in Command()
55 public Command(String name, List parameters) { in Command() argument
56 this(name, (String[]) parameters.toArray(new String[parameters.size()])); in Command()
70 return copy(parameters); in getParameters()
83 return parameters[index]; in getRequiredParameter()
93 return (parameters.length > index) ? parameters[index] : null; in getParameter()
124 String str = name + Arrays.asList(parameters); in hashCode()
[all …]

12345678910>>...113