/third_party/skia/third_party/externals/icu/fuzzers/ |
H A D | icu_to_case_fuzzer.cc | 34 // Make the dest_size randomly fall in [0, strlen+3] in LLVMFuzzerTestOneInput() 35 int32_t dest_size = (rng() % (str.length() + 3)); in LLVMFuzzerTestOneInput() local 36 std::unique_ptr<UChar[]> dest(new UChar[dest_size]); in LLVMFuzzerTestOneInput() 40 u_strToUpper(dest.get(), dest_size, (const UChar*)str.getBuffer(), in LLVMFuzzerTestOneInput() 44 u_strToLower(dest.get(), dest_size, (const UChar*)str.getBuffer(), in LLVMFuzzerTestOneInput()
|
/third_party/backends/backend/ |
H A D | ricoh2_buffer.c | 152 SANE_Int dest_size) in ricoh2_buffer_get_data() 171 dest_size, in ricoh2_buffer_get_data() 175 min (dest_size / bytes_per_pixel, self->remain_in_line); in ricoh2_buffer_get_data() 178 min (dest_size / bytes_per_pixel, self->remain_in_line)) in ricoh2_buffer_get_data() 200 dest_size -= pixels_to_copy * bytes_per_pixel; in ricoh2_buffer_get_data() 150 ricoh2_buffer_get_data(ricoh2_buffer *self, SANE_Byte *dest, SANE_Int dest_size) ricoh2_buffer_get_data() argument
|
/third_party/mesa3d/src/imagination/rogue/ |
H A D | rogue_util.c | 45 * \param[in] dest_size The size of the destination in bytes. 51 size_t dest_size, in rogue_distribute_value() 52 uint8_t dest_bytes[dest_size]) in rogue_distribute_value() 68 size_t base_byte = rogue_byte_index(range, dest_size); in rogue_distribute_value() 49 rogue_distribute_value(uint64_t source, const struct rogue_rangelist *rangelist, size_t dest_size, uint8_t dest_bytes[dest_size]) rogue_distribute_value() argument
|
H A D | rogue_util.h | 317 size_t dest_size, 318 uint8_t dest_bytes[dest_size]);
|
/third_party/skia/third_party/externals/microhttpd/src/microspdy/ |
H A D | compression.h | 65 * @param dest_size size of the data after compression 74 size_t *dest_size); 106 * @param dest_size size of the data after decompression 115 size_t *dest_size);
|
H A D | compression.c | 255 size_t *dest_size) in SPDYF_zlib_deflate() 263 *dest_size = 0; in SPDYF_zlib_deflate() 298 *dest_size += have; in SPDYF_zlib_deflate() 299 *dest = realloc(*dest, *dest_size); in SPDYF_zlib_deflate() 306 memcpy((*dest) + ((*dest_size) - have), out, have); in SPDYF_zlib_deflate() 354 size_t *dest_size) in SPDYF_zlib_inflate() 361 *dest_size = 0; in SPDYF_zlib_inflate() 425 *dest_size += have; in SPDYF_zlib_inflate() 427 *dest = realloc(*dest, *dest_size); in SPDYF_zlib_inflate() 434 memcpy((*dest) + ((*dest_size) in SPDYF_zlib_inflate() 250 SPDYF_zlib_deflate(z_stream *strm, const void *src, size_t src_size, size_t *data_used, void **dest, size_t *dest_size) SPDYF_zlib_deflate() argument 350 SPDYF_zlib_inflate(z_stream *strm, const void *src, size_t src_size, void **dest, size_t *dest_size) SPDYF_zlib_inflate() argument [all...] |
/third_party/node/deps/cares/src/lib/ |
H A D | ares_str.c | 75 size_t ares_strcpy(char *dest, const char *src, size_t dest_size) in ares_strcpy() argument 79 if (dest == NULL || dest_size == 0) { in ares_strcpy() 85 if (len >= dest_size) { in ares_strcpy() 86 len = dest_size - 1; in ares_strcpy()
|
H A D | ares_str.h | 44 * \param[in] dest_size Size of destination buffer 45 * \return String length. Will be at most dest_size-1 47 size_t ares_strcpy(char *dest, const char *src, size_t dest_size);
|
/third_party/ffmpeg/libavcodec/ |
H A D | vqavideo.c | 219 if (dest_index + count > dest_size) { \ 221 av_log(s->avctx, AV_LOG_ERROR, "current dest_index = %d, count = %d, dest_size = %d\n", \ 222 dest_index, count, dest_size); \ 227 if (idx < 0 || idx + count > dest_size) { \ 229 av_log(s->avctx, AV_LOG_ERROR, "current src_pos = %d, count = %d, dest_size = %d\n", \ 230 src_pos, count, dest_size); \ 236 unsigned char *dest, int dest_size, int check_size) { in decode_format80() 267 if (dest_index >= dest_size) { in decode_format80() 268 av_log(s->avctx, AV_LOG_ERROR, "decode_format80 problem: dest_index (%d) exceeded dest_size (%d)\n", in decode_format80() 269 dest_index, dest_size); in decode_format80() 235 decode_format80(VqaContext *s, int src_size, unsigned char *dest, int dest_size, int check_size) decode_format80() argument [all...] |
H A D | avpicture.c | 45 unsigned char *dest, int dest_size) in avpicture_layout() 47 return av_image_copy_to_buffer(dest, dest_size, in avpicture_layout() 44 avpicture_layout(const AVPicture* src, enum AVPixelFormat pix_fmt, int width, int height, unsigned char *dest, int dest_size) avpicture_layout() argument
|
/third_party/mesa3d/src/compiler/spirv/ |
H A D | vtn_alu.c | 1010 const unsigned dest_size = glsl_get_bit_size(dest_type); in vtn_handle_integer_dot() local 1108 nir_type_conversion_op(nir_type_int, nir_type_int | dest_size, in vtn_handle_integer_dot() 1112 nir_type_conversion_op(nir_type_uint, nir_type_uint | dest_size, in vtn_handle_integer_dot() 1206 if (dest_size == 32) in vtn_handle_integer_dot() 1212 if (dest_size == 32) in vtn_handle_integer_dot() 1232 if (dest_size == 32) in vtn_handle_integer_dot() 1238 if (dest_size == 32) in vtn_handle_integer_dot() 1244 if (dest_size == 32) in vtn_handle_integer_dot() 1254 if (dest_size != 32) { in vtn_handle_integer_dot() 1273 ? nir_iadd_sat(&b->nb, nir_i2i(&b->nb, dest, dest_size), sr in vtn_handle_integer_dot() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | escaping.cc | 286 ptrdiff_t dest_size; in CUnescapeInternal() local 290 &dest_size, in CUnescapeInternal() 294 dest->erase(dest_size); in CUnescapeInternal()
|
/third_party/skia/modules/skottie/src/layers/ |
H A D | FootageLayer.cpp | 20 SkMatrix image_matrix(const ImageAsset::FrameData& frame_data, const SkISize& dest_size) { in image_matrix() argument 26 SkRect::Make(dest_size), in image_matrix()
|
/third_party/mesa3d/src/asahi/compiler/ |
H A D | agx_pack.c | 200 agx_pack_cmpsel_src(agx_index src, enum agx_size dest_size) in agx_pack_cmpsel_src() argument 215 assert(size == dest_size); in agx_pack_cmpsel_src() 227 assert(size == dest_size); in agx_pack_cmpsel_src()
|
/third_party/node/deps/v8/src/base/platform/ |
H A D | platform-win32.cc | 105 int strncpy_s(char* dest, size_t dest_size, const char* source, size_t count) { in strncpy_s() argument 108 CHECK_GT(dest_size, 0); in strncpy_s() 111 while (dest_size > 0 && *source != 0) { in strncpy_s() 113 --dest_size; in strncpy_s() 115 if (dest_size == 0) { in strncpy_s() 120 while (dest_size > 0 && count > 0 && *source != 0) { in strncpy_s() 122 --dest_size; in strncpy_s() 126 CHECK_GT(dest_size, 0); in strncpy_s()
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_tex.c | 1075 unreachable("wrong dest_size"); in lower_tex_packing() 1209 unsigned dest_size = nir_tex_instr_dest_size(tex); in nir_lower_txs_lod() local 1233 assert(dest_size <= ARRAY_SIZE(comp)); in nir_lower_txs_lod() 1234 for (unsigned i = 0; i < dest_size - 1; i++) in nir_lower_txs_lod() 1237 comp[dest_size - 1] = nir_channel(b, &tex->dest.ssa, dest_size - 1); in nir_lower_txs_lod() 1238 minified = nir_vec(b, comp, dest_size); in nir_lower_txs_lod()
|
H A D | nir_validate.c | 345 unsigned dest_size = nir_dest_num_components(dest->dest); in validate_alu_dest() local 350 validate_assert(state, !(dest->write_mask & ~((1 << dest_size) - 1))); in validate_alu_dest()
|
/third_party/cups-filters/filter/foomatic-rip/ |
H A D | util.h | 111 void file_basename(char *dest, const char *path, size_t dest_size);
|
H A D | util.c | 340 void file_basename(char *dest, const char *path, size_t dest_size) in file_basename() argument 350 while (*p != 0 && *p != '.' && --dest_size > 0) { in file_basename()
|
/third_party/python/Modules/ |
H A D | _winapi.c | 1574 int dest_size = LCMapStringEx(locale_, flags, src_, srcLen, NULL, 0, in _winapi_LCMapStringEx_impl() local 1576 if (dest_size == 0) { in _winapi_LCMapStringEx_impl() 1582 wchar_t* dest = PyMem_NEW(wchar_t, dest_size); in _winapi_LCMapStringEx_impl() 1589 int nmapped = LCMapStringEx(locale_, flags, src_, srcLen, dest, dest_size, in _winapi_LCMapStringEx_impl() 1599 PyObject *ret = PyUnicode_FromWideChar(dest, dest_size); in _winapi_LCMapStringEx_impl()
|
/third_party/ntfs-3g/ntfsprogs/ |
H A D | ntfsclone.c | 2495 s64 dest_size; local 2498 dest_size = ntfs_device_size_get(dev_out, 1); 2500 dest_size = device_size_get(fd_out); 2501 if (dest_size < input_size) 2504 (long long)dest_size, (long long)input_size);
|
/third_party/mesa3d/src/compiler/glsl/ |
H A D | glsl_to_nir.cpp | 92 nir_alu_instr *emit(nir_op op, unsigned dest_size, nir_ssa_def **srcs); 93 nir_alu_instr *emit(nir_op op, unsigned dest_size, nir_ssa_def *src1); 94 nir_alu_instr *emit(nir_op op, unsigned dest_size, nir_ssa_def *src1, 96 nir_alu_instr *emit(nir_op op, unsigned dest_size, nir_ssa_def *src1,
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_compiler.c | 2919 unsigned dest_size = nir_dest_bit_size(tex->dest); in match_tex_dests_instr() local 2923 if (bit_size == dest_size && !rewrite_depth) in match_tex_dests_instr() 2926 if (bit_size != dest_size) { in match_tex_dests_instr() 2937 dest = nir_u2uN(b, &tex->dest.ssa, dest_size); in match_tex_dests_instr() 2939 dest = nir_i2iN(b, &tex->dest.ssa, dest_size); in match_tex_dests_instr() 2941 dest = nir_f2fN(b, &tex->dest.ssa, dest_size); in match_tex_dests_instr()
|
/third_party/ntfs-3g/libntfs-3g/ |
H A D | compress.c | 452 * @dest_size: size of buffer @dest in bytes 464 static int ntfs_decompress(u8 *dest, const u32 dest_size, in ntfs_decompress() argument 476 u8 *dest_end = dest + dest_size; /* End of dest buffer. */ in ntfs_decompress()
|
/third_party/mesa3d/src/broadcom/compiler/ |
H A D | nir_to_vir.c | 901 int dest_size = nir_tex_instr_dest_size(instr); in ntq_emit_txs() local 907 for (int i = 0; i < dest_size; i++) { in ntq_emit_txs() 911 if (instr->is_array && i == dest_size - 1) in ntq_emit_txs() 926 if (!(instr->is_array && i == dest_size - 1)) { in ntq_emit_txs()
|