/kernel/linux/linux-6.6/net/mctp/test/ |
H A D | route-test.c | 143 hdr.src = 8; in mctp_test_fragment() 179 KUNIT_EXPECT_EQ(test, hdr2->src, hdr.src); in mctp_test_fragment() 263 { .ver = _ver, .src = _src, .dest = _dest, .flags_seq_tag = _fst } 275 sprintf(desc, "{%x,%x,%x,%x}", t->hdr.ver, t->hdr.src, t->hdr.dest, in mctp_rx_input_test_to_desc() 387 sprintf(desc, "{%x,%x,%x,%x} type %d", t->hdr.ver, t->hdr.src, in mctp_route_input_sk_to_desc() 609 .name = "flipped src/dest",
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_afftfilt.c | 318 float *src = (float *)s->window->extended_data[ch]; in filter_frame() local 321 memmove(src, &src[s->hop_size], offset * sizeof(float)); in filter_frame() 322 memcpy(&src[offset], in->extended_data[ch], in->nb_samples * sizeof(float)); in filter_frame() 323 memset(&src[offset + in->nb_samples], 0, (s->hop_size - in->nb_samples) * sizeof(float)); in filter_frame() 326 fft_in[n].re = src[n] * window_lut[n]; in filter_frame()
|
H A D | vf_scale_cuda.c | 350 AVFilterContext *ctx = outlink->src; in cudascale_config_props() 351 AVFilterLink *inlink = outlink->src->inputs[0]; in cudascale_config_props() 507 AVFrame *src = in; in cudascale_scale() local 510 ret = scalecuda_resize(ctx, s->frame, src); in cudascale_scale() 514 src = s->frame; in cudascale_scale() 515 ret = av_hwframe_get_buffer(src->hw_frames_ctx, s->tmp_frame, 0); in cudascale_scale()
|
/third_party/ffmpeg/libavcodec/ |
H A D | ralf.c | 422 const uint8_t *src, *block_pointer; in decode_frame() local 438 src = ctx->pkt; in decode_frame() 450 src = avpkt->data; in decode_frame() 464 table_size = AV_RB16(src); in decode_frame() 470 init_get_bits(&gb, src + 2, table_size); in decode_frame() 484 block_pointer = src + table_bytes + 2; in decode_frame()
|
H A D | xan.c | 115 const uint8_t *src, int src_len) in xan_huffman_decode() 117 uint8_t byte = *src++; in xan_huffman_decode() 119 const uint8_t * ptr = src + byte*2; in xan_huffman_decode() 137 val = src[idx]; in xan_huffman_decode() 156 const uint8_t *src, int src_len) in xan_unpack() 164 bytestream2_init(&ctx, src, src_len); in xan_unpack() 114 xan_huffman_decode(uint8_t *dest, int dest_len, const uint8_t *src, int src_len) xan_huffman_decode() argument 155 xan_unpack(uint8_t *dest, int dest_len, const uint8_t *src, int src_len) xan_unpack() argument
|
/third_party/alsa-lib/include/ |
H A D | control.h | 462 void snd_ctl_elem_id_copy(snd_ctl_elem_id_t *dst, const snd_ctl_elem_id_t *src); 496 void snd_ctl_card_info_copy(snd_ctl_card_info_t *dst, const snd_ctl_card_info_t *src); 514 void snd_ctl_event_copy(snd_ctl_event_t *dst, const snd_ctl_event_t *src); 533 void snd_ctl_elem_list_copy(snd_ctl_elem_list_t *dst, const snd_ctl_elem_list_t *src); 554 void snd_ctl_elem_info_copy(snd_ctl_elem_info_t *dst, const snd_ctl_elem_info_t *src); 645 void snd_ctl_elem_value_copy(snd_ctl_elem_value_t *dst, const snd_ctl_elem_value_t *src);
|
/third_party/mesa3d/src/compiler/spirv/ |
H A D | vtn_private.h | 925 struct vtn_ssa_value *src); 939 vtn_local_load(struct vtn_builder *b, nir_deref_instr *src, 942 void vtn_local_store(struct vtn_builder *b, struct vtn_ssa_value *src, 947 vtn_variable_load(struct vtn_builder *b, struct vtn_pointer *src, 950 void vtn_variable_store(struct vtn_builder *b, struct vtn_ssa_value *src, 1057 vtn_mediump_downconvert_value(struct vtn_builder *b, struct vtn_ssa_value *src);
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_cmd.h | 169 struct pipe_surface *src, 176 struct pipe_surface *src, 702 struct svga_winsys_surface *src, 708 struct svga_winsys_surface *src, 718 struct svga_winsys_surface *src, 727 struct svga_winsys_surface *src,
|
/third_party/node/src/ |
H A D | node_blob.cc | 163 unsigned char* src = static_cast<unsigned char*>(entry.store->Data()); in GetArrayBuffer() local 164 src += entry.offset; in GetArrayBuffer() 165 memcpy(dest, src, entry.length); in GetArrayBuffer() 343 unsigned char* src = static_cast<unsigned char*>(entry.store->Data()); in DoThreadPoolWork() local 344 src += entry.offset; in DoThreadPoolWork() 345 memcpy(dest, src, entry.length); in DoThreadPoolWork()
|
/third_party/nghttp2/src/ |
H A D | memchunk.h | 171 size_t append(const void *src, size_t count) { in append() 176 auto first = static_cast<const uint8_t *>(src); in append() 458 size_t append(const void *src, size_t count) { in append() 459 count = memchunks.append(src, count); in append() 628 size_t write(const void *src, size_t count) { in write() 630 auto p = static_cast<const uint8_t *>(src); in write()
|
/third_party/lwip/src/include/lwip/ |
H A D | sockets.h | 608 const char *lwip_inet_ntop(int af, const void *src, char *dst, socklen_t size); 609 int lwip_inet_pton(int af, const char *src, void *dst); 677 #define inet_ntop(af,src,dst,size) lwip_inet_ntop(af,src,dst,size) 679 #define inet_pton(af,src,dst) lwip_inet_pton(af,src,dst)
|
/third_party/lwip/src/netif/ppp/ |
H A D | utils.c | 87 size_t ppp_strlcpy(char *dest, const char *src, size_t len) { in ppp_strlcpy() argument 88 size_t ret = strlen(src); in ppp_strlcpy() 92 strcpy(dest, src); in ppp_strlcpy() 94 strncpy(dest, src, len - 1); in ppp_strlcpy() 105 size_t ppp_strlcat(char *dest, const char *src, size_t len) { in ppp_strlcat() argument 108 return dlen + ppp_strlcpy(dest + dlen, src, (len > dlen? len - dlen: 0)); in ppp_strlcat()
|
/third_party/mesa3d/src/gallium/drivers/svga/include/ |
H A D | svga3d_cmd.h | 542 SVGA3dSurfaceImageId src; member 551 * The src/dest boxes are allowed to overlap. 565 SVGA3dSurfaceImageId src; member 1190 * This supports scaling if the src and dest are of different sizes. 1276 SVGA3dSurfaceImageId src; member 1293 SVGA3dSurfaceImageId src; member 1312 SVGA3dSurfaceImageId src; member 1348 SVGA3dSurfaceImageId src; member
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
H A D | d3d12_resource_state.cpp | 186 copy_resource_state(d3d12_resource_state *dest, d3d12_resource_state *src) in copy_resource_state() argument 188 assert(dest->num_subresources == src->num_subresources); in copy_resource_state() 189 if (src->homogenous) in copy_resource_state() 190 set_resource_state(dest, &src->subresource_states[0]); in copy_resource_state() 193 for (unsigned i = 0; i < src->num_subresources; ++i) in copy_resource_state() 194 dest->subresource_states[i] = src->subresource_states[i]; in copy_resource_state()
|
/third_party/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | radeon_pair_regalloc.c | 165 static void print_live_intervals(struct live_intervals * src) in print_live_intervals() argument 167 if (!src || !src->Used) { in print_live_intervals() 172 DBG("(%i,%i)", src->Start, src->End); in print_live_intervals() 316 struct rc_pair_instruction_source * src) in variable_get_class_read_cb() 312 variable_get_class_read_cb( void * userdata, struct rc_instruction * inst, struct rc_pair_instruction_arg * arg, struct rc_pair_instruction_source * src) variable_get_class_read_cb() argument
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/ |
H A D | vktFragmentOperationsScissorTests.cpp | 300 std::ostringstream src; in initPrograms() local 301 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms() 319 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()); in initPrograms() 324 std::ostringstream src; in initPrograms() local 325 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms() 335 programCollection.glslSources.add("frag") << glu::FragmentSource(src.str()); in initPrograms()
|
H A D | vktFragmentOperationsTransientAttachmentTests.cpp | 267 std::ostringstream src; in initPrograms() local 269 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms() 283 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()); in initPrograms() 288 std::ostringstream src; in initPrograms() local 290 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms() 303 programCollection.glslSources.add("frag") << glu::FragmentSource(src.str()); in initPrograms()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
H A D | vktImageAstcDecodeModeTests.cpp | 439 std::ostringstream src; in initPrograms() local 440 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms() 456 src << " reference = max(vec4(0,0,0,1), reference);\n" in initPrograms() 459 src << " float result_color = 0.5 * float(distance(tested, reference) < 0.01);\n"; in initPrograms() 461 src << " imageStore(result, pos, vec4(result_color));\n" in initPrograms() 464 programCollection.glslSources.add("comp") << glu::ComputeSource(src.str()); in initPrograms()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineDynamicVertexAttributeTests.cpp | 574 std::ostringstream src; in initPrograms() local 576 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms() 588 sourceCollections.glslSources.add("vert_" + std::to_string(i)) << glu::VertexSource(src.str()); in initPrograms() 594 std::ostringstream src; in initPrograms() local 596 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms() 606 sourceCollections.glslSources.add("frag") << glu::FragmentSource(src.str()); in initPrograms()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
H A D | vktDrawNegativeViewportHeightTests.cpp | 564 std::ostringstream src; in initPrograms() local 565 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms() 578 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()); in initPrograms() 583 std::ostringstream src; in initPrograms() local 584 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms() 596 programCollection.glslSources.add("frag") << glu::FragmentSource(src.str()); in initPrograms()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_ops/ |
H A D | vktFragmentOperationsScissorTests.cpp | 300 std::ostringstream src; in initPrograms() local 301 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms() 319 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()); in initPrograms() 324 std::ostringstream src; in initPrograms() local 325 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms() 335 programCollection.glslSources.add("frag") << glu::FragmentSource(src.str()); in initPrograms()
|
H A D | vktFragmentOperationsTransientAttachmentTests.cpp | 267 std::ostringstream src; in initPrograms() local 269 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms() 283 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()); in initPrograms() 288 std::ostringstream src; in initPrograms() local 290 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms() 303 programCollection.glslSources.add("frag") << glu::FragmentSource(src.str()); in initPrograms()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
H A D | vktImageAstcDecodeModeTests.cpp | 441 std::ostringstream src; in initPrograms() local 442 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms() 458 src << " reference = max(vec4(0,0,0,1), reference);\n" in initPrograms() 461 src << " float result_color = 0.5 * float(distance(tested, reference) < 0.01);\n"; in initPrograms() 463 src << " imageStore(result, pos, vec4(result_color));\n" in initPrograms() 466 programCollection.glslSources.add("comp") << glu::ComputeSource(src.str()); in initPrograms()
|
/third_party/skia/src/codec/ |
H A D | SkWebpCodec.cpp | 8 #include "src/codec/SkWebpCodec.h" 15 #include "src/codec/SkCodecPriv.h" 16 #include "src/codec/SkParseEncodedOrigin.h" 17 #include "src/codec/SkSampler.h" 18 #include "src/core/SkRasterPipeline.h" 19 #include "src/core/SkStreamPriv.h" 315 // Requires that the src input be unpremultiplied (or opaque). 317 SkColorType srcCT, const void* src, in blend_line() 322 src_ctx = { (void*)src, 0 }; in blend_line() 537 const uint8_t* src in onGetPixels() local 316 blend_line(SkColorType dstCT, void* dst, SkColorType srcCT, const void* src, SkAlphaType dstAt, bool srcHasAlpha, int width) blend_line() argument [all...] |
/third_party/skia/third_party/externals/libjpeg-turbo/ |
H A D | jdarith.c | 77 struct jpeg_source_mgr *src = cinfo->src; in get_byte() local 79 if (src->bytes_in_buffer == 0) in get_byte() 80 if (!(*src->fill_input_buffer) (cinfo)) in get_byte() 82 src->bytes_in_buffer--; in get_byte() 83 return *src->next_input_byte++; in get_byte()
|