/third_party/ffmpeg/libavcodec/ |
H A D | opus_rc.h | 97 uint32_t ff_opus_rc_dec_uint(OpusRangeCoder *rc, uint32_t size); 98 void ff_opus_rc_enc_uint(OpusRangeCoder *rc, uint32_t val, uint32_t size); 106 int ff_opus_rc_dec_init(OpusRangeCoder *rc, const uint8_t *data, int size); 109 void ff_opus_rc_enc_end(OpusRangeCoder *rc, uint8_t *dst, int size);
|
H A D | sgirledec.c | 49 void rbg323_to_bgr8(uint8_t *dst, const uint8_t *src, int size) in rbg323_to_bgr8() argument 52 for (i = 0; i < size; i++) in rbg323_to_bgr8() 59 * @param src_size Source buffer size (bytes) 62 * @param linesize Line size of destination buffer (bytes) 121 ret = decode_sgirle8(avctx, frame->data[0], avpkt->data, avpkt->size, in sgirle_decode_frame() 131 return avpkt->size; in sgirle_decode_frame()
|
H A D | vdpau_mpeg12.c | 35 const uint8_t *buffer, uint32_t size) in vdpau_mpeg_start_frame() 83 return ff_vdpau_common_start_frame(pic_ctx, buffer, size); in vdpau_mpeg_start_frame() 87 const uint8_t *buffer, uint32_t size) in vdpau_mpeg_decode_slice() 94 val = ff_vdpau_add_buffer(pic_ctx, buffer, size); in vdpau_mpeg_decode_slice() 34 vdpau_mpeg_start_frame(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) vdpau_mpeg_start_frame() argument 86 vdpau_mpeg_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) vdpau_mpeg_decode_slice() argument
|
H A D | vdpau_mpeg4.c | 33 const uint8_t *buffer, uint32_t size) in vdpau_mpeg4_start_frame() 82 ff_vdpau_common_start_frame(pic_ctx, buffer, size); in vdpau_mpeg4_start_frame() 83 return ff_vdpau_add_buffer(pic_ctx, buffer, size); in vdpau_mpeg4_start_frame() 88 av_unused uint32_t size) in vdpau_mpeg4_decode_slice() 32 vdpau_mpeg4_start_frame(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) vdpau_mpeg4_start_frame() argument 86 vdpau_mpeg4_decode_slice(av_unused AVCodecContext *avctx, av_unused const uint8_t *buffer, av_unused uint32_t size) vdpau_mpeg4_decode_slice() argument
|
H A D | vima.c | 130 if (pkt->size < 13) in decode_frame() 133 if ((ret = init_get_bits8(&gb, pkt->data, pkt->size)) < 0) in decode_frame() 142 if (samples > pkt->size * 2) in decode_frame() 207 return pkt->size; in decode_frame()
|
H A D | ws-snd1.c | 58 int buf_size = avpkt->size; in ws_snd_decode_frame() 96 int code, smp, size; in ws_snd_decode_frame() local 113 size = ((code == 2 && (count & 0x20)) || code == 3) ? 0 : count + 1; in ws_snd_decode_frame() 114 if ((buf - avpkt->data) + size > buf_size) in ws_snd_decode_frame()
|
H A D | xbmdec.c | 79 end = avpkt->data + avpkt->size; in xbm_decode_frame() 91 next = memchr(ptr, '{', avpkt->size); in xbm_decode_frame() 93 next = memchr(ptr, '(', avpkt->size); in xbm_decode_frame() 137 return avpkt->size; in xbm_decode_frame()
|
/third_party/ffmpeg/libavformat/ |
H A D | acedec.c | 48 uint32_t asc_pos, size; in ace_read_header() local 63 size = avio_rb32(pb); in ace_read_header() 64 if (size == 0) in ace_read_header() 80 st->duration = (size / par->block_align) * 1024LL; in ace_read_header()
|
H A D | bit.c | 148 if (pkt->size != 10) in write_packet() 152 avio_wl16(pb, 8 * pkt->size); in write_packet() 154 init_get_bits(&gb, pkt->data, 8 * pkt->size); in write_packet() 155 for (i = 0; i < 8 * pkt->size; i++) in write_packet()
|
H A D | dtshddec.c | 78 av_log(s, AV_LOG_ERROR, "chunk size too small\n"); in dtshd_read_header() 82 av_log(s, AV_LOG_ERROR, "chunk size too big\n"); in dtshd_read_header() 145 int64_t size, left; in raw_read_packet() local 149 size = FFMIN(left, 1024); in raw_read_packet() 150 if (size <= 0) in raw_read_packet() 153 ret = av_get_packet(s->pb, pkt, size); in raw_read_packet()
|
H A D | gopher.c | 39 static int gopher_write(URLContext *h, const uint8_t *buf, int size) in gopher_write() argument 42 return ffurl_write(s->hd, buf, size); in gopher_write() 114 static int gopher_read(URLContext *h, uint8_t *buf, int size) in gopher_read() argument 117 int len = ffurl_read(s->hd, buf, size); in gopher_read()
|
H A D | subfile.c | 100 static int subfile_read(URLContext *h, unsigned char *buf, int size) in subfile_read() argument 108 size = FFMIN(size, rest); in subfile_read() 109 ret = ffurl_read(c->h, buf, size); in subfile_read()
|
H A D | vocenc.c | 63 avio_wl24(pb, pkt->size + 12); in voc_write_packet() 79 avio_wl24(pb, pkt->size + 2); in voc_write_packet() 86 avio_wl24(pb, pkt->size); in voc_write_packet() 89 avio_write(pb, pkt->data, pkt->size); in voc_write_packet()
|
H A D | sccenc.c | 75 for (i = 0; i < pkt->size - 2; i+=3) { in scc_write_packet() 79 if (i >= pkt->size - 2) in scc_write_packet() 86 for (i = 0; i < pkt->size; i+=3) { in scc_write_packet() 87 if (i + 3 > pkt->size) in scc_write_packet()
|
H A D | dovi_isom.c | 31 int ff_isom_parse_dvcc_dvvc(AVFormatContext *s, AVStream *st, const uint8_t *buf_ptr, uint64_t size) in ff_isom_parse_dvcc_dvvc() argument 38 if (size > (1 << 30) || size < 4) in ff_isom_parse_dvcc_dvvc() 58 if (size >= 5) { in ff_isom_parse_dvcc_dvvc()
|
/third_party/gn/src/gn/ |
H A D | config_unittest.cc | 21 ASSERT_EQ(1u, config.resolved_values().defines().size()); in TEST() 50 ASSERT_EQ(3u, config.resolved_values().defines().size()); in TEST() 56 ASSERT_EQ(1u, config.own_values().defines().size()); in TEST() 81 ASSERT_EQ(3u, first.resolved_values().defines().size()); in TEST()
|
H A D | source_dir.h | 94 return v.size() >= 2 && v[0] == '/' && v[1] == '/'; in is_source_absolute() 111 return std::string_view(&v[1], v.size() - 1); in SourceAbsoluteWithOneSlash() 120 if (v.size() > 2) in SourceWithNoTrailingSlash() 121 return std::string_view(&v[0], v.size() - 1); in SourceWithNoTrailingSlash()
|
/third_party/glslang/glslang/Include/ |
H A D | InfoSink.h | 77 TInfoSinkBase& operator<<(float n) { const int size = 40; char buf[size]; in operator <<() local 78 snprintf(buf, size, (fabs(n) > 1e-8 && fabs(n) < 1e8) || n == 0.0f ? "%f" : "%g", n); in operator <<() 129 void checkMem(size_t growth) { if (sink.capacity() < sink.size() + growth + 2) in checkMem()
|
/third_party/alsa-utils/alsamixer/ |
H A D | widget.c | 125 struct winsize size; in window_size_changed() local 127 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &size) == 0) in window_size_changed() 128 resize_term(size.ws_row, size.ws_col); in window_size_changed()
|
/third_party/astc-encoder/Source/ |
H A D | astcenccli_image_external.cpp | 99 std::streamsize size = file.tellg(); in load_png_with_wuffs() local 102 std::vector<uint8_t> buffer(size); in load_png_with_wuffs() 103 file.read((char*)buffer.data(), size); in load_png_with_wuffs() 112 wuffs_base__io_buffer src = wuffs_base__ptr_u8__reader(buffer.data(), size, true); in load_png_with_wuffs()
|
/third_party/backends/backend/genesys/ |
H A D | usb_device.cpp | 118 void UsbDevice::bulk_read(std::uint8_t* buffer, std::size_t* size) in bulk_read() argument 122 TIE(sanei_usb_read_bulk(device_num_, buffer, size)); in bulk_read() 125 void UsbDevice::bulk_write(const std::uint8_t* buffer, std::size_t* size) in bulk_write() argument 129 TIE(sanei_usb_write_bulk(device_num_, buffer, size)); in bulk_write()
|
/third_party/alsa-lib/src/ |
H A D | error.c | 185 * \param size Size of destination buffer 189 * in the buffer (unless, of course, the buffer size is zero). 192 size_t snd_strlcpy(char *dst, const char *src, size_t size) in snd_strlcpy() argument 195 if (size) { in snd_strlcpy() 196 size_t len = ret >= size ? size - 1 : ret; in snd_strlcpy()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
H A D | UnicodeLocaleExtension.java | 49 if (attributes != null && attributes.size() > 0) { in UnicodeLocaleExtension() 52 if (keywords != null && keywords.size() > 0) { in UnicodeLocaleExtension() 56 if (_attributes.size() > 0 || _keywords.size() > 0) { in UnicodeLocaleExtension()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | RangeDateRule.java | 63 if (index == ranges.size()) { in firstAfter() 132 * returns an index >= ranges.size() if there is none 135 int lastIndex = ranges.size(); in startIndex() 137 for (int i = 0; i < ranges.size(); i++) { in startIndex() 148 return (index < ranges.size()) ? ranges.get(index) in rangeAt()
|
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | hpmufn.c | 80 * All blocks increased in size by 8 to 16 bytes, and the pointer returned to ICU is 88 static void * U_CALLCONV myMemAlloc(const void *context, size_t size) { in myMemAlloc() argument 90 char *retPtr = (char *)malloc(size+sizeof(ctest_AlignedMemory)); in myMemAlloc() 109 static void * U_CALLCONV myMemRealloc(const void *context, void *mem, size_t size) { in myMemRealloc() argument 117 retPtr = realloc(p, size+sizeof(ctest_AlignedMemory)); in myMemRealloc()
|