/third_party/skia/third_party/externals/libwebp/src/dsp/ |
H A D | lossless_enc_sse41.c | 14 #include "src/dsp/dsp.h" 19 #include "src/dsp/lossless.h" 61 const uint32_t* const src = argb + y * stride; in CollectColorBlueTransforms_SSE41() local 62 const __m128i A1 = _mm_loadu_si128((const __m128i*)src); in CollectColorBlueTransforms_SSE41() 69 const __m128i A2 = _mm_loadu_si128((const __m128i*)(src + x)); in CollectColorBlueTransforms_SSE41() 105 const uint32_t* const src = argb + y * stride; in CollectColorRedTransforms_SSE41() local 106 const __m128i A1 = _mm_loadu_si128((const __m128i*)src); in CollectColorRedTransforms_SSE41() 112 const __m128i A2 = _mm_loadu_si128((const __m128i*)(src + x)); in CollectColorRedTransforms_SSE41()
|
/third_party/skia/third_party/externals/tint/src/ast/ |
H A D | call_expression_test.cc | 16 #include "src/ast/test_helper.h" 46 auto src = stmt->source; in TEST_F() local 47 EXPECT_EQ(src.range.begin.line, 20u); in TEST_F() 48 EXPECT_EQ(src.range.begin.column, 2u); in TEST_F() 73 auto src = stmt->source; in TEST_F() local 74 EXPECT_EQ(src.range.begin.line, 20u); in TEST_F() 75 EXPECT_EQ(src.range.begin.column, 2u); in TEST_F()
|
/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/parser/ |
H A D | parser_test.go | 20 "dawn.googlesource.com/tint/tools/src/cmd/intrinsic-gen/ast" 21 "dawn.googlesource.com/tint/tools/src/cmd/intrinsic-gen/parser" 26 src string 177 got, err := parser.Parse(test.src, "file.txt") 179 t.Errorf("While parsing:\n%s\nParse() returned error: %v", test.src, err) 185 t.Errorf("While parsing:\n%s\nGot:\n%s\nExpected:\n%s", test.src, gotStr, expectStr) 192 src string 202 got, err := parser.Parse(test.src, "test.txt")
|
/third_party/skia/third_party/externals/icu/source/config/ |
H A D | dist.mk | 33 DISTY_FILE_TGZ=$(DISTY_FILE_DIR)/$(DISTY_PREFIX)-$(DISTY_VER)-$(GITVER)-src.tgz 34 DISTY_FILE_ZIP=$(DISTY_FILE_DIR)/$(DISTY_PREFIX)-$(DISTY_VER)-$(GITVER)-src.zip 78 ln -sf $(shell basename $(DISTY_FILE_ZIP)) $(DISTY_FILE_DIR)/icu4c-src.zip 79 ln -sf $(shell basename $(DISTY_FILE_TGZ)) $(DISTY_FILE_DIR)/icu4c-src.tgz 81 ln -f $(DISTY_FILE_ZIP) $(DISTY_FILE_DIR)/icu4c-$(DISTY_VER)-src.zip 82 ln -f $(DISTY_FILE_TGZ) $(DISTY_FILE_DIR)/icu4c-$(DISTY_VER)-src.tgz
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/ |
H A D | sae_pk_gen.c | 25 char *b64 = NULL, *pw = NULL, *pos, *src; in main() local 137 src = pos = b64; in main() 138 while (*src) { in main() 139 if (*src != '\n') in main() 140 *pos++ = *src; in main() 141 src++; in main()
|
/third_party/ffmpeg/libavcodec/ |
H A D | proresenc_anatoliy.c | 326 static void calc_plane_dct(FDCTDSPContext *fdsp, uint8_t *src, int16_t * blocks, int src_stride, int mb_count, int chroma, int is_422) in calc_plane_dct() argument 335 fdct_get(fdsp, src, src_stride, block + (0 << 6)); in calc_plane_dct() 336 fdct_get(fdsp, src + 16, src_stride, block + (1 << 6)); in calc_plane_dct() 337 fdct_get(fdsp, src + 8 * src_stride, src_stride, block + (2 << 6)); in calc_plane_dct() 338 fdct_get(fdsp, src + 16 + 8 * src_stride, src_stride, block + (3 << 6)); in calc_plane_dct() 341 src += 32; in calc_plane_dct() 345 fdct_get(fdsp, src, src_stride, block + (0 << 6)); in calc_plane_dct() 346 fdct_get(fdsp, src + 8 * src_stride, src_stride, block + (1 << 6)); in calc_plane_dct() 348 src += (32 >> 1); in calc_plane_dct() 352 fdct_get(fdsp, src, src_strid in calc_plane_dct() 476 subimage_with_fill_template(uint16_t *src, unsigned x, unsigned y, unsigned stride, unsigned width, unsigned height, uint16_t *dst, unsigned dst_width, unsigned dst_height, int is_alpha_plane, int is_interlaced, int is_top_field) subimage_with_fill_template() argument 524 subimage_with_fill(uint16_t *src, unsigned x, unsigned y, unsigned stride, unsigned width, unsigned height, uint16_t *dst, unsigned dst_width, unsigned dst_height, int is_interlaced, int is_top_field) subimage_with_fill() argument 532 subimage_alpha_with_fill(uint16_t *src, unsigned x, unsigned y, unsigned stride, unsigned width, unsigned height, uint16_t *dst, unsigned dst_width, unsigned dst_height, int is_interlaced, int is_top_field) subimage_alpha_with_fill() argument 805 scale_mat(const uint8_t* src, int* dst, int scale) scale_mat() argument [all...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_meta_blit.c | 108 tex->src[0].src_type = nir_tex_src_coord; in build_nir_copy_fragment_shader() 109 tex->src[0].src = nir_src_for_ssa(tex_pos); in build_nir_copy_fragment_shader() 110 tex->src[1].src_type = nir_tex_src_texture_deref; in build_nir_copy_fragment_shader() 111 tex->src[1].src = nir_src_for_ssa(tex_deref); in build_nir_copy_fragment_shader() 112 tex->src[2].src_type = nir_tex_src_sampler_deref; in build_nir_copy_fragment_shader() 113 tex->src[2].src = nir_src_for_ssa(tex_deref); in build_nir_copy_fragment_shader() 156 tex->src[ in build_nir_copy_fragment_shader_depth() [all...] |
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_valuefactory.cpp | 205 addr = src(*indirect, 0); in resolve_array() 239 auto literal = nir_src_as_const_value(load_uniform->src[0]); in uniform() 314 PVirtualValue ValueFactory::src(const nir_alu_src& alu_src, int chan) in src() function in r600::ValueFactory 316 return src(alu_src.src, alu_src.swizzle[chan]); in src() 321 return src(alu_src.src, 2 * alu_src.swizzle[chan] + comp); in src64() 324 PVirtualValue ValueFactory::src(const nir_src& src, int chan) in src() argument 326 sfn_log << SfnLog::reg << "search (ref) " << (void *)&src << "\ in src() 339 PVirtualValue ValueFactory::src(const nir_tex_src& tex_src, int chan) src() function in r600::ValueFactory [all...] |
/third_party/node/test/parallel/ |
H A D | test-stream-pipeline.js | 975 const src = new PassThrough({ autoDestroy: false }); 977 pipeline(src, dst, common.mustCall(() => { 978 assert.strictEqual(src.destroyed, false); 981 src.end(); 1027 const src = new PassThrough(); 1029 pipeline(src, dst, common.mustSucceed(() => { 1032 src.end(); 1036 const src = new PassThrough(); 1039 pipeline(src, dst, common.mustSucceed(() => { 1042 src [all...] |
/third_party/node/deps/openssl/openssl/ssl/ |
H A D | ssl_sess.c | 155 SSL_SESSION *SSL_SESSION_dup(const SSL_SESSION *src) in SSL_SESSION_dup() argument 157 return ssl_session_dup(src, 1); in SSL_SESSION_dup() 161 * Create a new SSL_SESSION and duplicate the contents of |src| into it. If 164 SSL_SESSION *ssl_session_dup(const SSL_SESSION *src, int ticket) in ssl_session_dup() argument 172 memcpy(dest, src, sizeof(*dest)); in ssl_session_dup() 210 if (src->peer != NULL) { in ssl_session_dup() 211 if (!X509_up_ref(src->peer)) in ssl_session_dup() 213 dest->peer = src->peer; in ssl_session_dup() 216 if (src->peer_chain != NULL) { in ssl_session_dup() 217 dest->peer_chain = X509_chain_up_ref(src in ssl_session_dup() [all...] |
/third_party/mesa3d/src/gallium/frontends/nine/ |
H A D | device9.c | 1401 struct NineSurface9 *src = NineSurface9(pSourceSurface); in NineDevice9_UpdateSurface() local 1415 user_assert(dst && src, D3DERR_INVALIDCALL); in NineDevice9_UpdateSurface() 1418 user_assert(src->base.pool == D3DPOOL_SYSTEMMEM, D3DERR_INVALIDCALL); in NineDevice9_UpdateSurface() 1421 user_assert(src->desc.MultiSampleType == D3DMULTISAMPLE_NONE, D3DERR_INVALIDCALL); in NineDevice9_UpdateSurface() 1423 user_assert(!src->lock_count, D3DERR_INVALIDCALL); in NineDevice9_UpdateSurface() 1426 user_assert(dst->desc.Format == src->desc.Format, D3DERR_INVALIDCALL); in NineDevice9_UpdateSurface() 1435 pSourceRect->right <= src->desc.Width && in NineDevice9_UpdateSurface() 1438 pSourceRect->bottom <= src->desc.Height, in NineDevice9_UpdateSurface() 1441 copy_width = src->desc.Width; in NineDevice9_UpdateSurface() 1442 copy_height = src in NineDevice9_UpdateSurface() 1552 struct NineTexture9 *src = NineTexture9(srcb); NineDevice9_UpdateTexture() local 1576 struct NineCubeTexture9 *src = NineCubeTexture9(srcb); NineDevice9_UpdateTexture() local 1605 struct NineVolumeTexture9 *src = NineVolumeTexture9(srcb); NineDevice9_UpdateTexture() local 1631 struct NineSurface9 *src = NineSurface9(pRenderTarget); NineDevice9_GetRenderTargetData() local 1679 struct NineSurface9 *src = NineSurface9(pSourceSurface); NineDevice9_StretchRect() local [all...] |
/third_party/skia/src/core/ |
H A D | SkVM.cpp | 13 #include "src/core/SkColorSpacePriv.h" 14 #include "src/core/SkColorSpaceXformSteps.h" 15 #include "src/core/SkCpu.h" 16 #include "src/core/SkEnumerate.h" 17 #include "src/core/SkOpts.h" 18 #include "src/core/SkVM.h" 45 #include "src/core/SkLeanWindows.h" 1566 Color Builder::blend(SkBlendMode mode, Color src, Color dst) { in blend() argument 1575 fn(src.r, dst.r), in blend() 1576 fn(src in blend() [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | af_drmeter.c | 60 DRMeterContext *s = outlink->src->priv; in config_output() 110 const float *src = (const float *)buf->extended_data[c]; in filter_frame() local 112 for (i = 0; i < buf->nb_samples; i++, src++) in filter_frame() 113 update_stat(s, p, *src); in filter_frame() 117 const float *src = (const float *)buf->extended_data[0]; in filter_frame() local 120 for (c = 0; c < channels; c++, src++) in filter_frame() 121 update_stat(s, &s->chstats[c], *src); in filter_frame()
|
/third_party/backends/backend/ |
H A D | umax-usb.c | 82 static SANE_Status sanei_umaxusb_cmd(int fd, const void *src, size_t src_size, void *dst, size_t * dst_size) in sanei_umaxusb_cmd() argument 85 size_t cmd_size = CDB_SIZE (*(const char *) src); in sanei_umaxusb_cmd() 87 const char * param_ptr = ((const char *) src) + cmd_size; in sanei_umaxusb_cmd() 90 DBG(DBG_info, "Sending SCSI cmd 0x%02x cdb len %ld, param len %ld, result len %ld\n", ((const unsigned char *)src)[0], (long)cmd_size, (long)param_size, dst_size? (long)*dst_size:(long)0); in sanei_umaxusb_cmd() 103 sanei_pv8630_bulkwrite(fd, src, &tmp_len); in sanei_umaxusb_cmd() 239 const void *src, size_t src_size, in sanei_umaxusb_req_enter() 243 return(sanei_umaxusb_cmd(fd, src, src_size, dst, dst_size)); in sanei_umaxusb_req_enter() 238 sanei_umaxusb_req_enter(int fd, const void *src, size_t src_size, void *dst, size_t * dst_size, void **idp) sanei_umaxusb_req_enter() argument
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | nptrans.cpp | 138 int32_t NamePrepTransform::map(const UChar* src, int32_t srcLength, in map() argument 148 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) { in map() 153 UnicodeString rsource(src,srcLength); in map() 183 int32_t NamePrepTransform::process( const UChar* src, int32_t srcLength, in process() argument 194 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) { in process() 207 b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status); in process() 215 b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status); in process()
|
/third_party/libwebsockets/lib/misc/ |
H A D | lws-ring.c | 157 lws_ring_insert(struct lws_ring *ring, const void *src, size_t max_count) in lws_ring_insert() argument 159 const uint8_t *osrc = src; in lws_ring_insert() 182 memcpy(((uint8_t *)ring->buf) + ring->head, src, m); in lws_ring_insert() 188 src = ((uint8_t *)src) + m; in lws_ring_insert() 192 memcpy(((uint8_t *)ring->buf) + ring->head, src, (size_t)n); in lws_ring_insert() 195 return (unsigned long)(((uint8_t *)src + (unsigned int)n) - osrc) / ring->element_len; in lws_ring_insert()
|
/third_party/node/lib/internal/repl/ |
H A D | await.js | 154 function processTopLevelAwait(src) { 156 const wrapped = `${wrapPrefix}${src} })()`; 167 const awaitPos = StringPrototypeIndexOf(src, 'await'); 181 let message = '\n' + StringPrototypeSplit(src, '\n')[line - 1] + '\n' + 188 (src[e.pos - wrapPrefix.length] ?? src[src.length - 1]) +
|
/third_party/node/test/fixtures/wpt/resources/ |
H A D | sriharness.js | 11 var SRIScriptTest = function(pass, name, src, integrityValue, crossoriginValue, nonce, integrityValueAfterPrepare) { 14 this.src = src; 24 e.src = this.src; 67 // 2. Setting said element's href, src, or fetch-instigating property 73 element.src = resource_url; 84 element.src = resource_url;
|
/third_party/mesa3d/src/intel/compiler/ |
H A D | test_fs_copy_propagation.cpp | 145 EXPECT_TRUE(mov->src[0].equals(vgrf2)); in TEST_F() 150 EXPECT_TRUE(add->src[0].equals(vgrf2)); in TEST_F() 151 EXPECT_TRUE(add->src[1].equals(vgrf3)); in TEST_F() 208 EXPECT_TRUE(mov->src[0].equals(vgrf1)); in TEST_F() 215 EXPECT_TRUE(sel->src[0].equals(vgrf1)); in TEST_F() 217 EXPECT_TRUE(sel->src[0].equals(vgrf0)); in TEST_F() 219 EXPECT_TRUE(sel->src[1].equals(brw_imm_f(test[i].immediate))); in TEST_F()
|
/third_party/mesa3d/src/panfrost/midgard/ |
H A D | midgard_print.c | 159 mir_print_index(ins->src[c]); in mir_print_src() 161 if (ins->src[c] != ~0 && ins->src_types[c] != nir_type_invalid) { in mir_print_src() 275 /* Moves (indicated by QUIRK_FLIPPED_R24) are 1-src, with their in mir_print_instruction() 278 assert(ins->src[0] == ~0); in mir_print_instruction() 280 if (ins->src[0] == r_constant && is_alu) in mir_print_instruction() 290 else if (ins->src[1] == r_constant && is_alu) in mir_print_instruction() 296 /* ALU ops are all 2-src, though CSEL is treated like a 3-src in mir_print_instruction() 308 assert(ins->src[2] == ~0); in mir_print_instruction() 312 assert(ins->src[ in mir_print_instruction() [all...] |
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_pwr8.h | 235 vec_loadu_si128 (const uint32_t* src) in vec_loadu_si128() argument 241 vsrc.m128ui = *((vector unsigned int *) src); in vec_loadu_si128() 247 vmask = vec_lvsl(0, src); in vec_loadu_si128() 249 tmp1 = (__m128i) vec_ld (0, src); in vec_loadu_si128() 250 tmp2 = (__m128i) vec_ld (15, src); in vec_loadu_si128() 259 vec_load_si128 (const uint32_t* src) in vec_load_si128() argument 263 vsrc.m128ui = *((vector unsigned int *) src); in vec_load_si128()
|
/third_party/mesa3d/src/gtest/src/ |
H A D | gtest-filepath.cc | 353 const char* src = pathname_.c_str(); in Normalize() local 358 while (*src != '\0') { in Normalize() 359 *dest_ptr = *src; in Normalize() 360 if (!IsPathSeparator(*src)) { in Normalize() 361 src++; in Normalize() 368 while (IsPathSeparator(*src)) in Normalize() 369 src++; in Normalize()
|
/third_party/node/deps/openssl/openssl/crypto/ |
H A D | params_dup.c | 59 static OSSL_PARAM *ossl_param_dup(const OSSL_PARAM *src, OSSL_PARAM *dst, in ossl_param_dup() argument 68 for (in = src; in->key != NULL; in++) { in ossl_param_dup() 101 OSSL_PARAM *OSSL_PARAM_dup(const OSSL_PARAM *src) in OSSL_PARAM_dup() argument 108 if (src == NULL) in OSSL_PARAM_dup() 114 (void)ossl_param_dup(src, NULL, buf, ¶m_count); in OSSL_PARAM_dup() 116 param_blocks = ossl_param_bytes_to_blocks(param_count * sizeof(*src)); in OSSL_PARAM_dup() 132 last = ossl_param_dup(src, dst, buf, NULL); in OSSL_PARAM_dup()
|
/third_party/openssl/crypto/ |
H A D | params_dup.c | 59 static OSSL_PARAM *ossl_param_dup(const OSSL_PARAM *src, OSSL_PARAM *dst, in ossl_param_dup() argument 68 for (in = src; in->key != NULL; in++) { in ossl_param_dup() 101 OSSL_PARAM *OSSL_PARAM_dup(const OSSL_PARAM *src) in OSSL_PARAM_dup() argument 108 if (src == NULL) in OSSL_PARAM_dup() 114 (void)ossl_param_dup(src, NULL, buf, ¶m_count); in OSSL_PARAM_dup() 116 param_blocks = ossl_param_bytes_to_blocks(param_count * sizeof(*src)); in OSSL_PARAM_dup() 132 last = ossl_param_dup(src, dst, buf, NULL); in OSSL_PARAM_dup()
|
/third_party/skia/src/effects/imagefilters/ |
H A D | SkImageImageFilter.cpp | 12 #include "src/core/SkImageFilter_Base.h" 13 #include "src/core/SkReadBuffer.h" 14 #include "src/core/SkSamplingPriv.h" 15 #include "src/core/SkSpecialImage.h" 16 #include "src/core/SkSpecialSurface.h" 17 #include "src/core/SkWriteBuffer.h" 31 SkRect computeFastBounds(const SkRect& src) const override; 82 SkRect src, dst; in CreateProc() local 83 buffer.readRect(&src); in CreateProc() 91 return SkImageFilters::Image(std::move(image), src, ds in CreateProc() 162 onFilterNodeBounds(const SkIRect& src, const SkMatrix& ctm, MapDirection direction, const SkIRect* inputRect) const onFilterNodeBounds() argument [all...] |