Home
last modified time | relevance | path

Searched refs:copy_n (Results 1 - 25 of 51) sorted by relevance

123

/third_party/skia/include/effects/
H A DSkColorMatrix.h46 void setRowMajor(const float src[20]) { std::copy_n(src, 20, fMat.begin()); } in setRowMajor()
47 void getRowMajor(float dst[20]) const { std::copy_n(fMat.begin(), 20, dst); } in getRowMajor()
/third_party/skia/src/gpu/effects/
H A DGrConvexPolyEffect.cpp141 std::copy_n(cpe.fEdges.begin(), n, fPrevEdges.begin()); in onMakeProgramImpl()
163 std::copy_n(edges, 3*n, fEdges.begin()); in GrConvexPolyEffect()
177 std::copy_n(that.fEdges.begin(), 3*that.fEdgeCount, fEdges.begin()); in GrConvexPolyEffect()
H A DGrYUVtoRGBEffect.cpp212 std::copy_n(snap, 2, fSnap); in GrYUVtoRGBEffect()
388 std::copy_n(src.fSnap, 2, fSnap);
H A DGrTextureEffect.cpp140 std::copy_n(border, 4, fBorder); in Sampling()
779 std::copy_n(sampling.fBorder, 4, fBorder);
789 std::copy_n(src.fBorder, 4, fBorder);
/third_party/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_video_encoder_nalu_writer_h264.cpp275 std::copy_n(&naluBytes[0], naluByteSize, &headerBitstream.data()[startDstIndex]); in sps_to_nalu_bytes()
321 std::copy_n(&naluBytes[0], naluByteSize, &headerBitstream.data()[startDstIndex]); in pps_to_nalu_bytes()
358 std::copy_n(&naluBytes[0], naluByteSize, &headerBitstream.data()[startDstIndex]); in write_end_of_stream_nalu()
397 std::copy_n(&naluBytes[0], naluByteSize, &headerBitstream.data()[startDstIndex]); in write_end_of_sequence_nalu()
/third_party/nghttp2/src/
H A Dshrpx_worker_process.cc250 std::copy_n(std::begin(old_keys), new_keys.size() - 1, in renew_ticket_key_cb()
370 std::copy_n(p, key.data.name.size(), std::begin(key.data.name)); in memcached_get_ticket_key_cb()
373 std::copy_n(p, enc_keylen, std::begin(key.data.enc_key)); in memcached_get_ticket_key_cb()
376 std::copy_n(p, hmac_keylen, std::begin(key.data.hmac_key)); in memcached_get_ticket_key_cb()
H A Dmemchunk.h185 tail->last = std::copy_n(first, n, tail->last); in append()
231 first = std::copy_n(m->pos, n, first); in remove()
493 first = std::copy_n(cur_pos, n, first); in remove()
631 chunk->last = std::copy_n(p, count, chunk->last); in write()
H A Dshrpx_quic.cc191 std::copy_n(server_id, SHRPX_QUIC_SERVER_IDLEN, p); in generate_quic_retry_connection_id()
211 std::copy_n(cid_prefix, SHRPX_QUIC_CID_PREFIXLEN, p); in generate_quic_connection_id()
278 std::copy_n(std::begin(h), sizeof(dest.data), std::begin(dest.data)); in generate_quic_hashed_connection_id()
H A Dbuffer.h47 last = std::copy_n(p, count, last); in write()
H A Dutil.cc301 p = std::copy_n(s, 3, p); in http_date()
307 p = std::copy_n(s, 3, p); in http_date()
317 p = std::copy_n(s, 4, p); in http_date()
341 p = std::copy_n(s, 3, p); in common_log_date()
783 p = std::copy_n(host.data(), hostlen, p); in to_numeric_addr()
788 p = std::copy_n(host.data(), hostlen, p); in to_numeric_addr()
791 std::copy_n(serv.data(), servlen, p); in to_numeric_addr()
911 p = std::copy_n(std::begin(NGHTTP2_H2_ALPN), NGHTTP2_H2_ALPN.size(), p); in get_default_alpn()
912 p = std::copy_n(std::begin(NGHTTP2_H2_16_ALPN), NGHTTP2_H2_16_ALPN.size(), p); in get_default_alpn()
913 p = std::copy_n(st in get_default_alpn()
[all...]
H A Dshrpx_log.cc367 return std::make_pair(std::copy_n(src, nwrite, d_first), d_last); in copy()
512 d_first = std::copy_n(safe_first, n, d_first); in copy_escape()
525 return std::make_pair(std::copy_n(safe_first, n, d_first), d_last); in copy_escape()
H A Dallocator.h164 std::copy_n(p, alloclen, static_cast<uint8_t *>(res)); in realloc()
H A Dshrpx_connection_handler.cc696 std::copy_n(std::begin(buf), n, std::back_inserter(ocsp_.resp)); in read_ocsp_chunk()
1118 p = std::copy_n(reinterpret_cast<const uint8_t *>(&remote_addr.su), in forward_quic_packet_to_lingering_worker_process()
1121 p = std::copy_n(reinterpret_cast<const uint8_t *>(&local_addr.su), in forward_quic_packet_to_lingering_worker_process()
H A Dhttp2.cc678 p = std::copy_n(&uri[field->off], field->len, p); in rewrite_location_uri()
683 p = std::copy_n(&uri[field->off], field->len, p); in rewrite_location_uri()
688 p = std::copy_n(&uri[field->off], field->len, p); in rewrite_location_uri()
1972 std::copy_n(magic, str_size(magic), p);
H A Dshrpx_api_downstream_connection.cc291 p = std::copy_n(", ", 2, p); in error_method_not_allowed()
H A Dshrpx_worker.cc184 std::copy_n(cid_prefix, cid_prefixlen, std::begin(cid_prefix_)); in graceful_shutdown_()
1339 auto p = std::copy_n(server_id, SHRPX_QUIC_SERVER_IDLEN, cid_prefix); in create_cid_prefix()
/third_party/curl/tests/server/
H A Dtftpd.c380 size_t copy_n = MIN(SEGSIZE, test->rcount); in read_ahead() local
381 memcpy(dp->th_data, test->rptr, copy_n); in read_ahead()
384 test->rcount -= copy_n; in read_ahead()
385 test->rptr += copy_n; in read_ahead()
386 b->counter = (int)copy_n; in read_ahead()
/third_party/skia/src/gpu/
H A DGrWritePixelsRenderTask.cpp42 std::copy_n(texels, levelCount, fLevels.get()); in GrWritePixelsTask()
/third_party/node/deps/v8/src/utils/
H A Dmemcopy.h278 // Check for no overlap, otherwise {std::copy_n} cannot be used. in CopyChars()
295 std::copy_n(src_u, N, dst_u); \ in CopyChars()
315 std::copy_n(src_u, count, dst_u); in CopyChars()
/third_party/skia/src/effects/
H A DSkColorMatrix.cpp61 std::copy_n(target, 20, result); in set_concat()
/third_party/skia/third_party/externals/oboe/apps/fxlab/app/src/main/cpp/effects/descrip/
H A DEffectDescription.h98 std::copy_n(paramVec.begin(), N, arr.begin()); in modifyEffectVec()
/third_party/skia/src/core/
H A DSkYUVAPixmaps.cpp270 std::copy_n(pixmaps, yuvaInfo.numPlanes(), fPlanes.data()); in SkYUVAPixmaps()
/third_party/mesa3d/src/gallium/frontends/clover/core/
H A Dkernel.cpp362 std::copy_n(v.begin(), m, w.begin()); in extend()
364 std::copy_n(v.end() - m, m, w.end() - m); in extend()
/third_party/skia/third_party/externals/libgifcodec/
H A DSkGifImageReader.cpp289 std::copy_n(suffix[code].begin(), SK_DICTIONARY_WORD_SIZE, p); in doLZW()
/third_party/skia/tools/gpu/
H A DYUVUtils.cpp174 std::copy_n(rgbToYUV + 5*i, 5, m + 15); in MakeYUVAPlanesAsA8()

Completed in 23 milliseconds

123