/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | sha512.c | 17 * hmac_sha512_vector - HMAC-SHA512 over data vector (RFC 2104) 20 * @num_elem: Number of elements in the data vector 21 * @addr: Pointers to the data areas 22 * @len: Lengths of the data blocks 57 * and text is the data being protected */ in hmac_sha512_vector() 92 * hmac_sha512 - HMAC-SHA512 over data buffer (RFC 2104) 95 * @data: Pointers to the data area 96 * @data_len: Length of the data area 100 int hmac_sha512(const u8 *key, size_t key_len, const u8 *data, in hmac_sha512() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | http-utils.h | 16 u8 *data; member 51 char * http_post(struct http_ctx *ctx, const char *url, const char *data,
|
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuAstcUtil.hpp | 73 bool isValidBlock (const deUint8* data, CompressedTexFormat format, TexDecompressionParams::AstcMode mode); 75 void decompress (const PixelBufferAccess& dst, const deUint8* data, CompressedTexFormat format, TexDecompressionParams::AstcMode mode);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
H A D | rc4.c | 17 u8 *data, size_t data_len) in rc4_skip() 44 /* Apply RC4 to data */ in rc4_skip() 45 pos = data; in rc4_skip() 16 rc4_skip(const u8 *key, size_t keylen, size_t skip, u8 *data, size_t data_len) rc4_skip() argument
|
H A D | sha1.c | 17 * hmac_sha1_vector - HMAC-SHA1 over data vector (RFC 2104) 20 * @num_elem: Number of elements in the data vector 21 * @addr: Pointers to the data areas 22 * @len: Lengths of the data blocks 58 * and text is the data being protected */ in hmac_sha1_vector() 96 * hmac_sha1 - HMAC-SHA1 over data buffer (RFC 2104) 99 * @data: Pointers to the data area 100 * @data_len: Length of the data area 104 int hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_ argument [all...] |
H A D | sha256.c | 17 * hmac_sha256_vector - HMAC-SHA256 over data vector (RFC 2104) 20 * @num_elem: Number of elements in the data vector 21 * @addr: Pointers to the data areas 22 * @len: Lengths of the data blocks 57 * and text is the data being protected */ in hmac_sha256_vector() 92 * hmac_sha256 - HMAC-SHA256 over data buffer (RFC 2104) 95 * @data: Pointers to the data area 96 * @data_len: Length of the data area 100 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256() argument [all...] |
H A D | sha384.c | 17 * hmac_sha384_vector - HMAC-SHA384 over data vector (RFC 2104) 20 * @num_elem: Number of elements in the data vector 21 * @addr: Pointers to the data areas 22 * @len: Lengths of the data blocks 57 * and text is the data being protected */ in hmac_sha384_vector() 92 * hmac_sha384 - HMAC-SHA384 over data buffer (RFC 2104) 95 * @data: Pointers to the data area 96 * @data_len: Length of the data area 100 int hmac_sha384(const u8 *key, size_t key_len, const u8 *data, in hmac_sha384() argument [all...] |
H A D | sha512.c | 17 * hmac_sha512_vector - HMAC-SHA512 over data vector (RFC 2104) 20 * @num_elem: Number of elements in the data vector 21 * @addr: Pointers to the data areas 22 * @len: Lengths of the data blocks 57 * and text is the data being protected */ in hmac_sha512_vector() 92 * hmac_sha512 - HMAC-SHA512 over data buffer (RFC 2104) 95 * @data: Pointers to the data area 96 * @data_len: Length of the data area 100 int hmac_sha512(const u8 *key, size_t key_len, const u8 *data, in hmac_sha512() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | http-utils.h | 16 u8 *data; member 51 char * http_post(struct http_ctx *ctx, const char *url, const char *data,
|
H A D | json.h | 34 void json_escape_string(char *txt, size_t maxlen, const char *data, size_t len); 35 struct json_token * json_parse(const char *data, size_t data_len);
|
/third_party/vulkan-loader/tests/live_verification/ |
H A D | macos_static_loader_build.cpp | 54 vkEnumerateInstanceExtensionProperties(nullptr, &count, props.data()); in run_vk_code() 61 vkEnumerateInstanceLayerProperties(&count, layers.data()); in run_vk_code()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | dpp_hostapd.h | 19 const u8 *data, size_t data_len, int ok); 23 const u8 *data, size_t data_len);
|
/third_party/python/Lib/test/ |
H A D | test_socket.py | 238 __u8 can_dlc; /* data length code: 0 .. 8 */ 239 __u8 data[8] __attribute__((aligned(8))); 474 # RDS sockets must be bound explicitly to send or receive data 2103 def build_can_frame(cls, can_id, data): 2105 can_dlc = len(data) 2106 data = data.ljust(8, b'\x00') 2107 return struct.pack(cls.can_frame_fmt, can_id, can_dlc, data) 2112 can_id, can_dlc, data = struct.unpack(cls.can_frame_fmt, frame) 2113 return (can_id, can_dlc, data[ [all...] |
/base/msdp/device_status/intention/adapters/dsoftbus_adapter/src/ |
H A D | dsoftbus_adapter_impl.cpp | 282 static void OnBytesAvailable(int32_t socket, const void *data, uint32_t dataLen) in OnBytesAvailable() argument 284 DSoftbusAdapterImpl::GetInstance()->OnBytes(socket, data, dataLen); in OnBytesAvailable() 340 void DSoftbusAdapterImpl::OnBytes(int32_t socket, const void *data, uint32_t dataLen) in OnBytes() argument 354 if (*reinterpret_cast<const uint32_t*>(data) < static_cast<uint32_t>(MessageId::MAX_MESSAGE_ID)) { in OnBytes() 357 if (!circleBuffer.Write(reinterpret_cast<const char*>(data), dataLen)) { in OnBytes() 362 HandleRawData(networkId, data, dataLen); in OnBytes() 588 void DSoftbusAdapterImpl::HandleRawData(const std::string &networkId, const void *data, uint32_t dataLen) in HandleRawData() argument 594 observer->OnRawData(networkId, data, dataLen)) { in HandleRawData()
|
/base/msdp/device_status/test/unittest/intention/scheduler/src/ |
H A D | timer_manager_test.cpp | 203 ev.data.ptr = eventData; in AddEpoll() 207 ev.data.ptr = nullptr; in AddEpoll() 340 auto epollEvent = reinterpret_cast<device_status_epoll_event*>(ev[i].data.ptr); in OnThread() 360 DelegateTasks::TaskData data {}; in OnDelegateTask() 361 ssize_t res = read(delegateTasks_.GetReadFd(), &data, sizeof(data)); in OnDelegateTask() 366 ", taskId:%{public}d", GetThisThreadId(), data.tid, data.taskId); in OnDelegateTask()
|
/base/startup/init/test/unittest/ueventd/ |
H A D | ueventd_event_unittest.cpp | 36 std::string g_testRoot{"/data/ueventd"}; 89 // Remove test data in TearDownTestCase() 158 // Changing working directory to "/data/ueventd" in SwitchRoot() 179 // extra data used to break uevent buffer to check 209 for (const auto &data : extraData) { in GenerateUeventBuffer() 210 ueventdBuffer.append(data); in GenerateUeventBuffer() 256 ParseUeventMessage(ueventBuffer.data(), ueventBuffer.length(), &outEvent); in HWTEST_F() 285 ParseUeventMessage(ueventBuffer.data(), ueventBuffer.length(), &outEvent); in HWTEST_F() 489 char path[] = {"/data/ueventd"}; in HWTEST_F() 516 ParseUeventMessage(ueventBuffer.data(), ueventBuffe in HWTEST_F() [all...] |
/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/ |
H A D | ril_sms_test.cpp | 528 ModeData data; in HWTEST_F() local 529 data.result = TEST_RESULT; in HWTEST_F() 530 data.mode = TEST_MODE; in HWTEST_F() 531 int32_t ret = g_rilInterface->SendSmsAck(SLOTID_1, RilTestUtil::GetSerialId(), data); in HWTEST_F() 547 ModeData data; in HWTEST_F() local 548 data.result = TEST_RESULT; in HWTEST_F() 549 data.mode = TEST_MODE; in HWTEST_F() 550 int32_t ret = g_rilInterface->SendSmsAck(SLOTID_2, RilTestUtil::GetSerialId(), data); in HWTEST_F()
|
/test/xts/acts/graphic/graphicvulkannapitest/ |
H A D | VulkanTest.cpp | 140 instanceCreateInfo.ppEnabledExtensionNames = instanceExtensions.data(); in TrytoCreateVkInstance() 375 err = vkEnumeratePhysicalDevices(instance_, &gpuCount, physicalDevices.data()); in HWTEST_F() 416 deviceCreateInfo.pQueueCreateInfos = queueCreateInfos.data(); in HWTEST_F() 421 deviceCreateInfo.ppEnabledExtensionNames = deviceExtensions.data(); in HWTEST_F() 458 deviceCreateInfo.pQueueCreateInfos = queueCreateInfos.data(); in HWTEST_F() 463 deviceCreateInfo.ppEnabledExtensionNames = deviceExtensions.data(); in HWTEST_F() 511 deviceCreateInfo.pQueueCreateInfos = queueCreateInfos.data(); in HWTEST_F() 516 deviceCreateInfo.ppEnabledExtensionNames = deviceExtensions.data(); in HWTEST_F()
|
/third_party/ffmpeg/libavcodec/ |
H A D | lcldec.c | 65 // Decompressed data size 103 // this at least avoids uninitialized data. in mszh_decomp() 128 * @brief decompress a zlib-compressed data block into decomp_buf 130 * @param src_len data length in input buffer 167 const uint8_t *buf = avpkt->data; in decode_frame() 172 unsigned char *encoded = avpkt->data, *outptr; in decode_frame() 186 outptr = frame->data[0]; // Output image pointer in decode_frame() 384 y_out = frame->data[0] + (height - 1) * frame->linesize[0]; in decode_frame() 386 u_out = FF_PTR_ADD(frame->data[1], offset); in decode_frame() 388 v_out = FF_PTR_ADD(frame->data[ in decode_frame() [all...] |
H A D | gifdec.c | 51 * obtained from lzw-encoded data stream */ 90 uint32_t *p = (uint32_t *)picture->data[0]; in gif_fill() 100 const uint32_t *py = (uint32_t *)picture->data[0] + t * linesize; in gif_fill_rect() 218 gif_copy_img_rect(s->stored_img, (uint32_t *)frame->data[0], in gif_read_image() 238 gif_copy_img_rect((uint32_t *)frame->data[0], s->stored_img, in gif_read_image() 247 /* now get the image data */ in gif_read_image() 257 ptr1 = (uint32_t *)frame->data[0] + top * linesize + left; in gif_read_image() 304 /* read the garbage data until end marker is found */ in gif_read_image() 474 bytestream2_init(&s->gb, avpkt->data, avpkt->size); in gif_decode_frame() 481 s->keyframe = memcmp(avpkt->data, gif87a_si in gif_decode_frame() [all...] |
H A D | psd.c | 57 uint64_t line_size;/* length of src data (even width) */ 74 if (bytestream2_get_bytes_left(&s->gb) < 30) {/* File header section + color map data section length */ in decode_header() 154 /* color map data */ in decode_header() 157 av_log(s->avctx, AV_LOG_ERROR, "Negative size for color map data section.\n"); in decode_header() 191 av_log(s->avctx, AV_LOG_ERROR, "Negative size for layers and masks data section.\n"); in decode_header() 203 av_log(s->avctx, AV_LOG_ERROR, "File without image data section.\n"); in decode_header() 239 av_log(s->avctx, AV_LOG_ERROR, "Not enough data for rle scanline table.\n"); in decode_rle() 244 /* decode rle data scanline by scanline */ in decode_rle() 255 av_log(s->avctx, AV_LOG_ERROR, "Not enough data for rle scanline.\n"); in decode_rle() 271 av_log(s->avctx, AV_LOG_ERROR, "Not enough data fo in decode_rle() [all...] |
/third_party/ffmpeg/doc/examples/ |
H A D | muxing.c | 315 int16_t *q = (int16_t*)frame->data[0]; in get_audio_frame() 368 ost->frame->data, dst_nb_samples, in write_audio_frame() 369 (const uint8_t **)frame->data, frame->nb_samples); in write_audio_frame() 399 /* allocate the buffers for the frame data */ in alloc_picture() 402 fprintf(stderr, "Could not allocate frame data.\n"); in alloc_picture() 464 pict->data[0][y * pict->linesize[0] + x] = x + y + i * 3; in fill_yuv_image() 469 pict->data[1][y * pict->linesize[1] + x] = 128 + y + i * 2; in fill_yuv_image() 470 pict->data[2][y * pict->linesize[2] + x] = 64 + x + i * 5; in fill_yuv_image() 505 sws_scale(ost->sws_ctx, (const uint8_t * const *) ost->tmp_frame->data, in get_video_frame() 506 ost->tmp_frame->linesize, 0, c->height, ost->frame->data, in get_video_frame() [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | avf_showvolume.c | 247 uint8_t *p = pic->data[0] + (y + i * 10) * pic->linesize[0] + x * 4; in drawtext() 255 uint8_t *p = pic->data[0] + y * pic->linesize[0] + (x + i * 8) * 4; in drawtext() 274 uint32_t *dst = (uint32_t *)(s->out->data[0] + i * s->out->linesize[0]); in clear_picture() 310 uint8_t *dst = s->out->data[0] + max_draw * s->out->linesize[0] + channel * (s->b + s->h) * 4; in draw_max_line() 316 uint8_t *dst = s->out->data[0] + (channel * s->h + channel * s->b + k) * s->out->linesize[0]; in draw_max_line() 346 uint8_t *dst = s->out->data[0] + j * s->out->linesize[0]; in filter_frame() 374 uint8_t *dst = s->out->data[0] + j * s->out->linesize[0] + c * (s->b + s->h) * 4; in filter_frame() 409 uint8_t *dst = s->out->data[0] + (c * s->h + c * s->b + j) * s->out->linesize[0]; in filter_frame()
|
/third_party/ffmpeg/libavdevice/ |
H A D | kmsgrab.c | 74 static void kmsgrab_free_desc(void *opaque, uint8_t *data) in kmsgrab_free_desc() argument 76 AVDRMFrameDescriptor *desc = (AVDRMFrameDescriptor*)data; in kmsgrab_free_desc() 85 static void kmsgrab_free_frame(void *opaque, uint8_t *data) in kmsgrab_free_frame() argument 87 AVFrame *frame = (AVFrame*)data; in kmsgrab_free_frame() 334 frame->data[0] = (uint8_t*)desc; in kmsgrab_read_packet() 350 pkt->data = (uint8_t*)frame; in kmsgrab_read_packet() 426 ctx->device = (AVHWDeviceContext*) ctx->device_ref->data; in kmsgrab_read_header() 641 ctx->frames = (AVHWFramesContext*)ctx->frames_ref->data; in kmsgrab_read_header()
|
/third_party/ffmpeg/libavfilter/dnn/ |
H A D | dnn_backend_native.c | 348 av_freep(&oprd->data); in execute_model_native() 351 av_log(ctx, AV_LOG_ERROR, "The input data length overflow\n"); in execute_model_native() 355 oprd->data = av_malloc(oprd->length); in execute_model_native() 356 if (!oprd->data) { in execute_model_native() 357 av_log(ctx, AV_LOG_ERROR, "Failed to malloc memory for input data\n"); in execute_model_native() 365 input.data = oprd->data; in execute_model_native() 412 output.data = oprd->data; in execute_model_native() 539 av_freep(&native_model->operands[operand].data); in ff_dnn_free_model_native() [all...] |