/external/tensorflow/tensorflow/lite/core/api/ |
D | flatbuffer_conversions.cc | 154 TfLiteConvParams* params = allocator->AllocatePOD<TfLiteConvParams>(); in ParseOpData() local 156 params->padding = parse_padding(conv_params->padding()); in ParseOpData() 157 params->stride_width = conv_params->stride_w(); in ParseOpData() 158 params->stride_height = conv_params->stride_h(); in ParseOpData() 159 params->activation = in ParseOpData() 162 params->dilation_width_factor = conv_params->dilation_w_factor(); in ParseOpData() 163 params->dilation_height_factor = conv_params->dilation_h_factor(); in ParseOpData() 165 *builtin_data = reinterpret_cast<void*>(params); in ParseOpData() 169 TfLiteCastParams* params = allocator->AllocatePOD<TfLiteCastParams>(); in ParseOpData() local 173 ¶ms->in_data_type, error_reporter); in ParseOpData() [all …]
|
/external/gemmlowp/meta/ |
D | transform_kernels_arm_32.h | 28 const int32_t* input, const Requantize& params, uint8_t* output) { in Transform() argument 37 int params_count_copy = params.count; in Transform() 92 : [input_range_min] "r"(params.input_range_min), in Transform() 93 [output_range_min] "r"(params.output_range_min), in Transform() 94 [input_range_offset] "r"(params.input_range_offset), in Transform() 95 [one_over_output_range_scale] "r"(params.one_over_output_range_scale), in Transform() 96 [input_range_scale] "r"(params.input_range_scale) in Transform() 103 const int32_t* input, const Requantize& params, uint8_t* output) { in Transform() argument 112 int params_count_copy = params.count; in Transform() 189 : [input_range_min] "r"(params.input_range_min), in Transform() [all …]
|
D | transform_kernels_arm_64.h | 28 const int32_t* input, const Requantize& params, uint8_t* output) { in Transform() argument 37 int params_count_copy = params.count; in Transform() 91 : [input_range_min] "r"(params.input_range_min), in Transform() 92 [output_range_min] "r"(params.output_range_min), in Transform() 93 [input_range_offset] "r"(params.input_range_offset), in Transform() 94 [one_over_output_range_scale] "r"(params.one_over_output_range_scale), in Transform() 95 [input_range_scale] "r"(params.input_range_scale) in Transform() 101 const int32_t* input, const Requantize& params, uint8_t* output) { in Transform() argument 110 int params_count_copy = params.count; in Transform() 186 : [input_range_min] "r"(params.input_range_min), in Transform() [all …]
|
D | streams_arm_32.h | 28 const uint8_t* in, const RowMajorWithSum& params, uint8_t* out) { in Pack() argument 37 int params_count_copy = params.count; in Pack() 61 : [stride] "r"(params.stride), in Pack() 62 [multiplicative_sum_offset] "r"(params.multiplicative_sum_offset), in Pack() 63 [additive_sum_offset] "r"(params.additive_sum_offset) in Pack() 69 const uint8_t* in, const RowMajorWithSum& params, uint8_t* out) { in Pack() argument 78 int params_count_copy = params.count; in Pack() 114 : [stride] "r"(params.stride), in Pack() 115 [multiplicative_sum_offset] "r"(params.multiplicative_sum_offset), in Pack() 116 [additive_sum_offset] "r"(params.additive_sum_offset) in Pack() [all …]
|
D | streams_arm_64.h | 28 const uint8_t* in, const RowMajorWithSum& params, uint8_t* out) { in Pack() argument 37 int params_count_copy = params.count; in Pack() 61 : [stride] "r"(params.stride), in Pack() 62 [multiplicative_sum_offset] "r"(params.multiplicative_sum_offset), in Pack() 63 [additive_sum_offset] "r"(params.additive_sum_offset) in Pack() 69 const uint8_t* in, const RowMajorWithSum& params, uint8_t* out) { in Pack() argument 78 int params_count_copy = params.count; in Pack() 114 : [stride] "r"(params.stride), in Pack() 115 [multiplicative_sum_offset] "r"(params.multiplicative_sum_offset), in Pack() 116 [additive_sum_offset] "r"(params.additive_sum_offset) in Pack() [all …]
|
D | legacy_single_thread_gemm.h | 43 Params params; in gemm_q8_strided() local 45 params.m = m; in gemm_q8_strided() 46 params.n = n; in gemm_q8_strided() 47 params.k = k; in gemm_q8_strided() 49 params.lhs = lhs; in gemm_q8_strided() 50 params.rhs = rhs; in gemm_q8_strided() 51 params.result = result; in gemm_q8_strided() 52 params.scratch = scratch; in gemm_q8_strided() 54 params.left_stream.count = k; in gemm_q8_strided() 55 params.left_stream.stride = k; in gemm_q8_strided() [all …]
|
D | quantized_mul_kernels_arm_64.h | 31 RowMajor>& params, in Multiply() argument 91 : [count] "r"(params.kernel.count), in Multiply() 92 [multiplicative_offset] "r"(params.kernel.multiplicative_offset), in Multiply() 93 [shift] "r"(params.kernel.shift), in Multiply() 94 [stride] "r"(params.output_stream.stride), in Multiply() 95 [rounding_offset] "r"(params.kernel.rounding_offset) in Multiply() 104 RowMajor>& params, in Multiply() argument 167 : [count] "r"(params.kernel.count), in Multiply() 168 [multiplicative_offset] "r"(params.kernel.multiplicative_offset), in Multiply() 169 [shift] "r"(params.kernel.shift), in Multiply() [all …]
|
D | quantized_mul_kernels_arm_32.h | 31 RowMajor>& params, in Multiply() argument 91 : [count] "r"(params.kernel.count), in Multiply() 92 [multiplicative_offset] "r"(params.kernel.multiplicative_offset), in Multiply() 93 [shift] "r"(params.kernel.shift), in Multiply() 94 [stride] "r"(params.output_stream.stride), in Multiply() 95 [rounding_offset] "r"(params.kernel.rounding_offset) in Multiply() 105 RowMajor>& params, in Multiply() argument 169 : [count] "r"(params.kernel.count), in Multiply() 170 [multiplicative_offset] "r"(params.kernel.multiplicative_offset), in Multiply() 171 [shift] "r"(params.kernel.shift), in Multiply() [all …]
|
D | streams.h | 50 static const InType* Offset(const RowMajor& params, const InType* source, in Offset() argument 54 offset_stride * params.stride + offset_advance * sizeof(InType)); in Offset() 57 static InType* Offset(const RowMajor& params, InType* source, in Offset() argument 60 offset_stride * params.stride + in Offset() 64 static int Scratch(const RowMajor& params, int lanes_count, int pack_size) { in Scratch() argument 65 return AlignTo<64>(lanes_count * AlignTo(pack_size, params.stride)); in Scratch() 72 static const InType* Offset(const RowMajorWithSum& params, in Offset() argument 77 offset_stride * params.stride + offset_advance * sizeof(InType)); in Offset() 80 static InType* Offset(const RowMajorWithSum& params, InType* source, in Offset() argument 83 offset_stride * params.stride + in Offset() [all …]
|
/external/u-boot/tools/ |
D | mkimage.c | 18 static struct image_tool_params params = { variable 77 params.cmdname); in usage() 89 params.cmdname); in usage() 93 params.cmdname); in usage() 114 params.cmdname); in usage() 129 if (params.content_tail) in add_content() 130 params.content_tail->next = cont; in add_content() 132 params.content_head = cont; in add_content() 133 params.content_tail = cont; in add_content() 149 params.addr = strtoull(optarg, &ptr, 16); in process_args() [all …]
|
D | dumpimage.c | 15 static struct image_tool_params params = { variable 37 sbuf->st_size, ¶ms); in dumpimage_extract_subimage() 45 retval = tparams->extract_subimage(ptr, ¶ms); in dumpimage_extract_subimage() 49 params.cmdname, tparams->name); in dumpimage_extract_subimage() 66 params.cmdname = *argv; in main() 71 params.lflag = 1; in main() 74 params.imagefile = optarg; in main() 75 params.iflag = 1; in main() 78 params.outfile = optarg; in main() 81 params.type = genimg_get_type_id(optarg); in main() [all …]
|
/external/u-boot/arch/xtensa/lib/ |
D | bootm.c | 22 static struct bp_tag *setup_first_tag(struct bp_tag *params) in setup_first_tag() argument 24 params->id = BP_TAG_FIRST; in setup_first_tag() 25 params->size = sizeof(long); in setup_first_tag() 26 *(unsigned long *)¶ms->data = BP_VERSION; in setup_first_tag() 28 return bp_tag_next(params); in setup_first_tag() 31 static struct bp_tag *setup_last_tag(struct bp_tag *params) in setup_last_tag() argument 33 params->id = BP_TAG_LAST; in setup_last_tag() 34 params->size = 0; in setup_last_tag() 36 return bp_tag_next(params); in setup_last_tag() 39 static struct bp_tag *setup_memory_tag(struct bp_tag *params) in setup_memory_tag() argument [all …]
|
/external/vboot_reference/cgpt/ |
D | cgpt_add.c | 15 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(¶ms->type_guid, tmp, sizeof(tmp)); in DumpCgptAddParams() [all …]
|
/external/mesa3d/src/intel/blorp/ |
D | blorp_clear.c | 46 struct blorp_params *params, in blorp_params_get_clear_kernel() argument 55 ¶ms->wm_prog_kernel, ¶ms->wm_prog_data)) in blorp_params_get_clear_kernel() 86 ¶ms->wm_prog_kernel, ¶ms->wm_prog_data); in blorp_params_get_clear_kernel() 106 struct blorp_params *params) in blorp_params_get_layer_offset_vs() argument 112 if (params->wm_prog_data) in blorp_params_get_layer_offset_vs() 113 blorp_key.num_inputs = params->wm_prog_data->num_varying_inputs; in blorp_params_get_layer_offset_vs() 116 ¶ms->vs_prog_kernel, ¶ms->vs_prog_data)) in blorp_params_get_layer_offset_vs() 176 ¶ms->vs_prog_kernel, ¶ms->vs_prog_data); in blorp_params_get_layer_offset_vs() 315 struct blorp_params params; in blorp_fast_clear() local 316 blorp_params_init(¶ms); in blorp_fast_clear() [all …]
|
/external/brotli/c/enc/ |
D | quality.h | 47 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 …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fRandomShaderTests.cpp | 41 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 …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fRandomShaderTests.cpp | 40 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 …]
|
/external/tensorflow/tensorflow/contrib/tensor_forest/hybrid/python/layers/ |
D | decisions_to_data.py | 37 def _define_vars(self, params, **kwargs): argument 42 shape=[params.num_nodes, params.num_features], 44 mean=params.weight_init_mean, stddev=params.weight_init_std)) 48 shape=[params.num_nodes], 50 mean=params.weight_init_mean, stddev=params.weight_init_std)) 52 def __init__(self, params, layer_num, device_assigner, argument 55 params, layer_num, device_assigner, *args, **kwargs) 65 max_nodes=self.params.num_nodes) 69 [0, self.params.num_nodes - self.params.num_leaves - 1], 70 [-1, self.params.num_leaves]) [all …]
|
/external/epid-sdk/epid/member/tpm2/unittests/ |
D | commit-simulator-test.cc | 42 Epid20Params params; in TEST_F() local 43 EcPointObj k(¶ms.G1), l(¶ms.G1), e(¶ms.G1); in TEST_F() 44 EcPointObj p1(¶ms.G1, this->kP1Str); in TEST_F() 45 FfElementObj y2(¶ms.fq, this->kY2Sha256Str); in TEST_F() 58 EcPointObj p1_exp_r(¶ms.G1), p2_exp_r(¶ms.G1); in TEST_F() 60 EcPointObj p2(¶ms.G1, this->kP2Sha256Str); in TEST_F() 62 FfElementObj r(¶ms.fp); in TEST_F() 66 FfGetRandom(params.fp, &zero, &Prng::Generate, &the_same_prng, r)); in TEST_F() 67 THROW_ON_EPIDERR(WriteFfElement(params.fp, r, &r_str, sizeof(r_str))); in TEST_F() 68 THROW_ON_EPIDERR(EcExp(params.G1, p1, (BigNumStr const*)&r_str, p1_exp_r)); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | pooling_ops_common.h | 111 PoolParameters params{context, ksize_, stride_, in Compute() 119 0, params.forward_output_shape(), &output)); in Compute() 121 if (params.depth_window > 1) { in Compute() 124 OP_REQUIRES(context, params.depth % params.depth_window == 0, in Compute() 129 context, params.depth_window == params.depth_stride, in Compute() 133 DepthwiseMaxPool(context, output, tensor_in, params); in Compute() 135 SpatialMaxPool(context, output, tensor_in, params, padding_); in Compute() 147 const Tensor& tensor_in, const PoolParameters& params) { in DepthwiseMaxPool() argument 149 in_by_pool(tensor_in.flat<T>().data(), params.depth_window, in DepthwiseMaxPool() 150 tensor_in.NumElements() / params.depth_window); in DepthwiseMaxPool() [all …]
|
D | meta_support.cc | 99 void MultiThreadGemm(Context* context, const Params& params) { in MultiThreadGemm() argument 100 if (params.m <= 4) { in MultiThreadGemm() 103 8, 8>(context, params); in MultiThreadGemm() 105 if (params.m >= params.n) { in MultiThreadGemm() 108 2, 4, 8>(context, params); in MultiThreadGemm() 112 2, 4, 8>(context, params); in MultiThreadGemm() 127 Params params; in QuantizedGemmImpl() local 129 params.m = m; in QuantizedGemmImpl() 130 params.n = n; in QuantizedGemmImpl() 131 params.k = k; in QuantizedGemmImpl() [all …]
|
/external/epid-sdk/epid/common/math/unittests/ |
D | tatepairing-test.cc | 44 virtual void SetUp() { params = new Epid11ParamsObj(); } in SetUp() 45 virtual void TearDown() { delete params; } in TearDown() 49 Epid11ParamsObj* params; member in __anonb6fc3a570111::Epid11PairingTest 84 THROW_ON_EPIDERR(NewEpid11PairingState(this->params->G1, this->params->G2, in TEST_F() 85 this->params->GT, &ps)); in TEST_F() 100 NewEpid11PairingState(this->params->G1, this->params->G2, in TEST_F() 101 this->params->GT, &ps)); in TEST_F() 108 EXPECT_EQ(kEpidBadArgErr, NewEpid11PairingState(nullptr, this->params->G2, in TEST_F() 109 this->params->GT, &ps)); in TEST_F() 111 EXPECT_EQ(kEpidBadArgErr, NewEpid11PairingState(this->params->G1, nullptr, in TEST_F() [all …]
|
D | pairing-test.cc | 54 virtual void SetUp() { params = new Epid20Params(); } in SetUp() 55 virtual void TearDown() { delete params; } in TearDown() 57 Epid20Params* params; member in __anon7b603d290111::PairingTest 94 NewPairingState(this->params->G1, this->params->G2, in TEST_F() 95 this->params->GT, &this->t_str, true, &ps)); in TEST_F() 111 NewPairingState(this->params->G1, this->params->G2, in TEST_F() 112 this->params->GT, &this->t_str, true, &ps)); in TEST_F() 120 NewPairingState(nullptr, this->params->G2, this->params->GT, in TEST_F() 124 NewPairingState(this->params->G1, nullptr, this->params->GT, in TEST_F() 127 EXPECT_EQ(kEpidBadArgErr, NewPairingState(this->params->G1, this->params->G2, in TEST_F() [all …]
|
/external/mesa3d/src/mesa/main/ |
D | texparam.c | 270 GLenum pname, const GLint *params, bool dsa) in set_tex_parameteri() argument 292 if (texObj->Sampler.MinFilter == params[0]) in set_tex_parameteri() 294 switch (params[0]) { in set_tex_parameteri() 298 texObj->Sampler.MinFilter = params[0]; in set_tex_parameteri() 307 texObj->Sampler.MinFilter = params[0]; in set_tex_parameteri() 320 if (texObj->Sampler.MagFilter == params[0]) in set_tex_parameteri() 322 switch (params[0]) { in set_tex_parameteri() 326 texObj->Sampler.MagFilter = params[0]; in set_tex_parameteri() 337 if (texObj->Sampler.WrapS == params[0]) in set_tex_parameteri() 339 if (validate_texture_wrap_mode(ctx, texObj->Target, params[0])) { in set_tex_parameteri() [all …]
|
/external/fsverity-utils/ |
D | cmd_setup.c | 113 static int build_merkle_tree(const struct fsveritysetup_params *params, in build_merkle_tree() argument 129 compute_tree_layout(data_size, tree_offset, params->blockbits, in build_merkle_tree() 130 params->hashes_per_block, hash_lvl_region_idx, in build_merkle_tree() 134 data_to_hash = xmalloc(params->blocksize); in build_merkle_tree() 135 pending_hashes = xmalloc(params->blocksize); in build_merkle_tree() 137 nr_hashes_at_this_lvl = data_size >> params->blockbits; in build_merkle_tree() 152 hash_update(hash, params->salt, params->saltlen); in build_merkle_tree() 163 if (!full_pread(file, data_to_hash, params->blocksize, in build_merkle_tree() 164 blk_idx << params->blockbits)) in build_merkle_tree() 166 hash_update(hash, data_to_hash, params->blocksize); in build_merkle_tree() [all …]
|