Home
last modified time | relevance | path

Searched refs:output (Results 1 – 25 of 566) sorted by relevance

12345678910>>...23

/hardware/google/gfxstream/guest/mesa/src/util/tests/
Droundeven_test.cpp54 float output = _mesa_roundevenf(float_data[i].input); in TEST() local
55 EXPECT_TRUE(memcmp(&float_data[i].expected, &output, sizeof(float)) == 0) in TEST()
57 << "_mesa_roundevenf(" << float_data[i].input << " but got " << output << "\n"; in TEST()
62 float output = _mesa_roundevenf(-float_data[i].input); in TEST() local
64 EXPECT_TRUE(memcmp(&negated_expected, &output, sizeof(float)) == 0) in TEST()
66 << "_mesa_roundevenf(" << -float_data[i].input << " but got " << output << "\n"; in TEST()
90 double output = _mesa_roundeven(double_data[i].input); in TEST() local
91 EXPECT_TRUE(memcmp(&double_data[i].expected, &output, sizeof(double)) == 0) in TEST()
93 << "_mesa_roundeven(" << double_data[i].input << " but got " << output << "\n"; in TEST()
98 double output = _mesa_roundeven(-double_data[i].input); in TEST() local
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/
Dsyncgenerator.py155 output = []
157 self.writePipelineIfdef(stage, output)
158 output.append(' ** ename:{}'.format(stage))
159 self.writePipelineEndif(stage, output)
161 self.writeBlock(f'flagDefinitions/{name}{self.file_suffix}', output)
164 output = []
166 self.writeAccessIfdef(flag, output)
167 output.append(' ** ename:{}'.format(flag))
168 self.writeAccessEndif(flag, output)
170 self.writeBlock(f'flagDefinitions/{name}{self.file_suffix}', output)
[all …]
/hardware/google/gfxstream/scripts/print_gfx_logs/
Dcommand_printer_test.py42 cmd_printer, output = self.get_printer("01 02 03 04 05")
48 cmd_printer, output = self.get_printer("02 00 00 00")
52 self.assertEqual(output.getvalue(), "foobar: 2\n")
55 cmd_printer, output = self.get_printer("00 00 00 00 00 00 00 01 08")
59 self.assertEqual(output.getvalue(), "i: 8\n")
62 cmd_printer, output = self.get_printer("00 00 00 00 00 00 00 00")
66 self.assertEqual(output.getvalue(), "i: (null)\n")
69 cmd_printer, output = self.get_printer("00 00 00 00 00 00 00 01 02 00 03 00")
72 self.assertEqual(output.getvalue(), "i: [0x2, 0x3]\n")
75 cmd_printer, output = self.get_printer("00 00 00 3f")
[all …]
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_color_quantize.cpp109 uint8_t output[6], in quantize_rgb()
146 output[0] = static_cast<uint8_t>(ri0); in quantize_rgb()
147 output[1] = static_cast<uint8_t>(ri1); in quantize_rgb()
148 output[2] = static_cast<uint8_t>(gi0); in quantize_rgb()
149 output[3] = static_cast<uint8_t>(gi1); in quantize_rgb()
150 output[4] = static_cast<uint8_t>(bi0); in quantize_rgb()
151 output[5] = static_cast<uint8_t>(bi1); in quantize_rgb()
170 uint8_t output[8], in quantize_rgba()
178 output[6] = quant_color(quant_level, astc::flt2int_rtn(a0)); in quantize_rgba()
179 output[7] = quant_color(quant_level, astc::flt2int_rtn(a1)); in quantize_rgba()
[all …]
/hardware/nxp/keymint/transport/
DHalToHalTransport.cpp59 bool HalToHalTransport::sendData(const vector<uint8_t>& inData, vector<uint8_t>& output) { in sendData() argument
71 output = std::move(selectResponse); in sendData()
75 status = mAppletConnection.transmit(cApdu, output); in sendData()
76 if (output.size() < 2 || in sendData()
77 (output.size() >= 2 && (output.at(output.size() - 2) == LOGICAL_CH_NOT_SUPPORTED_SW1 && in sendData()
78 output.at(output.size() - 1) == LOGICAL_CH_NOT_SUPPORTED_SW2))) { in sendData()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/config/loadable_html/
Dextension.rb15 def process document, output
65 output.sub! /(?=<\/head>)/, loaded_script
66 output.sub! /(<div id="content")/, '\1' + " " + loadable_class + " "
67 output.sub! /(<div id="content".*?>)/, '\1' + hide_script
68 output.sub! /(?=<div id="content")/, loading_msg + "\n" + "<!--ChunkedSearchboxMarker-->\n"
70 output
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/config/katex_replace/
Dextension.rb14 def process document, output
38 output.sub! MathJaXScript, ''
39 output.sub! MathJaXCDN, ''
40 output.sub! /(?=<\/head>)/, katexScript
42 output
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/rmv/
Dvk_rmv_exporter.c1022 rmt_dump_timestamp(struct vk_rmv_timestamp_token *token, FILE *output) in rmt_dump_timestamp() argument
1029 fwrite(data, 12, 1, output); in rmt_dump_timestamp()
1033 rmt_dump_time_delta(uint64_t delta, FILE *output) in rmt_dump_time_delta() argument
1039 fwrite(&data, 8, 1, output); in rmt_dump_time_delta()
1043 rmt_dump_event_resource(struct vk_rmv_event_description *description, FILE *output) in rmt_dump_event_resource() argument
1046 fwrite(&description->flags, 1, 1, output); in rmt_dump_event_resource()
1051 FILE *output) in rmt_dump_border_color_palette_resource() argument
1054 fwrite(&description->num_entries, 1, 1, output); in rmt_dump_border_color_palette_resource()
1086 rmt_dump_heap_resource(struct vk_rmv_heap_description *description, FILE *output) in rmt_dump_heap_resource() argument
1093 fwrite(data, 10, 1, output); in rmt_dump_heap_resource()
[all …]
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/include/
DParcelableUtils.h36 ndk::ScopedAStatus vectorToStableLargeParcelable(std::vector<T1>&& values, T2* output) { in vectorToStableLargeParcelable() argument
37 output->payloads = std::move(values); in vectorToStableLargeParcelable()
39 parcelableToStableLargeParcelable(*output); in vectorToStableLargeParcelable()
48 output->payloads.clear(); in vectorToStableLargeParcelable()
49 output->sharedMemoryFd = std::move(*fd); in vectorToStableLargeParcelable()
51 output->sharedMemoryFd = ndk::ScopedFileDescriptor(); in vectorToStableLargeParcelable()
58 ndk::ScopedAStatus vectorToStableLargeParcelable(const std::vector<T1>& values, T2* output) { in vectorToStableLargeParcelable() argument
62 return vectorToStableLargeParcelable(std::move(valuesCopy), output); in vectorToStableLargeParcelable()
/hardware/google/gfxstream/guest/mesa/src/util/
Du_debug.c381 static char output[4096]; in debug_dump_flags() local
385 output[0] = '\0'; in debug_dump_flags()
390 strncat(output, "|", sizeof(output) - strlen(output) - 1); in debug_dump_flags()
393 strncat(output, names->name, sizeof(output) - strlen(output) - 1); in debug_dump_flags()
394 output[sizeof(output) - 1] = '\0'; in debug_dump_flags()
402 strncat(output, "|", sizeof(output) - strlen(output) - 1); in debug_dump_flags()
407 strncat(output, rest, sizeof(output) - strlen(output) - 1); in debug_dump_flags()
408 output[sizeof(output) - 1] = '\0'; in debug_dump_flags()
414 return output; in debug_dump_flags()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/config/
Dgenanchorlinks.rb12 def process document, output
15 output = output.gsub(/<a id="(VUID\-[\w\-:]+)">/, '<a id="\1" href="#\1">')
17 output
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/htmldiff/
Dhtmldiff.pl469 $output = "";
474 $output .= $_;
479 $output .= markit($tmp1, $tmp2);
483 print FILE $output;
486 print $output;
535 $output = "";
540 $output .= $_;
545 $output .= markit($tmp1, $tmp2);
553 if ( $output !~ /<base/i ) {
554 $output =~ s/<head>/<head>\n<base href="$base">/i ||
[all …]
/hardware/interfaces/audio/aidl/vts/
DVtsHalPresetReverbTargetTest.cpp160 float computeReverbOutputEnergy(std::vector<float> output) { in computeReverbOutputEnergy() argument
163 for (size_t i = 0; i < output.size(); i++) { in computeReverbOutputEnergy()
164 output[i] -= mInput[i]; in computeReverbOutputEnergy()
167 return (audio_utils_compute_energy_mono(output.data(), AUDIO_FORMAT_PCM_FLOAT, in computeReverbOutputEnergy()
168 output.size())); in computeReverbOutputEnergy()
171 void setPresetAndProcess(const PresetReverb::Presets& preset, std::vector<float>& output) { in setPresetAndProcess() argument
174 processAndWriteToOutput(mInput, output, mEffect, &mOpenEffectReturn)); in setPresetAndProcess()
181 std::vector<float> output(kBufferSize); in validateIncreasingEnergy() local
182 setPresetAndProcess(preset, output); in validateIncreasingEnergy()
183 float outputEnergy = computeReverbOutputEnergy(output); in validateIncreasingEnergy()
[all …]
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DValidateRequest.cpp67 for (size_t output = 0; output < request.outputs.size(); ++output) { in removeOutputTest() local
68 const std::string message = "removeOutput: removed Output " + std::to_string(output); in removeOutputTest()
70 [output](Request* request) { hidl_vec_removeAt(&request->outputs, output); }); in removeOutputTest()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/katex/contrib/
Dmhchem.mjs161 var output = []; variable
198 // Add output
202 mhchemParser.concatArray(output, o);
222 return output;
392 // \\x - but output no space before
697 'color0-output': function color0Output(buffer, m) {
739 …letter': { 'state': { action_: 'output' } } } to { 'state' => [ { pattern: 'letter', task: { act…
838 action_: 'output'
850 action_: 'oxidation-output'
865 action_: ['sb=false', 'output', 'operator'],
[all …]
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.cpp404 std::stringstream output; in dump() local
406 output << "-- HWC2On1Adapter --\n"; in dump()
408 output << "Adapting to a HWC 1." << static_cast<int>(mHwc1MinorVersion) << in dump()
418 output << "Capabilities: None\n"; in dump()
420 output << "Capabilities:\n"; in dump()
422 output << " " << to_string(capability) << '\n'; in dump()
426 output << "Displays:\n"; in dump()
429 output << display->dump(); in dump()
431 output << '\n'; in dump()
438 output << "HWC1 dump:\n"; in dump()
[all …]
/hardware/interfaces/keymaster/4.1/vts/functional/
DKeymaster4_1HidlTest.cpp38 string output; in ProcessMessage() local
42 result = Update(op_handle_, update_params, message, &update_out_params, &output, &consumed); in ProcessMessage()
45 return {convert(result), output, out_params}; in ProcessMessage()
52 &output); in ProcessMessage()
56 return {convert(result), output, out_params}; in ProcessMessage()
/hardware/google/pixel/thermal/virtualtemp_estimator/
Dvirtualtemp_estimator.h98 VtEstimatorStatus Estimate(const std::vector<float> &thermistors, std::vector<float> *output);
105 VtEstimatorStatus PredictAfterTimeMs(const size_t time_ms, float *output);
107 VtEstimatorStatus GetAllPredictions(std::vector<float> *output);
123 std::vector<float> *output);
125 std::vector<float> *output);
127 VtEstimatorStatus TFlitePredictAfterTimeMs(const size_t time_ms, float *output);
128 VtEstimatorStatus TFliteGetAllPredictions(std::vector<float> *output);
/hardware/interfaces/health/storage/impl_common/
Dimpl_common.cpp121 std::stringstream output; in DebugDump() local
125 output << "Cannot find Dev GC path"; in DebugDump()
130 output << path << ":" << require_gc << std::endl; in DebugDump()
134 output << "stop success" << std::endl; in DebugDump()
139 output << "Cannot find Dev WriteBooster path"; in DebugDump()
144 output << wb_path << ":" << wb_available << std::endl; in DebugDump()
147 if (!WriteStringToFd(output.str(), fd)) { in DebugDump()
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/
DHWC2On1Adapter.cpp359 std::stringstream output; in dump() local
361 output << "-- HWC2On1Adapter --\n"; in dump()
363 output << "Adapting to a HWC 1." << static_cast<int>(mHwc1MinorVersion) << in dump()
373 output << "Capabilities: None\n"; in dump()
375 output << "Capabilities:\n"; in dump()
377 output << " " << to_string(capability) << '\n'; in dump()
381 output << "Displays:\n"; in dump()
384 output << display->dump(); in dump()
386 output << '\n'; in dump()
393 output << "HWC1 dump:\n"; in dump()
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/config/chunkindex/
Daddscripts.sh21 output=$2
27 cp $input $output
30 $output
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_NV_mesh_shader/
Dmesh.adoc21 Each mesh shader workgroup emits zero or more output primitives along with
22 the group of vertices and their associated data required for each output
33 [[mesh-task-output]]
57 output variables that are decorated with code:PerTaskNV.
70 mesh workgroups depending on each task's output.
90 [[mesh-output]]
93 A mesh shader generates primitives in one of three output modes: points,
107 Each mesh shader must: include exactly one output primitive mode.
110 For shaders using the code:MeshNV {ExecutionModel} the maximum output vertex
117 For shaders using the code:MeshEXT {ExecutionModel} the maximum output
[all …]
/hardware/google/pixel/pwrstats_util/
DPowerStatsCollector.cpp74 std::ostream* output) const { in dump()
75 if (!output) { in dump()
87 provider->second->dump(stat, output); in dump()
119 void IPowerStatProvider::dump(const PowerStatistic& stat, std::ostream* output) const { in dump()
120 if (!output) { in dump()
130 dumpImpl(stat, output); in dump()
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DValidateRequest.cpp83 for (size_t output = 0; output < request.outputs.size(); ++output) { in removeOutputTest() local
84 const std::string message = "removeOutput: removed Output " + std::to_string(output); in removeOutputTest()
86 [output](Request* request) { hidl_vec_removeAt(&request->outputs, output); }); in removeOutputTest()
/hardware/interfaces/audio/aidl/default/
DEffectContext.cpp36 size_t outBufferSizeInFloat = common.output.frameCount * mOutputFrameSize / sizeof(float); in EffectContext()
71 mOutputMQ = std::make_shared<DataMQ>(mCommon.output.frameCount * mOutputFrameSize / in dupeFmqWithReopen()
161 auto& output = common.output; in setCommon() local
164 output.base.format.pcm != aidl::android::media::audio::common::PcmType::FLOAT_32_BIT) { in setCommon()
167 << ::android::internal::ToString(output.base.format); in setCommon()
176 mOutputChannelCount = getChannelCount(output.base.channelMask); in setCommon()
201 common.output.base.format, common.output.base.channelMask); in updateIOFrameSize()
219 mCommon.output.frameCount != common.output.frameCount) { in updateIOFrameSize()
226 common.output.frameCount * mOutputFrameSize / sizeof(float))); in updateIOFrameSize()

12345678910>>...23