/external/gemmlowp/meta/ |
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 | 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 | 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 …]
|
D | single_thread_gemm.h | 26 void Gemm(const Params& params); 31 static int EstimateScratchSize(const P& params, int kernel_m, int kernel_n, in EstimateScratchSize() argument 35 params.left_stream, kernel_m, kernel_k); in EstimateScratchSize() 36 const int rhs_chunks = ((params.n + kernel_n - 1) / kernel_n); in EstimateScratchSize() 40 params.right_stream, kernel_n, kernel_k); in EstimateScratchSize() 46 static void ExecuteDispatch3D(const P& params) { in ExecuteDispatch3D() argument 91 << k_leftovers << " -- " << params.m << "x" << params.n << "x" in ExecuteDispatch3D() 92 << params.k << std::endl; in ExecuteDispatch3D() 93 LeftStreamF::Debug(params.left_stream); in ExecuteDispatch3D() 94 LeftStreamL::Debug(params.left_stream); in ExecuteDispatch3D() [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 …]
|
D | cgpt_find.c | 21 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 …]
|
D | cmd_find.c | 68 CgptFindParams params; in cmd_find() local 69 memset(¶ms, 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, ¶ms.type_guid) && in cmd_find() [all …]
|
D | cmd_add.c | 40 CgptAddParams params; in cmd_add() local 41 memset(¶ms, 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, ¶ms.type_guid) && in cmd_add() [all …]
|
/external/mesa3d/src/intel/blorp/ |
D | blorp_clear.c | 45 struct blorp_params *params, in blorp_params_get_clear_kernel() argument 54 ¶ms->wm_prog_kernel, ¶ms->wm_prog_data)) in blorp_params_get_clear_kernel() 85 ¶ms->wm_prog_kernel, ¶ms->wm_prog_data); in blorp_params_get_clear_kernel() 104 struct blorp_params *params) in blorp_params_get_layer_offset_vs() argument 110 if (params->wm_prog_data) in blorp_params_get_layer_offset_vs() 111 blorp_key.num_inputs = params->wm_prog_data->num_varying_inputs; in blorp_params_get_layer_offset_vs() 114 ¶ms->vs_prog_kernel, ¶ms->vs_prog_data)) in blorp_params_get_layer_offset_vs() 174 ¶ms->vs_prog_kernel, ¶ms->vs_prog_data); in blorp_params_get_layer_offset_vs() 307 struct blorp_params params; in blorp_fast_clear() local 308 blorp_params_init(¶ms); in blorp_fast_clear() [all …]
|
D | blorp_genX_exec.h | 152 const struct blorp_params *params) in emit_urb_config() argument 165 params->wm_prog_data ? params->wm_prog_data->num_varying_inputs : 0; in emit_urb_config() 176 const struct blorp_params *params, in blorp_emit_vertex_data() argument 181 /* v0 */ (float)params->x1, (float)params->y1, params->z, in blorp_emit_vertex_data() 182 /* v1 */ (float)params->x0, (float)params->y1, params->z, in blorp_emit_vertex_data() 183 /* v2 */ (float)params->x0, (float)params->y0, params->z, in blorp_emit_vertex_data() 194 const struct blorp_params *params, in blorp_emit_input_varying_data() argument 200 DIV_ROUND_UP(sizeof(params->wm_inputs), vec4_size_in_bytes); in blorp_emit_input_varying_data() 202 params->wm_prog_data ? params->wm_prog_data->num_varying_inputs : 0; in blorp_emit_input_varying_data() 206 const uint32_t *const inputs_src = (const uint32_t *)¶ms->wm_inputs; in blorp_emit_input_varying_data() [all …]
|
/external/brotli/enc/ |
D | quality.h | 65 static BROTLI_INLINE size_t MaxZopfliLen(const BrotliEncoderParams* params) { in MaxZopfliLen() argument 66 return params->quality <= 10 ? in MaxZopfliLen() 73 const BrotliEncoderParams* params) { in MaxZopfliCandidates() argument 74 return params->quality <= 10 ? 1 : 5; in MaxZopfliCandidates() 77 static BROTLI_INLINE void SanitizeParams(BrotliEncoderParams* params) { in SanitizeParams() argument 78 params->quality = BROTLI_MIN(int, BROTLI_MAX_QUALITY, in SanitizeParams() 79 BROTLI_MAX(int, BROTLI_MIN_QUALITY, params->quality)); in SanitizeParams() 80 if (params->lgwin < BROTLI_MIN_WINDOW_BITS) { in SanitizeParams() 81 params->lgwin = BROTLI_MIN_WINDOW_BITS; in SanitizeParams() 82 } else if (params->lgwin > BROTLI_MAX_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 …]
|
D | es3fDepthStencilTests.cpp | 119 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 …]
|
/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 …]
|
D | es2fDepthStencilTests.cpp | 119 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 …]
|
/external/mesa3d/src/mesa/main/ |
D | texparam.c | 276 GLenum pname, const GLint *params, bool dsa) in set_tex_parameteri() argument 285 if (texObj->Sampler.MinFilter == params[0]) in set_tex_parameteri() 287 switch (params[0]) { in set_tex_parameteri() 291 texObj->Sampler.MinFilter = params[0]; in set_tex_parameteri() 300 texObj->Sampler.MinFilter = params[0]; in set_tex_parameteri() 313 if (texObj->Sampler.MagFilter == params[0]) in set_tex_parameteri() 315 switch (params[0]) { in set_tex_parameteri() 319 texObj->Sampler.MagFilter = params[0]; in set_tex_parameteri() 330 if (texObj->Sampler.WrapS == params[0]) in set_tex_parameteri() 332 if (validate_texture_wrap_mode(ctx, texObj->Target, params[0])) { in set_tex_parameteri() [all …]
|
/external/apache-http/src/org/apache/http/params/ |
D | HttpProtocolParams.java | 32 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/syslinux/com32/lua/test/ |
D | automenu.lua | 29 local function scan (params) 30 local sep = string.sub (params.dir, -1) == "/" and "" or "/" 31 if not params.items then params.items = {} end 32 for name in lfs.dir (params.dir) do 33 local path = params.dir .. sep .. name 37 local initrd = params.dir .. sep .. "initrd.img-" .. version 42 table.insert (params.items, { 45 … execute = function () sl.boot_linux (path, initrd_param .. params.append .. modifiers ()) end 95 local function draw (params) 96 print_or_call (params.title, "\n=== Boot menu ===") [all …]
|
/external/e2fsprogs/contrib/android/ |
D | block_list.c | 21 struct block_list *params = malloc(sizeof(*params)); in init() local 23 if (!params) in init() 25 params->mountpoint = mountpoint; in init() 26 params->f = fopen(file, "w+"); in init() 27 if (!params->f) { in init() 28 free(params); in init() 31 return params; in init() 38 struct block_list *params = data; in start_new_file() local 40 params->entry.head = params->entry.tail = NULL; in start_new_file() 41 params->entry.filename = LINUX_S_ISREG(inode->i_mode) ? path : NULL; in start_new_file() [all …]
|
/external/libmtp/src/ |
D | ptp.h | 101 } params; member 2375 typedef uint16_t (* PTPDataGetFunc) (PTPParams* params, void*priv, 2379 typedef uint16_t (* PTPDataPutFunc) (PTPParams* params, void*priv, 2392 typedef uint16_t (* PTPIOSendReq) (PTPParams* params, PTPContainer* req, int dataphase); 2393 typedef uint16_t (* PTPIOSendData) (PTPParams* params, PTPContainer* ptp, 2396 typedef uint16_t (* PTPIOGetResp) (PTPParams* params, PTPContainer* resp); 2397 typedef uint16_t (* PTPIOGetData) (PTPParams* params, PTPContainer* ptp, 2399 typedef uint16_t (* PTPIOCancelReq) (PTPParams* params, uint32_t transaction_id); 2553 typedef void (*PTPEventCbFn)(PTPParams *params, uint16_t code, PTPContainer *event, void *user_data… 2556 uint16_t ptp_usb_sendreq (PTPParams* params, PTPContainer* req, int dataphase); [all …]
|