/third_party/pulseaudio/src/modules/ |
H A D | module-esound-sink.c | 150 static int sink_process_msg(pa_msgobject *o, int code, void *data, int64_t offset, pa_memchunk *chunk) { in sink_process_msg() argument 157 *((int64_t*) data) = pa_smoother_2_get_delay(u->smoother, pa_rtclock_now(), (uint64_t)u->offset + u->memchunk.length); in sink_process_msg() 164 *((int64_t*) data) = (int64_t)w - r; in sink_process_msg() 183 return pa_sink_process_msg(o, code, data, offset, chunk); in sink_process_msg() 256 /* Render some data and write it to the fifo */ in thread_func() 289 pa_log("Failed to write data to FIFO: %s", pa_cstrerror(errno)); in thread_func() 413 /* OK, we're done with sending all control data we need to, so in do_write() 449 /* Process auth data */ in handle_response() 455 /* Request latency data */ in handle_response() 575 pa_sink_new_data data; in pa__init() local [all...] |
/third_party/openssl/crypto/x509/ |
H A D | v3_san.c | 92 gen->d.otherName->value->value.utf8string->data, in STACK_OF() 100 gen->d.otherName->value->value.utf8string->data, in STACK_OF() 108 gen->d.otherName->value->value.ia5string->data, in STACK_OF() 116 gen->d.otherName->value->value.utf8string->data, in STACK_OF() 124 gen->d.otherName->value->value.utf8string->data, in STACK_OF() 139 gen->d.otherName->value->value.ia5string->data, in STACK_OF() 146 gen->d.otherName->value->value.utf8string->data, in STACK_OF() 168 if (!x509v3_add_len_value_uchar("email", gen->d.ia5->data, in STACK_OF() 174 if (!x509v3_add_len_value_uchar("DNS", gen->d.ia5->data, in STACK_OF() 180 if (!x509v3_add_len_value_uchar("URI", gen->d.ia5->data, in STACK_OF() [all...] |
/third_party/toybox/toys/pending/ |
H A D | dhcp6.c | 302 uint8_t *get_msg_ptr(uint8_t *data, int data_length, int msgtype) in get_msg_ptr() argument 304 uint16_t type = *((uint16_t*)data), length = *((uint16_t*)(data+2)); in get_msg_ptr() 307 if (type == msgtype) return data; in get_msg_ptr() 312 data = data + 4 + length; in get_msg_ptr() 313 type = ntohs(*((uint16_t*)data)); in get_msg_ptr() 314 length = ntohs(*((uint16_t*)(data+2))); in get_msg_ptr() 315 if (type == msgtype) return data; in get_msg_ptr() 320 static uint8_t *check_server_id(uint8_t *data, in argument 325 check_client_id(uint8_t *data, int data_length) check_client_id() argument 351 parse_ia_na(uint8_t *data, int data_length) parse_ia_na() argument [all...] |
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_image_writer.h | 140 const void *data) in tag_data_ptr() 144 , fData (data) in tag_data_ptr() 149 void SetData (const void *data) in SetData() argument 151 fData = data; in SetData() 241 const uint8 *data, in tag_uint8_ptr() 244 : tag_data_ptr (code, ttByte, count, data) in tag_uint8_ptr() 287 const int16 *data, in tag_int16_ptr() 290 : tag_data_ptr (code, ttSShort, count, data) in tag_int16_ptr() 305 const uint16 *data, in tag_uint16_ptr() 308 : tag_data_ptr (code, ttShort, count, data) in tag_uint16_ptr() 137 tag_data_ptr(uint16 code, uint16 type, uint32 count, const void *data) tag_data_ptr() argument 240 tag_uint8_ptr(uint16 code, const uint8 *data, uint32 count = 1) tag_uint8_ptr() argument 286 tag_int16_ptr(uint16 code, const int16 *data, uint32 count = 1) tag_int16_ptr() argument 304 tag_uint16_ptr(uint16 code, const uint16 *data, uint32 count = 1) tag_uint16_ptr() argument 350 tag_uint32_ptr(uint16 code, const uint32 *data, uint32 count = 1) tag_uint32_ptr() argument [all...] |
/third_party/protobuf/js/binary/ |
H A D | utils.js | 1 // Protocol Buffers - Google's data interchange format 48 * Javascript can't natively handle 64-bit data types, so to manipulate them we 1035 * @param {!jspb.ByteSource} data 1039 jspb.utils.byteSourceToUint8Array = function(data) { 1040 if (data.constructor === Uint8Array) { 1041 return /** @type {!Uint8Array} */(data); 1044 if (data.constructor === ArrayBuffer) { 1045 data = /** @type {!ArrayBuffer} */(data); 1046 return /** @type {!Uint8Array} */(new Uint8Array(data)); [all...] |
/third_party/rust/crates/syn/codegen/src/ |
H A D | parse.rs | 71 match &item.ast.data { in introspect_item() 72 Data::Enum(data) => types::Node { in introspect_item() 75 data: types::Data::Enum(introspect_enum(data, lookup)), in introspect_item() 77 || data.variants.iter().any(|v| is_doc_hidden(&v.attrs))), in introspect_item() 79 Data::Struct(data) => types::Node { in introspect_item() 82 data: { in introspect_item() 83 if data.fields.iter().all(|f| is_pub(&f.vis)) { in introspect_item() 84 types::Data::Struct(introspect_struct(data, lookup)) in introspect_item() 245 let data in first_arg() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/ |
H A D | p2p_i.h | 39 * struct p2p_device - P2P Device data (internal to P2P module) 162 * struct p2p_data - P2P module data (internal to P2P module) 313 /* GO Negotiation data */ 415 /* P2P Invitation data */ 706 int p2p_parse_ies(const u8 *data, size_t len, struct p2p_message *msg); 707 int p2p_parse(const u8 *data, size_t len, struct p2p_message *msg); 711 int p2p_attr_text(struct wpabuf *data, char *buf, char *end); 794 const u8 *data, size_t len, int rx_freq); 796 const u8 *data, size_t len, int rx_freq); 798 const u8 *data, size_ [all...] |
/drivers/peripheral/distributed_camera/hdi_service/test/fuzztest/dcameragetcameraids_fuzzer/ |
H A D | dcameragetcameraids_fuzzer.cpp | 25 void DCameraGetCameraIdsFuzzTest(const uint8_t* data, size_t size) in DCameraGetCameraIdsFuzzTest() argument 27 if ((data == nullptr) || (size == 0)) { in DCameraGetCameraIdsFuzzTest() 50 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 52 /* Run your code on data */ in LLVMFuzzerTestOneInput() 53 OHOS::DistributedHardware::DCameraGetCameraIdsFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/drivers/peripheral/fingerprint_auth/test/fuzztest/fingerprint_auth/fingerprintauthinterfaceservice_fuzzer/ |
H A D | fingerprint_auth_interface_service_fuzzer.cpp | 49 void FingerprintAuthInterfaceServiceFuzzTest(const uint8_t *data, size_t size) in FingerprintAuthInterfaceServiceFuzzTest() argument 52 parcel.WriteBuffer(data, size); in FingerprintAuthInterfaceServiceFuzzTest() 65 extern "C" int32_t LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument 67 OHOS::HDI::FingerprintAuth::FingerprintAuthInterfaceServiceFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/drivers/peripheral/pin_auth/test/fuzztest/pin_auth/pinauthinterfaceservice_fuzzer/ |
H A D | pin_auth_interface_service_fuzzer.cpp | 46 void PinAuthInterfaceServiceFuzzTest(const uint8_t *data, size_t size) in PinAuthInterfaceServiceFuzzTest() argument 49 parcel.WriteBuffer(data, size); in PinAuthInterfaceServiceFuzzTest() 63 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument 65 OHOS::HDI::PinAuth::PinAuthInterfaceServiceFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/drivers/peripheral/usb/test/fuzztest/usbgetinterfacestatus_fuzzer/ |
H A D | usbgetinterfacestatus_fuzzer.cpp | 30 bool UsbGetInterfaceStatusFuzzTest(const uint8_t *data, size_t size) in UsbGetInterfaceStatusFuzzTest() argument 42 if (memcpy_s((void *)¶m, sizeof(param), data, sizeof(param)) != EOK) { in UsbGetInterfaceStatusFuzzTest() 62 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument 64 OHOS::USB::UsbGetInterfaceStatusFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/drivers/peripheral/usb/test/fuzztest/usbsetinterface_fuzzer/ |
H A D | usbsetinterface_fuzzer.cpp | 32 bool UsbSetInterfaceFuzzTest(const uint8_t *data, size_t size) in UsbSetInterfaceFuzzTest() argument 44 if (memcpy_s((void *)¶m, sizeof(param), data, sizeof(param)) != EOK) { in UsbSetInterfaceFuzzTest() 64 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument 66 OHOS::USB::UsbSetInterfaceFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/drivers/peripheral/user_auth/hdi_service/utils/inc/ |
H A D | linked_list.h | 27 typedef void (*DestroyDataFunc)(void *data); 28 typedef bool (*MatchFunc)(const void *data, const void *condition); 31 void *data; member 46 ResultCode (*insert)(struct LinkedList *list, void *data);
|
/drivers/peripheral/sensor/hdi_service/ |
H A D | sensor_hdi_dump.h | 42 static int32_t DevHostSensorHdiDump(struct HdfSBuf *data, struct HdfSBuf *reply);
46 static std::string SensorInfoDataToString(const float *data,
50 static int32_t ShowData(const float *data,
59 int32_t GetSensorDump(struct HdfSBuf *data, struct HdfSBuf *reply);
|
/drivers/peripheral/usb/test/fuzztest/usbbulkcancel_fuzzer/ |
H A D | usbbulkcancel_fuzzer.cpp | 27 bool UsbBulkCancelFuzzTest(const uint8_t *data, size_t size) in UsbBulkCancelFuzzTest() argument 39 if (memcpy_s((void *)&pipe, sizeof(pipe), data, sizeof(pipe)) != EOK) { in UsbBulkCancelFuzzTest() 59 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument 61 OHOS::USB::UsbBulkCancelFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/drivers/peripheral/usb/test/fuzztest/usbbulkread_fuzzer/ |
H A D | usbbulkread_fuzzer.cpp | 27 bool UsbBulkReadFuzzTest(const uint8_t *data, size_t size) in UsbBulkReadFuzzTest() argument 39 if (memcpy_s((void *)&pipe, sizeof(pipe), data, sizeof(pipe)) != EOK) { in UsbBulkReadFuzzTest() 60 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument 62 OHOS::USB::UsbBulkReadFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/drivers/peripheral/usb/test/fuzztest/usbclaiminterface_fuzzer/ |
H A D | usbclaiminterface_fuzzer.cpp | 32 bool UsbClaimInterfaceFuzzTest(const uint8_t *data, size_t size) in UsbClaimInterfaceFuzzTest() argument 44 if (memcpy_s((void *)¶m, sizeof(param), data, sizeof(param)) != EOK) { in UsbClaimInterfaceFuzzTest() 63 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument 65 OHOS::USB::UsbClaimInterfaceFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/drivers/peripheral/usb/test/fuzztest/usbbulkwrite_fuzzer/ |
H A D | usbbulkwrite_fuzzer.cpp | 27 bool UsbBulkWriteFuzzTest(const uint8_t *data, size_t size) in UsbBulkWriteFuzzTest() argument 39 if (memcpy_s((void *)&pipe, sizeof(pipe), data, sizeof(pipe)) != EOK) { in UsbBulkWriteFuzzTest() 60 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument 62 OHOS::USB::UsbBulkWriteFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/drivers/peripheral/usb/test/fuzztest/usbclearhalt_fuzzer/ |
H A D | usbclearhalt_fuzzer.cpp | 27 bool UsbClearHaltFuzzTest(const uint8_t *data, size_t size)
in UsbClearHaltFuzzTest() argument 39 if (memcpy_s((void *)&pipe, sizeof(pipe), data, sizeof(pipe)) != EOK) {
in UsbClearHaltFuzzTest() 59 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
in LLVMFuzzerTestOneInput() argument 61 OHOS::USB::UsbClearHaltFuzzTest(data, size);
in LLVMFuzzerTestOneInput()
|
/drivers/peripheral/usb/test/fuzztest/usbmanageinterface_fuzzer/ |
H A D | usbmanageinterface_fuzzer.cpp | 32 bool UsbManageInterfaceFuzzTest(const uint8_t *data, size_t size) in UsbManageInterfaceFuzzTest() argument 44 if (memcpy_s((void *)¶m, sizeof(param), data, sizeof(param)) != EOK) { in UsbManageInterfaceFuzzTest() 63 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument 65 OHOS::USB::UsbManageInterfaceFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/drivers/peripheral/usb/test/fuzztest/usbopendevice_fuzzer/ |
H A D | usbopendevice_fuzzer.cpp | 26 bool UsbOpenDeviceFuzzTest(const uint8_t *data, size_t size) in UsbOpenDeviceFuzzTest() argument 38 if (memcpy_s((void *)&dev, sizeof(dev), data, sizeof(dev)) != EOK) { in UsbOpenDeviceFuzzTest() 57 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument 59 OHOS::USB::UsbOpenDeviceFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/drivers/peripheral/usb/test/fuzztest/usbrequestcancel_fuzzer/ |
H A D | usbrequestcancel_fuzzer.cpp | 27 bool UsbRequestCancelFuzzTest(const uint8_t *data, size_t size) in UsbRequestCancelFuzzTest() argument 39 if (memcpy_s((void *)&pipe, sizeof(pipe), data, sizeof(pipe)) != EOK) { in UsbRequestCancelFuzzTest() 59 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument 61 OHOS::USB::UsbRequestCancelFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/drivers/peripheral/usb/test/fuzztest/usbresetdevice_fuzzer/ |
H A D | usbresetdevice_fuzzer.cpp | 27 bool UsbResetDeviceFuzzTest(const uint8_t *data, size_t size)
in UsbResetDeviceFuzzTest() argument 39 if (memcpy_s((void *)&devTmp, sizeof(devTmp), data, sizeof(devTmp)) != EOK) {
in UsbResetDeviceFuzzTest() 59 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
in LLVMFuzzerTestOneInput() argument 61 OHOS::USB::UsbResetDeviceFuzzTest(data, size);
in LLVMFuzzerTestOneInput()
|
/drivers/peripheral/usb/test/fuzztest/usbunregbulkcallback_fuzzer/ |
H A D | usbunregbulkcallback_fuzzer.cpp | 27 bool UsbUnRegBulkCallbackFuzzTest(const uint8_t *data, size_t size) in UsbUnRegBulkCallbackFuzzTest() argument 39 if (memcpy_s((void *)&pipe, sizeof(pipe), data, sizeof(pipe)) != EOK) { in UsbUnRegBulkCallbackFuzzTest() 59 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument 61 OHOS::USB::UsbUnRegBulkCallbackFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/third_party/elfutils/libdw/ |
H A D | dwarf_offdie.c | 46 Elf_Data *const data = dbg->sectiondata[debug_types ? IDX_debug_types in __libdw_offdie() local 48 if (data == NULL || offset >= data->d_size) in __libdw_offdie() 58 result->addr = (char *) data->d_buf + offset; in __libdw_offdie()
|