Home
last modified time | relevance | path

Searched refs:src (Results 1826 - 1850 of 7049) sorted by relevance

1...<<71727374757677787980>>...282

/third_party/skia/src/gpu/text/
H A DGrAtlasManager.cpp8 #include "src/gpu/text/GrAtlasManager.h"
10 #include "src/codec/SkMasks.h"
11 #include "src/core/SkAutoMalloc.h"
12 #include "src/gpu/GrGlyph.h"
13 #include "src/gpu/GrImageInfo.h"
14 #include "src/gpu/text/GrStrikeCache.h"
39 const uint8_t* src, in expand_bits()
46 const uint8_t* s = src; in expand_bits()
55 src += srcRowBytes; in expand_bits()
63 const void* src local
38 expand_bits(INT_TYPE* dst, const uint8_t* src, int width, int height, int dstRowBytes, int srcRowBytes) expand_bits() argument
[all...]
/third_party/openssl/providers/implementations/macs/
H A Dhmac_prov.c104 struct hmac_data_st *src = vsrc; in hmac_dup() local
110 dst = hmac_new(src->provctx); in hmac_dup()
115 *dst = *src; in hmac_dup()
120 if (!HMAC_CTX_copy(dst->ctx, src->ctx) in hmac_dup()
121 || !ossl_prov_digest_copy(&dst->digest, &src->digest)) { in hmac_dup()
125 if (src->key != NULL) { in hmac_dup()
127 dst->key = OPENSSL_secure_malloc(src->keylen > 0 ? src->keylen : 1); in hmac_dup()
132 memcpy(dst->key, src->key, src in hmac_dup()
[all...]
/third_party/skia/third_party/externals/tint/src/resolver/
H A Dbitcast_validation_test.cc15 #include "src/ast/bitcast_expression.h"
16 #include "src/resolver/resolver.h"
17 #include "src/resolver/resolver_test_helper.h"
83 auto src = std::get<0>(GetParam()); in TEST_P() local
86 auto* cast = Bitcast(dst.ast(*this), src.expr(*this, 0)); in TEST_P()
117 auto src = std::get<0>(GetParam()); in TEST_P() local
120 auto* cast = Bitcast(dst.ast(*this), Expr(Source{{12, 34}}, "src")); in TEST_P()
121 WrapInFunction(Const("src", nullptr, src.expr(*this, 0)), cast); in TEST_P()
123 auto expected = "12:34 error: '" + src in TEST_P()
154 auto src = std::get<0>(GetParam()); TEST_P() local
193 auto src = std::get<0>(GetParam()); TEST_P() local
[all...]
/third_party/vulkan-loader/tests/framework/shim/
H A Dshim_common.cpp74 D3DKMT_Adapter& D3DKMT_Adapter::add_driver_manifest_path(fs::path const& src) { return add_path(src, driver_paths); } argument
75 D3DKMT_Adapter& D3DKMT_Adapter::add_implicit_layer_manifest_path(fs::path const& src) { argument
76 return add_path(src, implicit_layer_paths);
78 D3DKMT_Adapter& D3DKMT_Adapter::add_explicit_layer_manifest_path(fs::path const& src) { argument
79 return add_path(src, explicit_layer_paths);
82 D3DKMT_Adapter& D3DKMT_Adapter::add_path(fs::path src, std::vector<std::wstring>& dest) { argument
84 dest_path.resize(src.size());
85 MultiByteToWideChar(CP_UTF8, 0, src.c_str(), static_cast<int>(src
[all...]
/third_party/ffmpeg/libavcodec/
H A Dhqx.c395 ctx->src + slice_off[slice_no], in decode_slice_thread()
407 const uint8_t *src = avpkt->data; in hqx_decode_frame() local
417 info_tag = AV_RL32(src); in hqx_decode_frame()
419 uint32_t info_offset = AV_RL32(src + 4); in hqx_decode_frame()
426 ff_canopus_parse_info_tag(avctx, src + 8, info_offset); in hqx_decode_frame()
429 src += info_offset; in hqx_decode_frame()
432 data_start = src - avpkt->data; in hqx_decode_frame()
434 ctx->src = src; in hqx_decode_frame()
442 if (src[ in hqx_decode_frame()
[all...]
H A Dargo.c180 uint8_t *src; in decode_mad1() local
215 src = frame->data[0] + mx + l * my; in decode_mad1()
221 src += (bsize_h - 1) * l; in decode_mad1()
224 memmove(dst, src, bsize_w); in decode_mad1()
225 src -= l; in decode_mad1()
230 memmove(dst, src, bsize_w); in decode_mad1()
231 src += l; in decode_mad1()
393 uint32_t *src; in decode_mad1_24() local
428 src = (uint32_t *)frame->data[0] + mx + l * my; in decode_mad1_24()
434 src in decode_mad1_24()
469 uint32_t *src = (uint32_t *)frame->data[0]; decode_mad1_24() local
[all...]
H A Dg2meet.c206 static void jpg_unescape(const uint8_t *src, int src_size, in jpg_unescape() argument
209 const uint8_t *src_end = src + src_size; in jpg_unescape()
212 while (src < src_end) { in jpg_unescape()
213 uint8_t x = *src++; in jpg_unescape()
217 if (x == 0xFF && !*src) in jpg_unescape()
218 src++; in jpg_unescape()
271 const uint8_t *src, int src_size, in jpg_decode_data()
286 jpg_unescape(src, src_size, c->buf, &unesc_size); in jpg_decode_data()
865 const uint8_t *src, size_t src_size, in epic_jb_decode_tile()
877 prefix = *src in epic_jb_decode_tile()
270 jpg_decode_data(JPGContext *c, int width, int height, const uint8_t *src, int src_size, uint8_t *dst, int dst_stride, const uint8_t *mask, int mask_stride, int num_mbs, int swapuv) jpg_decode_data() argument
864 epic_jb_decode_tile(G2MContext *c, int tile_x, int tile_y, const uint8_t *src, size_t src_size, AVCodecContext *avctx) epic_jb_decode_tile() argument
1015 kempf_restore_buf(const uint8_t *src, int len, uint8_t *dst, int stride, const uint8_t *jpeg_tile, int tile_stride, int width, int height, const uint8_t *pal, int npal, int tidx) kempf_restore_buf() argument
1050 kempf_decode_tile(G2MContext *c, int tile_x, int tile_y, const uint8_t *src, int src_size) kempf_decode_tile() argument
[all...]
/third_party/ffmpeg/libavutil/
H A Dhwcontext_dxva2.c276 static int dxva2_map_frame(AVHWFramesContext *ctx, AVFrame *dst, const AVFrame *src, in dxva2_map_frame() argument
279 IDirect3DSurface9 *surface = (IDirect3DSurface9*)src->data[3]; in dxva2_map_frame()
312 err = ff_hwframe_map_create(src->hw_frames_ctx, dst, src, in dxva2_map_frame()
335 const AVFrame *src) in dxva2_transfer_data_to()
340 if (src->format != ctx->sw_format) in dxva2_transfer_data_to()
352 av_image_copy(map->data, map->linesize, (const uint8_t **)src->data, src->linesize, in dxva2_transfer_data_to()
353 ctx->sw_format, src->width, src in dxva2_transfer_data_to()
334 dxva2_transfer_data_to(AVHWFramesContext *ctx, AVFrame *dst, const AVFrame *src) dxva2_transfer_data_to() argument
360 dxva2_transfer_data_from(AVHWFramesContext *ctx, AVFrame *dst, const AVFrame *src) dxva2_transfer_data_from() argument
390 dxva2_map_from(AVHWFramesContext *ctx, AVFrame *dst, const AVFrame *src, int flags) dxva2_map_from() argument
[all...]
/third_party/lzma/C/Util/7z/
H A D7zMain.c70 static size_t Utf16_To_Utf8_Calc(const UInt16 *src, const UInt16 *srcLim) in Utf16_To_Utf8_Calc() argument
76 if (src == srcLim) in Utf16_To_Utf8_Calc()
80 val = *src++; in Utf16_To_Utf8_Calc()
91 if (val >= 0xD800 && val < 0xDC00 && src != srcLim) in Utf16_To_Utf8_Calc()
93 const UInt32 c2 = *src; in Utf16_To_Utf8_Calc()
96 src++; in Utf16_To_Utf8_Calc()
106 static Byte *Utf16_To_Utf8(Byte *dest, const UInt16 *src, const UInt16 *srcLim) in Utf16_To_Utf8() argument
111 if (src == srcLim) in Utf16_To_Utf8()
114 val = *src++; in Utf16_To_Utf8()
130 if (val >= 0xD800 && val < 0xDC00 && src ! in Utf16_To_Utf8()
153 Utf16_To_Utf8Buf(CBuf *dest, const UInt16 *src, size_t srcLen) Utf16_To_Utf8Buf() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_qir.c168 if (inst->src[i].file == QFILE_VARY && in qir_has_side_effect_reads()
169 c->input_slots[inst->src[i].index].slot == 0xff) { in qir_has_side_effect_reads()
173 if (inst->src[i].file == QFILE_VPM) in qir_has_side_effect_reads()
187 if (inst->src[i].file == QFILE_UNIF) in qir_has_uniform_read()
240 !inst->src[0].pack); in qir_is_raw_mov()
491 qir_print_reg(c, inst->src[i], false); in qir_dump_inst()
492 vc4_qpu_disasm_unpack(stderr, inst->src[i].pack); in qir_dump_inst()
594 inst->src[0] = src0; in qir_inst()
595 inst->src[1] = src1; in qir_inst()
729 !c->defs[reg.index]->src[ in qir_follow_movs()
797 qir_SF(struct vc4_compile *c, struct qreg src) qir_SF() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
H A Dsfn_nir_lower_tess_io.cpp125 auto idx1 = nir_src_as_const_value(op->src[0]); in emil_lsd_in_addr()
128 op->src[0].ssa, addr); in emil_lsd_in_addr()
132 auto idx2 = nir_src_as_const_value(op->src[1]); in emil_lsd_in_addr()
134 offset = nir_iadd(b, nir_ishl(b, op->src[1].ssa, nir_imm_int(b, 4)), offset); in emil_lsd_in_addr()
148 op->src[src_offset].ssa, addr1); in emil_lsd_out_addr()
151 nir_ishl(b, op->src[src_offset + 1].ssa, nir_imm_int(b,4))), in emil_lsd_out_addr()
186 static bool update_alu_mask(nir_src *src, void *data) in update_alu_mask() argument
190 if (mq->ssa_index == src->ssa->index) { in update_alu_mask()
292 store_tcs_out->src[0] = nir_src_for_ssa(op->src[ in emit_store_lds()
[all...]
/third_party/node/src/
H A Djs_native_api_v8.h326 #define CHECK_TO_TYPE(env, type, context, result, src, status) \
328 CHECK_ARG((env), (src)); \
329 auto maybe = v8impl::V8LocalValueFromJsValue((src))->To##type((context)); \
334 #define CHECK_TO_TYPE_WITH_PREAMBLE(env, type, context, result, src, status) \
336 CHECK_ARG_WITH_PREAMBLE((env), (src)); \
337 auto maybe = v8impl::V8LocalValueFromJsValue((src))->To##type((context)); \
342 #define CHECK_TO_FUNCTION(env, result, src) \
344 CHECK_ARG((env), (src)); \
345 v8::Local<v8::Value> v8value = v8impl::V8LocalValueFromJsValue((src)); \
350 #define CHECK_TO_OBJECT(env, context, result, src) \
[all...]
H A Dstring_bytes.cc250 const TypeName* src, in hex_decode()
254 unsigned a = unhex(static_cast<uint8_t>(src[i * 2 + 0])); in hex_decode()
255 unsigned b = unhex(static_cast<uint8_t>(src[i * 2 + 1])); in hex_decode()
469 static void force_ascii_slow(const char* src, char* dst, size_t len) { in force_ascii_slow() argument
471 dst[i] = src[i] & 0x7f; in force_ascii_slow()
476 static void force_ascii(const char* src, char* dst, size_t len) { in force_ascii() argument
478 force_ascii_slow(src, dst, len); in force_ascii()
484 const unsigned src_unalign = reinterpret_cast<uintptr_t>(src) & align_mask; in force_ascii()
490 force_ascii_slow(src, dst, unalign); in force_ascii()
491 src in force_ascii()
248 hex_decode(char* buf, size_t len, const TypeName* src, const size_t srcLen) hex_decode() argument
521 hex_encode( const char* src, size_t slen, char* dst, size_t dlen) hex_encode() argument
541 hex_encode(const char* src, size_t slen) hex_encode() argument
[all...]
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_vX_nir_lower_descriptors.c266 assert(intrin->src[0].is_ssa); in lower_res_intrinsic()
269 intrin->src[0].ssa, in lower_res_intrinsic()
274 assert(intrin->src[0].is_ssa && intrin->src[1].is_ssa); in lower_res_intrinsic()
275 res = build_res_reindex(b, intrin->src[0].ssa, in lower_res_intrinsic()
276 intrin->src[1].ssa, in lower_res_intrinsic()
281 assert(intrin->src[0].is_ssa); in lower_res_intrinsic()
282 res = build_buffer_addr_for_res_index(b, intrin->src[0].ssa, in lower_res_intrinsic()
308 assert(intrin->src[0].is_ssa); in lower_get_ssbo_size()
309 nir_ssa_def *desc = build_buffer_addr_for_res_index(b, intrin->src[ in lower_get_ssbo_size()
[all...]
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/
H A Dregalloc.c188 ppir_node *node, ppir_src *src, in ppir_update_spilled_src()
197 int num_components = src->reg->num_components; in ppir_update_spilled_src()
222 ppir_node_target_assign(src, load_node); in ppir_update_spilled_src()
240 move_alu->src->type = ppir_target_pipeline; in ppir_update_spilled_src()
241 move_alu->src->pipeline = ppir_pipeline_reg_uniform; in ppir_update_spilled_src()
243 move_alu->src->swizzle[i] = i; in ppir_update_spilled_src()
269 /* switch node src to use the fill node dest */ in ppir_update_spilled_src()
270 ppir_node_target_assign(src, *fill_node); in ppir_update_spilled_src()
314 move_alu->src->type = ppir_target_pipeline; in ppir_update_spilled_dest_load()
315 move_alu->src in ppir_update_spilled_dest_load()
187 ppir_update_spilled_src(ppir_compiler *comp, ppir_block *block, ppir_node *node, ppir_src *src, ppir_node **fill_node) ppir_update_spilled_src() argument
399 ppir_src *src = ppir_node_get_src(node, i); ppir_regalloc_spill_reg() local
443 ppir_src *src = ppir_node_get_src(node, j); ppir_regalloc_choose_spill_node() local
[all...]
/third_party/mesa3d/src/nouveau/codegen/
H A Dnv50_ir_target_nv50.cpp279 DataFile sf = ld->src(0).getFile(); in insnCanLoad()
289 i->src(0).getFile() != FILE_MEMORY_GLOBAL)); in insnCanLoad()
297 if (s == 2 && i->src(1).getFile() != FILE_GPR) in insnCanLoad()
309 DataFile zf = (z == s) ? sf : i->src(z).getFile(); in insnCanLoad()
354 if (ld->src(0).isIndirect(0)) in insnCanLoad()
379 if (ld->src(0).isIndirect(0)) { in insnCanLoad()
381 if (i->src(z).isIndirect(0)) in insnCanLoad()
396 return i->src(s).getFile() != FILE_SHADER_INPUT; in insnCanLoad()
407 if (!i->src(s).isIndirect(0)) in insnCanLoadOffset()
409 offset += i->src( in insnCanLoadOffset()
[all...]
/third_party/node/deps/openssl/openssl/crypto/srp/
H A Dsrp_vfy.c44 static int t_fromb64(unsigned char *a, size_t alen, const char *src) in t_fromb64() argument
51 while (*src == ' ' || *src == '\t' || *src == '\n') in t_fromb64()
52 ++src; in t_fromb64()
53 size = strlen(src); in t_fromb64()
57 /* Four bytes in src become three bytes output. */ in t_fromb64()
91 if (EVP_DecodeUpdate(ctx, a, &outl2, (const unsigned char *)src, size) < 0) { in t_fromb64()
133 static int t_tob64(char *dst, const unsigned char *src, int size) in t_tob64() argument
160 if (!EVP_EncodeUpdate(ctx, (unsigned char *)dst + outl, &outl2, src, in t_tob64()
260 srp_user_pwd_dup(SRP_user_pwd *src) srp_user_pwd_dup() argument
[all...]
/third_party/openssl/crypto/srp/
H A Dsrp_vfy.c44 static int t_fromb64(unsigned char *a, size_t alen, const char *src) in t_fromb64() argument
51 while (*src == ' ' || *src == '\t' || *src == '\n') in t_fromb64()
52 ++src; in t_fromb64()
53 size = strlen(src); in t_fromb64()
57 /* Four bytes in src become three bytes output. */ in t_fromb64()
91 if (EVP_DecodeUpdate(ctx, a, &outl2, (const unsigned char *)src, size) < 0) { in t_fromb64()
133 static int t_tob64(char *dst, const unsigned char *src, int size) in t_tob64() argument
160 if (!EVP_EncodeUpdate(ctx, (unsigned char *)dst + outl, &outl2, src, in t_tob64()
262 srp_user_pwd_dup(SRP_user_pwd *src) srp_user_pwd_dup() argument
[all...]
/third_party/vk-gl-cts/framework/common/
H A DtcuTextureUtil.cpp1134 void copy (const PixelBufferAccess& dst, const ConstPixelBufferAccess& src, const bool clearUnused)
1136 DE_ASSERT(src.getSize() == dst.getSize());
1142 const int srcPixelSize = src.getFormat().getPixelSize();
1144 const int srcPixelPitch = src.getPixelPitch();
1149 const bool srcHasDepth = (src.getFormat().order == tcu::TextureFormat::DS || src.getFormat().order == tcu::TextureFormat::D);
1150 const bool srcHasStencil = (src.getFormat().order == tcu::TextureFormat::DS || src.getFormat().order == tcu::TextureFormat::S);
1154 if (src.getFormat() == dst.getFormat() && srcTightlyPacked && dstTightlyPacked)
1159 deMemcpy(dst.getPixelPtr(0, y, z), src
[all...]
/third_party/ffmpeg/libavfilter/
H A Daf_astats.c195 AudioStatsContext *s = outlink->src->priv; in config_output()
551 const type *src = (const type *)data[c]; \
552 const type * const srcend = src + samples; \
553 for (; src < srcend; src++) { \
563 const type *src = (const type *)data[0]; \
564 const type * const srcend = src + samples * channels; \
565 for (src += c; src < srcend; src
[all...]
/third_party/icu/icu4c/source/test/cintltst/
H A Didnatest.c47 (U_EXPORT2 *TestFunc) ( const UChar *src, int32_t srcLength,
74 testAPI(const UChar* src, const UChar* expected, const char* testName, in testAPI() argument
88 if(src != NULL){ in testAPI()
89 tSrcLen = u_strlen(src); in testAPI()
91 memcpy(tSrc,src,tSrcLen * U_SIZEOF_UCHAR); in testAPI()
96 destLen = func(src,-1,NULL,0,options, &parseError , &status); in testAPI()
101 destLen = func(src,-1,dest,destLen+1,options, &parseError, &status); in testAPI()
118 destLen = func(src,-1,NULL,0,options | UIDNA_ALLOW_UNASSIGNED, &parseError, &status); in testAPI()
123 destLen = func(src,-1,dest,destLen+1,options | UIDNA_ALLOW_UNASSIGNED, &parseError, &status); in testAPI()
147 destLen = func(src,u_strle in testAPI()
604 UChar* src; TestCompare() local
685 const UChar* src = input[i]; TestJB4475() local
[all...]
/third_party/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
H A DCollationPerformanceTest.java1154 void qSortImpl_java_usekeys(String src[], int fromIndex, int toIndex, java.text.Collator c) { in qSortImpl_java_usekeys() argument
1159 middle = src[ (low + high) / 2 ]; in qSortImpl_java_usekeys()
1161 while((low < toIndex) && (compare(c.getCollationKey(src[low]), c.getCollationKey(middle)) < 0)) { in qSortImpl_java_usekeys()
1164 while((high > fromIndex) && (compare(c.getCollationKey(src[high]), c.getCollationKey(middle)) > 0)) { in qSortImpl_java_usekeys()
1168 String swap = src[low]; in qSortImpl_java_usekeys()
1169 src[low] = src[high]; in qSortImpl_java_usekeys()
1170 src[high] = swap; in qSortImpl_java_usekeys()
1176 qSortImpl_java_usekeys(src, fromIndex, high, c); in qSortImpl_java_usekeys()
1180 qSortImpl_java_usekeys(src, lo in qSortImpl_java_usekeys()
1185 qSortImpl_icu_usekeys(String src[], int fromIndex, int toIndex, com.ibm.icu.text.Collator c) qSortImpl_icu_usekeys() argument
1216 qSortImpl_nokeys(String src[], int fromIndex, int toIndex, Comparator c) qSortImpl_nokeys() argument
[all...]
/third_party/typescript/tests/baselines/reference/tsbuild/outfile-concat/
H A DstripInternal-baseline-when-internal-is-inside-another-internal.js17 //// [/src/first/first_PART1.ts]
58 //// [/src/first/first_part2.ts]
62 //// [/src/first/first_part3.ts]
67 //// [/src/first/tsconfig.json]
89 //// [/src/second/second_part1.ts]
103 //// [/src/second/second_part2.ts]
111 //// [/src/second/tsconfig.json]
129 //// [/src/third/third_part1.ts]
134 //// [/src/third/tsconfig.json]
161 /lib/tsc --b /src/thir
[all...]
H A Dwhen-final-project-is-not-composite-but-incremental.js17 //// [/src/first/first_PART1.ts]
31 //// [/src/first/first_part2.ts]
35 //// [/src/first/first_part3.ts]
40 //// [/src/first/tsconfig.json]
62 //// [/src/second/second_part1.ts]
76 //// [/src/second/second_part2.ts]
84 //// [/src/second/tsconfig.json]
102 //// [/src/third/third_part1.ts]
107 //// [/src/third/tsconfig.json]
133 /lib/tsc --b /src/thir
[all...]
H A Dwhen-final-project-specifies-tsBuildInfoFile.js17 //// [/src/first/first_PART1.ts]
31 //// [/src/first/first_part2.ts]
35 //// [/src/first/first_part3.ts]
40 //// [/src/first/tsconfig.json]
62 //// [/src/second/second_part1.ts]
76 //// [/src/second/second_part2.ts]
84 //// [/src/second/tsconfig.json]
102 //// [/src/third/third_part1.ts]
107 //// [/src/third/tsconfig.json]
134 /lib/tsc --b /src/thir
[all...]

Completed in 22 milliseconds

1...<<71727374757677787980>>...282