/third_party/skia/third_party/externals/spirv-tools/test/fuzzers/ |
H A D | spvtools_opt_size_fuzzer.cpp | 31 std::vector<uint32_t> input; in LLVMFuzzerTestOneInput() local 32 input.resize(size >> 2); in LLVMFuzzerTestOneInput() 36 input[count++] = data[i] | (data[i + 1] << 8) | (data[i + 2] << 16) | in LLVMFuzzerTestOneInput() 41 optimizer.Run(input.data(), input.size(), &input); in LLVMFuzzerTestOneInput()
|
/third_party/skia/third_party/externals/spirv-tools/test/ |
H A D | named_id_test.cpp | 27 const std::string input = R"( in TEST_F() local 47 EXPECT_EQ(output, EncodeAndDecodeSuccessfully(input)); in TEST_F() 59 const std::string input = GetParam().id + " = OpTypeVoid"; in TEST_P() local 60 SetText(input); in TEST_P() 62 CompileSuccessfully(input); in TEST_P() 64 CompileFailure(input); in TEST_P()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzzers/ |
H A D | spvtools_opt_legalization_fuzzer.cpp | 31 std::vector<uint32_t> input; in LLVMFuzzerTestOneInput() local 32 input.resize(size >> 2); in LLVMFuzzerTestOneInput() 36 input[count++] = data[i] | (data[i + 1] << 8) | (data[i + 2] << 16) | in LLVMFuzzerTestOneInput() 41 optimizer.Run(input.data(), input.size(), &input); in LLVMFuzzerTestOneInput()
|
H A D | spvtools_opt_performance_fuzzer.cpp | 31 std::vector<uint32_t> input; in LLVMFuzzerTestOneInput() local 32 input.resize(size >> 2); in LLVMFuzzerTestOneInput() 36 input[count++] = data[i] | (data[i + 1] << 8) | (data[i + 2] << 16) | in LLVMFuzzerTestOneInput() 41 optimizer.Run(input.data(), input.size(), &input); in LLVMFuzzerTestOneInput()
|
H A D | spvtools_opt_size_fuzzer.cpp | 31 std::vector<uint32_t> input; in LLVMFuzzerTestOneInput() local 32 input.resize(size >> 2); in LLVMFuzzerTestOneInput() 36 input[count++] = data[i] | (data[i + 1] << 8) | (data[i + 2] << 16) | in LLVMFuzzerTestOneInput() 41 optimizer.Run(input.data(), input.size(), &input); in LLVMFuzzerTestOneInput()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/ |
H A D | named_id_test.cpp | 27 const std::string input = R"( in TEST_F() local 47 EXPECT_EQ(output, EncodeAndDecodeSuccessfully(input)); in TEST_F() 59 const std::string input = GetParam().id + " = OpTypeVoid"; in TEST_P() local 60 SetText(input); in TEST_P() 62 CompileSuccessfully(input); in TEST_P() 64 CompileFailure(input); in TEST_P()
|
/third_party/skia/third_party/externals/dawn/src/common/ |
H A D | WindowsUtils.cpp | 21 std::string WCharToUTF8(const wchar_t* input) { in WCharToUTF8() argument 23 // input. It will return a size that includes the null terminator. in WCharToUTF8() 24 int requiredSize = WideCharToMultiByte(CP_UTF8, 0, input, -1, nullptr, 0, nullptr, nullptr); in WCharToUTF8() 28 WideCharToMultiByte(CP_UTF8, 0, input, -1, result.get(), requiredSize, nullptr, nullptr); in WCharToUTF8() 34 std::wstring UTF8ToWStr(const char* input) { in UTF8ToWStr() argument 36 // input. It will return a size that includes the null terminator. in UTF8ToWStr() 37 int requiredSize = MultiByteToWideChar(CP_UTF8, 0, input, -1, nullptr, 0); in UTF8ToWStr() 41 MultiByteToWideChar(CP_UTF8, 0, input, -1, result.get(), requiredSize); in UTF8ToWStr()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | circularTypeofWithVarOrFunc.js | 20 function mul(input: Input): R { 21 return input.a * input.b; 35 function mul(input) {
36 return input.a * input.b;
|
H A D | jsDeclarationsImportAliasExposedWithinNamespace.js | 36 /** @typedef {boolean|myTypes.typeC} testFnTypes.input */ 41 * @param {testFnTypes.input} input - Input. 44 function testFn(input) { 45 if (typeof input === 'number') { 46 return 2 * input; 76 type input = boolean | myTypes.typeC;
78 /** @typedef {boolean|myTypes.typeC} testFnTypes.input */
82 * @param {testFnTypes.input} input [all...] |
H A D | jsDeclarationsImportAliasExposedWithinNamespaceCjs.js | 36 /** @typedef {boolean|myTypes.typeC} testFnTypes.input */ 41 * @param {testFnTypes.input} input - Input. 44 function testFn(input) { 45 if (typeof input === 'number') { 46 return 2 * input; 80 /** @typedef {boolean|myTypes.typeC} testFnTypes.input */
84 * @param {testFnTypes.input} input - Input.
87 export function testFn(input [all...] |
/third_party/spirv-tools/test/ |
H A D | named_id_test.cpp | 27 const std::string input = R"( in TEST_F() local 47 EXPECT_EQ(output, EncodeAndDecodeSuccessfully(input)); in TEST_F() 59 const std::string input = GetParam().id + " = OpTypeVoid"; in TEST_P() local 60 SetText(input); in TEST_P() 62 CompileSuccessfully(input); in TEST_P() 64 CompileFailure(input); in TEST_P()
|
/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfciphercreate_fuzzer/ |
H A D | hcfciphercreate_fuzzer.cpp | 32 static int32_t AesEncrypt(HcfCipher *cipher, HcfSymKey *key, HcfBlob *input, in AesEncrypt() argument 42 ret = cipher->update(cipher, input, &output); in AesEncrypt() 69 static int32_t AesDecrypt(HcfCipher *cipher, HcfSymKey *key, HcfBlob *input, in AesDecrypt() argument 82 ret = cipher->update(cipher, input, &output); in AesDecrypt() 108 ret = memcmp(cipherText, input->data, cipherTextLen); in AesDecrypt() 109 ret = ret || (cipherTextLen == input->len - 1) ? 0 : 1; in AesDecrypt() 113 static int32_t Sm4Encrypt(HcfCipher *cipher, HcfSymKey *key, HcfBlob *input, in Sm4Encrypt() argument 123 ret = cipher->update(cipher, input, &output); in Sm4Encrypt() 151 static int32_t Sm4Decrypt(HcfCipher *cipher, HcfSymKey *key, HcfBlob *input, in Sm4Decrypt() argument 164 ret = cipher->update(cipher, input, in Sm4Decrypt() 199 HcfBlob input = {.data = const_cast<uint8_t *>(plan), .len = size}; TestAesCipher() local 231 HcfBlob input = {.data = const_cast<uint8_t *>(plan), .len = size}; TestSm4Cipher() local 263 HcfBlob input = {.data = const_cast<uint8_t *>(plan), .len = size}; TestSm4GcmCipher() local 318 HcfBlob input = { .data = const_cast<uint8_t *>(plan), .len = size }; TestRsaCipher() local [all...] |
/kernel/linux/linux-5.10/drivers/hid/ |
H A D | hid-microsoft.c | 16 #include <linux/input.h> 83 struct input_dev *input = hi->input; in ms_ergonomy_kb_quirk() local 110 set_bit(KEY_KPLEFTPAREN, input->keybit); in ms_ergonomy_kb_quirk() 111 set_bit(KEY_KPRIGHTPAREN, input->keybit); in ms_ergonomy_kb_quirk() 128 set_bit(EV_REP, input->evbit); in ms_ergonomy_kb_quirk() 130 set_bit(KEY_F14, input->keybit); in ms_ergonomy_kb_quirk() 131 set_bit(KEY_F15, input->keybit); in ms_ergonomy_kb_quirk() 132 set_bit(KEY_F16, input->keybit); in ms_ergonomy_kb_quirk() 133 set_bit(KEY_F17, input in ms_ergonomy_kb_quirk() 227 struct input_dev *input; ms_event() local [all...] |
/kernel/linux/linux-5.10/drivers/input/keyboard/ |
H A D | qt2160.c | 16 #include <linux/input.h> 56 struct input_dev *input; member 161 struct input_dev *input = qt2160->input; in qt2160_get_key_matrix() local 187 input_report_key(input, qt2160->keycodes[i], keyval); in qt2160_get_key_matrix() 193 input_sync(input); in qt2160_get_key_matrix() 345 struct input_dev *input; in qt2160_probe() local 363 input = input_allocate_device(); in qt2160_probe() 364 if (!qt2160 || !input) { in qt2160_probe() 371 qt2160->input in qt2160_probe() [all...] |
H A D | pmic8xxx-keypad.c | 10 #include <linux/input.h> 16 #include <linux/input/matrix_keypad.h> 81 * @input - input device pointer for keypad 94 struct input_dev *input; member 240 input_event(kp->input, EV_MSC, MSC_SCAN, code); in __pmic8xxx_kp_scan_matrix() 241 input_report_key(kp->input, in __pmic8xxx_kp_scan_matrix() 245 input_sync(kp->input); in __pmic8xxx_kp_scan_matrix() 520 repeat = !of_property_read_bool(np, "linux,input-no-autorepeat"); in pmic8xxx_kp_probe() 540 kp->input in pmic8xxx_kp_probe() [all...] |
/kernel/linux/linux-5.10/drivers/misc/ibmasm/ |
H A D | remote.c | 122 static void print_input(struct remote_input *input) in print_input() argument 124 if (input->type == INPUT_TYPE_MOUSE) { in print_input() 125 unsigned char buttons = input->mouse_buttons; in print_input() 127 input->data.mouse.x, input->data.mouse.y, in print_input() 136 input->data.keyboard.key_code, in print_input() 137 input->data.keyboard.key_code, in print_input() 138 input->data.keyboard.key_flag, in print_input() 139 input->data.keyboard.key_down in print_input() 144 static void send_mouse_event(struct input_dev *dev, struct remote_input *input) in send_mouse_event() argument 156 send_keyboard_event(struct input_dev *dev, struct remote_input *input) send_keyboard_event() argument 174 struct remote_input input; ibmasm_handle_mouse_interrupt() local [all...] |
/kernel/linux/linux-6.6/drivers/misc/ibmasm/ |
H A D | remote.c | 122 static void print_input(struct remote_input *input) in print_input() argument 124 if (input->type == INPUT_TYPE_MOUSE) { in print_input() 125 unsigned char buttons = input->mouse_buttons; in print_input() 127 input->data.mouse.x, input->data.mouse.y, in print_input() 136 input->data.keyboard.key_code, in print_input() 137 input->data.keyboard.key_code, in print_input() 138 input->data.keyboard.key_flag, in print_input() 139 input->data.keyboard.key_down in print_input() 144 static void send_mouse_event(struct input_dev *dev, struct remote_input *input) in send_mouse_event() argument 156 send_keyboard_event(struct input_dev *dev, struct remote_input *input) send_keyboard_event() argument 174 struct remote_input input; ibmasm_handle_mouse_interrupt() local [all...] |
/kernel/linux/linux-6.6/drivers/hid/ |
H A D | hid-microsoft.c | 16 #include <linux/input.h> 83 struct input_dev *input = hi->input; in ms_ergonomy_kb_quirk() local 110 set_bit(KEY_KPLEFTPAREN, input->keybit); in ms_ergonomy_kb_quirk() 111 set_bit(KEY_KPRIGHTPAREN, input->keybit); in ms_ergonomy_kb_quirk() 128 set_bit(EV_REP, input->evbit); in ms_ergonomy_kb_quirk() 130 set_bit(KEY_F14, input->keybit); in ms_ergonomy_kb_quirk() 131 set_bit(KEY_F15, input->keybit); in ms_ergonomy_kb_quirk() 132 set_bit(KEY_F16, input->keybit); in ms_ergonomy_kb_quirk() 133 set_bit(KEY_F17, input in ms_ergonomy_kb_quirk() 227 struct input_dev *input; ms_event() local [all...] |
H A D | hid-input.c | 62 * hid-input will convert this list into priorities: 67 * hid-input will then shift the priority by 8 bits to leave some space 73 * If drivers want to add fields before those, hid-input will 690 struct input_dev *input = hidinput->input; in hidinput_configure_usage() local 691 struct hid_device *device = input_get_drvdata(input); in hidinput_configure_usage() 748 set_bit(EV_REP, input->evbit); in hidinput_configure_usage() 887 set_bit(REL_WHEEL, input->relbit); in hidinput_configure_usage() 944 __set_bit(INPUT_PROP_POINTER, input->propbit); in hidinput_configure_usage() 946 __set_bit(INPUT_PROP_DIRECT, input in hidinput_configure_usage() 1463 hidinput_handle_scroll(struct hid_usage *usage, struct input_dev *input, __s32 value) hidinput_handle_scroll() argument 1495 hid_report_release_tool(struct hid_report *report, struct input_dev *input, unsigned int tool) hid_report_release_tool() argument 1513 hid_report_set_tool(struct hid_report *report, struct input_dev *input, unsigned int new_tool) hid_report_set_tool() argument 1525 struct input_dev *input; hidinput_hid_event() local [all...] |
/kernel/linux/linux-6.6/drivers/input/keyboard/ |
H A D | pmic8xxx-keypad.c | 10 #include <linux/input.h> 16 #include <linux/input/matrix_keypad.h> 81 * @input: input device pointer for keypad 94 struct input_dev *input; member 240 input_event(kp->input, EV_MSC, MSC_SCAN, code); in __pmic8xxx_kp_scan_matrix() 241 input_report_key(kp->input, in __pmic8xxx_kp_scan_matrix() 245 input_sync(kp->input); in __pmic8xxx_kp_scan_matrix() 520 repeat = !of_property_read_bool(np, "linux,input-no-autorepeat"); in pmic8xxx_kp_probe() 540 kp->input in pmic8xxx_kp_probe() [all...] |
H A D | pinephone-keyboard.c | 9 #include <linux/input.h> 10 #include <linux/input/matrix_keypad.h> 147 struct input_dev *input; member 209 unsigned short *keymap = ppkb->input->keycode; in ppkb_update() 259 input_event(ppkb->input, EV_MSC, MSC_SCAN, code); in ppkb_update() 260 input_report_key(ppkb->input, keymap[code], value); in ppkb_update() 265 input_sync(ppkb->input); in ppkb_update() 302 static int ppkb_open(struct input_dev *input) in ppkb_open() argument 304 struct i2c_client *client = input_get_drvdata(input); in ppkb_open() 314 static void ppkb_close(struct input_dev *input) in ppkb_close() argument [all...] |
/third_party/gn/src/gn/ |
H A D | filesystem_utils.cc | 40 // input. 42 // |*consumed_len| will contain the number of characters in the input that 137 // don't want the slash in there. This doesn't support input like "C:foo" in GetPathComponents() 421 // A source-root relative path, The input may have an unknown number of in MakeAbsolutePathRelativeIfPossible() 446 // A source-root relative path, The input may have an unknown number of in MakeAbsolutePathRelativeIfPossible() 538 // Current directory, just skip the input. in NormalizePath() 551 // We're already at the beginning of a relative input, copy the in NormalizePath() 553 // one before (otherwise we're at the end of the input). in NormalizePath() 598 // Just find the previous slash or the beginning of input. in NormalizePath() 606 // Just find the previous slash or the beginning of input in NormalizePath() 687 MakeRelativePath(std::string_view input, std::string_view dest) MakeRelativePath() argument 752 RebasePath(const std::string& input, const SourceDir& dest_dir, std::string_view source_root) RebasePath() argument 831 ResolveRelative(std::string_view input, const std::string& value, bool as_file, std::string_view source_root) ResolveRelative() argument [all...] |
/third_party/protobuf/csharp/src/AddressBook/ |
H A D | Addressbook.cs | 292 public void MergeFrom(pb::CodedInputStream input) { in MergeFrom() argument 294 input.ReadRawMessage(this); in MergeFrom() 297 while ((tag = input.ReadTag()) != 0) { in MergeFrom() 300 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); in MergeFrom() 303 Name = input.ReadString(); in MergeFrom() 307 Id = input.ReadInt32(); in MergeFrom() 311 Email = input.ReadString(); in MergeFrom() 315 phones_.AddEntriesFrom(input, _repeated_phones_codec); in MergeFrom() 322 input.ReadMessage(LastUpdated); in MergeFrom() 332 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { in IBufferMessage.InternalMergeFrom() argument 538 MergeFrom(pb::CodedInputStream input) MergeFrom() argument 563 IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) IBufferMessage.InternalMergeFrom() argument 715 MergeFrom(pb::CodedInputStream input) MergeFrom() argument 736 IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) IBufferMessage.InternalMergeFrom() argument [all...] |
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
H A D | Struct.cs | 205 public void MergeFrom(pb::CodedInputStream input) { in MergeFrom() argument 207 input.ReadRawMessage(this); in MergeFrom() 210 while ((tag = input.ReadTag()) != 0) { in MergeFrom() 213 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); in MergeFrom() 216 fields_.AddEntriesFrom(input, _map_fields_codec); in MergeFrom() 226 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { in IBufferMessage.InternalMergeFrom() argument 228 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom() 231 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); in IBufferMessage.InternalMergeFrom() 234 fields_.AddEntriesFrom(ref input, _map_fields_codec); in IBufferMessage.InternalMergeFrom() 592 public void MergeFrom(pb::CodedInputStream input) { in MergeFrom() argument 644 IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) IBufferMessage.InternalMergeFrom() argument 823 MergeFrom(pb::CodedInputStream input) MergeFrom() argument 844 IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) IBufferMessage.InternalMergeFrom() argument [all...] |
/kernel/linux/linux-5.10/net/bluetooth/hidp/ |
H A D | core.c | 81 if (session->input) { in hidp_copy_session() 82 ci->vendor = session->input->id.vendor; in hidp_copy_session() 83 ci->product = session->input->id.product; in hidp_copy_session() 84 ci->version = session->input->id.version; in hidp_copy_session() 85 if (session->input->name) in hidp_copy_session() 86 strlcpy(ci->name, session->input->name, 128); in hidp_copy_session() 180 struct input_dev *dev = session->input; in hidp_input_report() 517 if (session->input) in hidp_process_data() 600 if (session->input) in hidp_recv_intr_frame() 659 struct input_dev *input; in hidp_setup_input() local [all...] |