Home
last modified time | relevance | path

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

12345678910

/device/generic/car/emulator/usbpt/bluetooth/usb_modeswitch/
Dusb_modeswitch.c159 FILE *output; variable
260 SHOW_PROGRESS(output,"Warning: TargetProductList overrides TargetProduct!\n"); in readConfigFile()
270 fprintf (output,"DefaultVendor= 0x%04x\n", DefaultVendor); in printConfig()
272 fprintf (output,"DefaultProduct= 0x%04x\n", DefaultProduct); in printConfig()
274 fprintf (output,"TargetVendor= 0x%04x\n", TargetVendor); in printConfig()
276 fprintf (output,"TargetProduct= 0x%04x\n", TargetProduct); in printConfig()
278 fprintf (output,"TargetClass= 0x%02x\n", TargetClass); in printConfig()
280 fprintf (output,"TargetProductList=\"%s\"\n", TargetProductList); in printConfig()
282 fprintf (output,"\nStandardEject=1\n"); in printConfig()
284 fprintf (output,"\nDetachStorageOnly=1\n"); in printConfig()
[all …]
/device/generic/vulkan-cereal/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 …]
/device/google/cuttlefish/host/commands/cvd/unittests/selector/
Dcvd_flags_test.cpp36 auto output = std::move(*output_result); in TEST_F() local
38 ASSERT_FALSE(Contains(output, "help")); in TEST_F()
39 ASSERT_TRUE(Contains(output, "name")); in TEST_F()
40 ASSERT_TRUE(Contains(output, "enable_vnc")); in TEST_F()
41 ASSERT_TRUE(Contains(output, "id")); in TEST_F()
42 ASSERT_FALSE(Contains(output, "not-given")); in TEST_F()
43 ASSERT_FALSE(Contains(output, "not-consumed")); in TEST_F()
50 auto output = std::move(*output_result); in TEST_F() local
52 ASSERT_TRUE(Contains(output, "help")); in TEST_F()
53 ASSERT_TRUE(Contains(output, "name")); in TEST_F()
[all …]
/device/generic/vulkan-cereal/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 …]
/device/google/cuttlefish/host/commands/cvd/selector/
Darguments_separator.cpp78 auto output = CF_EXPECT(ParseInternal()); in Parse() local
79 prog_path_ = std::move(output.prog_path); in Parse()
80 cvd_args_ = std::move(output.cvd_args); in Parse()
81 sub_cmd_ = std::move(output.sub_cmd); in Parse()
82 sub_cmd_args_ = std::move(output.sub_cmd_args); in Parse()
101 Output output; in ParseInternal() local
109 output.prog_path = std::move(tokens_queue.front().Token()); in ParseInternal()
129 output.cvd_args.emplace_back(current_token); in ParseInternal()
131 output.cvd_args.emplace_back(next->Token()); in ParseInternal()
138 output.cvd_args.emplace_back(current_token); in ParseInternal()
[all …]
Dinstance_database_utils.h86 Set output; in Collect() local
91 output.insert(convert(t)); in Collect()
93 return output; in Collect()
140 Set<ConstRef<Element>> output; in CollectAllElements() local
143 output.insert(subset.cbegin(), subset.cend()); in CollectAllElements()
145 return {output}; in CollectAllElements()
/device/generic/goldfish-opengl/system/codecs/c2/decoders/vpxdec/
DC2GoldfishVpxDec.cpp90 .withDefault(new C2StreamPictureSizeInfo::output(0u, 320, 240)) in IntfImpl()
132 mHdr10PlusInfoOutput = C2StreamHdr10PlusInfo::output::AllocShared(0); in IntfImpl()
144 mHdrStaticInfo = std::make_shared<C2StreamHdrStaticInfo::output>(); in IntfImpl()
178 .withDefault(new C2StreamMaxPictureSizeTuning::output( in IntfImpl()
199 std::shared_ptr<C2StreamColorInfo::output> defaultColorInfo = in IntfImpl()
200 C2StreamColorInfo::output::AllocShared(1u, 0u, 8u /* bitDepth */, in IntfImpl()
204 defaultColorInfo = C2StreamColorInfo::output::AllocShared( in IntfImpl()
215 .withDefault(new C2StreamColorAspectsTuning::output( in IntfImpl()
236 .withConstValue(new C2StreamPixelFormatInfo::output( in IntfImpl()
242 const C2P<C2StreamPictureSizeInfo::output> &oldMe, in SizeSetter()
[all …]
/device/google/cuttlefish/guest/hals/ril/reference-ril/
Dbase64util.cpp31 std::vector<uint8_t> output; in base64_decode() local
33 bool success = cuttlefish::DecodeBase64(input, &output); in base64_decode()
37 memcpy(bindata, reinterpret_cast<unsigned char *>(output.data()), in base64_decode()
38 output.size()); in base64_decode()
39 return output.size(); in base64_decode()
48 std::string output; in base64_encode() local
50 bindata, static_cast<size_t>(binlength), &output); in base64_encode()
56 memcpy(base64output, output.data(), output.size()); in base64_encode()
/device/amlogic/yukawa/bootloader/scripts/
Dgenerate-bins-new.sh78 ${FIPDIR}/aml_encrypt --bl3enc --input ${TMP}/bl30_new.bin --output ${TMP}/bl30_new.bin.enc
79 ${FIPDIR}/aml_encrypt --bl3enc --input ${FIPDIR}/bl31.img --output ${TMP}/bl31.img.enc
80 ${FIPDIR}/aml_encrypt --bl3enc --input ${UBOOTBIN} --output ${TMP}/bl33.bin.enc
81 ${FIPDIR}/aml_encrypt --bl2sig --input ${TMP}/bl2_new.bin --output ${TMP}/bl2.n.bin.sig
82 ${FIPDIR}/aml_encrypt --bootmk --output ${TMP}/u-boot.bin \
93 …${FIPDIR}/aml_encrypt --bl3sig --input ${TMP}/bl30_new.bin --output ${TMP}/bl30_new.bin.enc --leve…
94 …${FIPDIR}/aml_encrypt --bl3sig --input ${FIPDIR}/bl31.img --output ${TMP}/bl31.img.enc --level v3 …
95 …${FIPDIR}/aml_encrypt --bl3sig --input ${UBOOTBIN} --output ${TMP}/bl33.bin.enc --level v3 --type…
96 ${FIPDIR}/aml_encrypt --bl2sig --input ${TMP}/bl2_new.bin --output ${TMP}/bl2.n.bin.sig
97 ${FIPDIR}/aml_encrypt --bootmk --output ${TMP}/u-boot.bin \
[all …]
/device/generic/goldfish-opengl/system/codecs/c2/decoders/hevcdec/
DC2GoldfishHevcDec.cpp80 new C2PortActualDelayTuning::output(kDefaultOutputDelay)) in IntfImpl()
98 .withDefault(new C2StreamPictureSizeInfo::output(0u, 320, 240)) in IntfImpl()
107 .withDefault(new C2StreamMaxPictureSizeTuning::output( in IntfImpl()
150 std::shared_ptr<C2StreamColorInfo::output> defaultColorInfo = in IntfImpl()
151 C2StreamColorInfo::output::AllocShared(1u, 0u, 8u /* bitDepth */, in IntfImpl()
155 defaultColorInfo = C2StreamColorInfo::output::AllocShared( in IntfImpl()
166 .withDefault(new C2StreamColorAspectsTuning::output( in IntfImpl()
207 .withDefault(new C2StreamColorAspectsInfo::output( in IntfImpl()
229 .withConstValue(new C2StreamPixelFormatInfo::output( in IntfImpl()
234 const C2P<C2StreamPictureSizeInfo::output> &oldMe, in SizeSetter()
[all …]
/device/google/cuttlefish/host/commands/cvd/
Dflag.cpp72 std::optional<CvdFlagProxy::ValueVariant> output; in FilterFlag() local
90 output = CF_EXPECT(std::visit(filter_flag, flag_)); in FilterFlag()
91 return output; in FilterFlag()
96 std::unordered_map<std::string, FlagCollection::FlagValuePair> output; in FilterFlags() local
102 output.emplace(name, in FilterFlags()
105 return output; in FilterFlags()
110 auto output = CF_EXPECT(FilterFlags(args)); in CalculateFlags() local
112 if (Contains(output, name)) { in CalculateFlags()
121 output.emplace( in CalculateFlags()
127 output.emplace( in CalculateFlags()
[all …]
Dinstance_manager.cpp241 StatusCommandOutput output; in IssueStatusCommand() local
245 Json::Reader().parse("{}", output.stdout_json); in IssueStatusCommand()
246 return output; in IssueStatusCommand()
248 output.stdout_json = CF_EXPECT(ParseJson(command_result->stdout_buf)); in IssueStatusCommand()
249 return output; in IssueStatusCommand()
251 StatusCommandOutput output; in IssueStatusCommand() local
267 output.stdout_json[index] = in IssueStatusCommand()
270 return output; in IssueStatusCommand()
430 std::vector<LocalInstanceGroup> output; in FindGroups() local
432 output.push_back(group_ref.Get()); in FindGroups()
[all …]
Dfrontline_parser.cpp61 std::unordered_set<std::string> output; in BoolFlagNames() local
64 output.insert(CF_EXPECT(flag.Name())); in BoolFlagNames()
67 return output; in BoolFlagNames()
72 std::unordered_set<std::string> output; in ValueFlagNames() local
76 output.insert(CF_EXPECT(flag.Name())); in ValueFlagNames()
79 return output; in ValueFlagNames()
Dmain.cc183 ClientCommandCheckResult output; in HandleClientCommands() local
202 output.new_all_args = in HandleClientCommands()
205 output.was_client_command_ = (!is_help && client_parser->SubCmd()); in HandleClientCommands()
206 if (!output.was_client_command_) { in HandleClientCommands()
208 output.new_all_args = cvd_common::Args{"cvd", "help"}; in HandleClientCommands()
209 return output; in HandleClientCommands()
218 return output; in HandleClientCommands()
222 return output; in HandleClientCommands()
/device/generic/goldfish-opengl/system/codecs/c2/decoders/avcdec/
DC2GoldfishAvcDec.cpp116 new C2PortActualDelayTuning::output(kDefaultOutputDelay)) in IntfImpl()
134 .withDefault(new C2StreamPictureSizeInfo::output(0u, 320, 240)) in IntfImpl()
143 .withDefault(new C2StreamMaxPictureSizeTuning::output( in IntfImpl()
191 std::shared_ptr<C2StreamColorInfo::output> defaultColorInfo = in IntfImpl()
192 C2StreamColorInfo::output::AllocShared(1u, 0u, 8u /* bitDepth */, in IntfImpl()
196 defaultColorInfo = C2StreamColorInfo::output::AllocShared( in IntfImpl()
207 .withDefault(new C2StreamColorAspectsTuning::output( in IntfImpl()
248 .withDefault(new C2StreamColorAspectsInfo::output( in IntfImpl()
270 .withConstValue(new C2StreamPixelFormatInfo::output( in IntfImpl()
275 const C2P<C2StreamPictureSizeInfo::output> &oldMe, in SizeSetter()
[all …]
/device/google/cuttlefish/host/libs/vm_manager/
Dcrosvm_builder.cpp62 void CrosvmBuilder::AddHvcReadOnly(const std::string& output, bool console) { in AddHvcReadOnly() argument
64 ",type=file,path=", output, in AddHvcReadOnly()
67 void CrosvmBuilder::AddHvcReadWrite(const std::string& output, in AddHvcReadWrite() argument
70 ",type=file,path=", output, ",input=", input); in AddHvcReadWrite()
85 void CrosvmBuilder::AddSerialConsoleReadOnly(const std::string& output) { in AddSerialConsoleReadOnly() argument
87 ",type=file,path=", output, ",earlycon=true"); in AddSerialConsoleReadOnly()
89 void CrosvmBuilder::AddSerialConsoleReadWrite(const std::string& output, in AddSerialConsoleReadWrite() argument
93 ",type=file,path=", output, ",input=", input, in AddSerialConsoleReadWrite()
96 void CrosvmBuilder::AddSerial(const std::string& output, in AddSerial() argument
99 ",type=file,path=", output, ",input=", input); in AddSerial()
Dcrosvm_builder.h34 void AddHvcReadOnly(const std::string& output, bool console = false);
35 void AddHvcReadWrite(const std::string& output, const std::string& input);
41 void AddSerialConsoleReadOnly(const std::string& output);
42 void AddSerialConsoleReadWrite(const std::string& output,
45 void AddSerial(const std::string& output, const std::string& input);
/device/generic/goldfish-opengl/system/hwc3/
DDisplayConfig.cpp80 std::string output; in toString() local
81 output += " id: " + std::to_string(mId); in toString()
82 output += " w:" + std::to_string(mWidth); in toString()
83 output += " h:" + std::to_string(mHeight); in toString()
84 output += " dpi-x:" + std::to_string(mDpiX); in toString()
85 output += " dpi-y:" + std::to_string(mDpiY); in toString()
86 output += " vsync:" + std::to_string(1e9 / mVsyncPeriodNanos); in toString()
87 output += " config-group:" + std::to_string(mConfigGroup); in toString()
88 return output; in toString()
/device/generic/goldfish-opengl/system/codecs/c2/decoders/base/include/
DSimpleC2Interface.h142 std::shared_ptr<C2PortMediaTypeSetting::output> mOutputMediaType;
144 std::shared_ptr<C2StreamBufferTypeSetting::output> mOutputFormat;
147 std::shared_ptr<C2PortRequestedDelayTuning::output>
152 std::shared_ptr<C2PortActualDelayTuning::output> mActualOutputDelay;
159 std::shared_ptr<C2StreamMaxReferenceAgeTuning::output>
161 std::shared_ptr<C2StreamMaxReferenceCountTuning::output>
166 std::shared_ptr<C2PortStreamCountTuning::output> mOutputStreamCount;
171 std::shared_ptr<C2PortSuggestedBufferCountTuning::output>
177 std::shared_ptr<C2LastWorkQueuedTuning::output>
181 std::shared_ptr<C2PortAllocatorsTuning::output> mOutputAllocators;
[all …]
/device/google/cuttlefish/common/libs/utils/
Dcollect.h33 Set output; in Collect() local
35 std::inserter(output, output.end()), predicate); in Collect()
36 return output; in Collect()
48 Set output; in Flatten() local
50 output.insert(container.cbegin(), container.cend()); in Flatten()
52 return output; in Flatten()
/device/google/cuttlefish/host/commands/secure_env/
Dhmac_serializable.cpp137 std::vector<uint8_t> output(sensitive_size + aad_->SerializedSize()); in AppendAad() local
138 std::copy(sensitive, sensitive + sensitive_size, output.begin()); in AppendAad()
141 aad_->Serialize(&output[sensitive_size], output.data() + output.size()); in AppendAad()
142 const ptrdiff_t actual_aad_size = actual_output_end - output.data(); in AppendAad()
143 if (actual_aad_size != output.size()) { in AppendAad()
145 << output.size() << ", actual: " << actual_aad_size; in AppendAad()
148 return output; in AppendAad()
/device/generic/goldfish-opengl/system/codecs/c2/decoders/base/
DSimpleC2Interface.cpp91 .withConstValue(new C2PortStreamCountTuning::output(1)) in BaseParams()
150 .withConstValue(new C2StreamBufferTypeSetting::output( in BaseParams()
156 .withConstValue(AllocSharedString<C2PortMediaTypeSetting::output>( in BaseParams()
181 C2PortAllocatorsTuning::output::AllocShared(outputAllocators)) in BaseParams()
186 C2PortAllocatorsTuning::output>::NonStrictValuesWithNoDeps) in BaseParams()
192 C2PortBlockPoolsTuning::output::AllocShared(outputPoolIds)) in BaseParams()
197 C2PortBlockPoolsTuning::output>::NonStrictValuesWithNoDeps) in BaseParams()
266 .withConstValue(new C2PortRequestedDelayTuning::output(0u)) in noOutputLatency()
270 .withConstValue(new C2PortActualDelayTuning::output(0u)) in noOutputLatency()
318 .withConstValue(new C2StreamMaxReferenceAgeTuning::output(0u)) in noOutputReferences()
[all …]
/device/google/cuttlefish/guest/hals/keymint/remote/
Dremote_keymint_operation.cpp75 vector<uint8_t>* output) { in update() argument
76 if (!output) return kmError2ScopedAStatus(KM_ERROR_OUTPUT_PARAMETER_NULL); in update()
96 *output = kmBuffer2vector(response.output); in update()
106 vector<uint8_t>* output) { in finish() argument
107 if (!output) { in finish()
136 *output = kmBuffer2vector(response.output); in finish()
/device/google/contexthub/firmware/os/platform/stm32/
Dgpio.c96 …WithNum(uint32_t gpioNum, int32_t gpioSpeed, enum GpioPullMode pull, enum GpioOpenDrainMode output) in gpioConfigWithNum() argument
113 if (output == GPIO_OUT_PUSH_PULL) in gpioConfigWithNum()
137 …32_t gpioNum, int32_t gpioSpeed, enum GpioPullMode pull, enum GpioOpenDrainMode output, bool value) in gpioConfigOutputWithNum() argument
143 gpioConfigWithNum(gpioNum, gpioSpeed, pull, output); in gpioConfigOutputWithNum()
152 …t gpioHandle, int32_t gpioSpeed, enum GpioPullMode pull, enum GpioOpenDrainMode output, bool value) in gpioConfigOutput() argument
155 …gpioConfigOutputWithNum((uint32_t)gpioHandle - GPIO_HANDLE_OFFSET, gpioSpeed, pull, output, value); in gpioConfigOutput()
158 …pioNum, int32_t gpioSpeed, enum GpioPullMode pull, enum GpioOpenDrainMode output, uint32_t altFunc) in gpioConfigAltWithNum() argument
169 gpioConfigWithNum(gpioNum, gpioSpeed, pull, output); in gpioConfigAltWithNum()
178 …Handle, int32_t gpioSpeed, enum GpioPullMode pull, enum GpioOpenDrainMode output, uint32_t altFunc) in gpioConfigAlt() argument
181 … gpioConfigAltWithNum((uint32_t)gpioHandle - GPIO_HANDLE_OFFSET, gpioSpeed, pull, output, altFunc); in gpioConfigAlt()
/device/google/cuttlefish/tools/
Draw2iso.sh29 output=
40 output="${OPTARG}"
58 if [[ -z "${output}" ]]; then
84 rm -f "${output}"
206 rm -f "${output}"
207 touch "${output}"
210 -o "${output}" -e boot/grub/eltorito.img -no-emul-boot \
214 echo "Output ISO generated at '${output}'."

12345678910