/third_party/skia/third_party/externals/libjpeg-turbo/ |
H A D | rdgif.c | 133 cjpeg_source_ptr sinfo); 135 cjpeg_source_ptr sinfo); 137 cjpeg_source_ptr sinfo); 141 ReadByte(gif_source_ptr sinfo) 144 register FILE *infile = sinfo->pub.input_file; 148 ERREXIT(sinfo->cinfo, JERR_INPUT_EOF); 154 GetDataBlock(gif_source_ptr sinfo, U_CHAR *buf) in GetDataBlock() argument 160 count = ReadByte(sinfo); in GetDataBlock() 162 if (!ReadOK(sinfo->pub.input_file, buf, count)) in GetDataBlock() 163 ERREXIT(sinfo in GetDataBlock() 170 SkipDataBlocks(gif_source_ptr sinfo) SkipDataBlocks() argument 181 ReInitLZW(gif_source_ptr sinfo) ReInitLZW() argument 192 InitLZWCode(gif_source_ptr sinfo) InitLZWCode() argument 213 GetCode(gif_source_ptr sinfo) GetCode() argument 262 LZWReadByte(gif_source_ptr sinfo) LZWReadByte() argument 345 ReadColorMap(gif_source_ptr sinfo, int cmaplen, JSAMPARRAY cmap) ReadColorMap() argument 364 DoExtension(gif_source_ptr sinfo) DoExtension() argument 383 start_input_gif(j_compress_ptr cinfo, cjpeg_source_ptr sinfo) start_input_gif() argument 665 finish_input_gif(j_compress_ptr cinfo, cjpeg_source_ptr sinfo) finish_input_gif() argument [all...] |
H A D | rdtarga.c | 54 void (*read_pixel) (tga_source_ptr sinfo); 67 JDIMENSION (*get_pixel_rows) (j_compress_ptr cinfo, cjpeg_source_ptr sinfo); 83 read_byte(tga_source_ptr sinfo) in read_byte() argument 86 register FILE *infile = sinfo->pub.input_file; in read_byte() 90 ERREXIT(sinfo->cinfo, JERR_INPUT_EOF); in read_byte() 96 read_colormap(tga_source_ptr sinfo, int cmaplen, int mapentrysize) in read_colormap() argument 103 ERREXIT(sinfo->cinfo, JERR_TGA_BADCMAP); in read_colormap() 106 sinfo->colormap[2][i] = (JSAMPLE)read_byte(sinfo); in read_colormap() 107 sinfo in read_colormap() 118 read_non_rle_pixel(tga_source_ptr sinfo) read_non_rle_pixel() argument 130 read_rle_pixel(tga_source_ptr sinfo) read_rle_pixel() argument 329 start_input_tga(j_compress_ptr cinfo, cjpeg_source_ptr sinfo) start_input_tga() argument 478 finish_input_tga(j_compress_ptr cinfo, cjpeg_source_ptr sinfo) finish_input_tga() argument [all...] |
H A D | rdbmp.c | 81 read_byte(bmp_source_ptr sinfo) in read_byte() argument 84 register FILE *infile = sinfo->pub.input_file; in read_byte() 88 ERREXIT(sinfo->cinfo, JERR_INPUT_EOF); in read_byte() 94 read_colormap(bmp_source_ptr sinfo, int cmaplen, int mapentrysize) in read_colormap() argument 103 sinfo->colormap[2][i] = (JSAMPLE)read_byte(sinfo); in read_colormap() 104 sinfo->colormap[1][i] = (JSAMPLE)read_byte(sinfo); in read_colormap() 105 sinfo->colormap[0][i] = (JSAMPLE)read_byte(sinfo); in read_colormap() 412 start_input_bmp(j_compress_ptr cinfo, cjpeg_source_ptr sinfo) start_input_bmp() argument 657 finish_input_bmp(j_compress_ptr cinfo, cjpeg_source_ptr sinfo) finish_input_bmp() argument [all...] |
H A D | rdppm.c | 135 get_text_gray_row(j_compress_ptr cinfo, cjpeg_source_ptr sinfo) in METHODDEF() 138 ppm_source_ptr source = (ppm_source_ptr)sinfo; in METHODDEF() 162 get_text_gray_rgb_row(j_compress_ptr cinfo, cjpeg_source_ptr sinfo) in METHODDEF() 166 ppm_source_ptr source = (ppm_source_ptr)sinfo; in METHODDEF() 197 get_text_gray_cmyk_row(j_compress_ptr cinfo, cjpeg_source_ptr sinfo) in METHODDEF() 201 ppm_source_ptr source = (ppm_source_ptr)sinfo; in METHODDEF() 237 get_text_rgb_row(j_compress_ptr cinfo, cjpeg_source_ptr sinfo) in METHODDEF() 240 ppm_source_ptr source = (ppm_source_ptr)sinfo; in METHODDEF() 271 get_text_rgb_cmyk_row(j_compress_ptr cinfo, cjpeg_source_ptr sinfo) in METHODDEF() 275 ppm_source_ptr source = (ppm_source_ptr)sinfo; in METHODDEF() 558 start_input_ppm(j_compress_ptr cinfo, cjpeg_source_ptr sinfo) global() argument 750 finish_input_ppm(j_compress_ptr cinfo, cjpeg_source_ptr sinfo) global() argument [all...] |
H A D | cdjpeg.h | 31 void (*start_input) (j_compress_ptr cinfo, cjpeg_source_ptr sinfo); 32 JDIMENSION (*get_pixel_rows) (j_compress_ptr cinfo, cjpeg_source_ptr sinfo); 33 void (*finish_input) (j_compress_ptr cinfo, cjpeg_source_ptr sinfo);
|
/third_party/ltp/utils/sctp/lib/ |
H A D | sendmsg.c | 40 struct sctp_sndrcvinfo *sinfo; in sctp_sendmsg() local 59 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in sctp_sendmsg() 60 memset(sinfo, 0, sizeof(struct sctp_sndrcvinfo)); in sctp_sendmsg() 61 sinfo->sinfo_ppid = ppid; in sctp_sendmsg() 62 sinfo->sinfo_flags = flags; in sctp_sendmsg() 63 sinfo->sinfo_stream = stream_no; in sctp_sendmsg() 64 sinfo->sinfo_timetolive = timetolive; in sctp_sendmsg() 65 sinfo->sinfo_context = context; in sctp_sendmsg() 75 const struct sctp_sndrcvinfo *sinfo, int flags) in sctp_send() 89 if (sinfo) { in sctp_send() 74 sctp_send(int s, const void *msg, size_t len, const struct sctp_sndrcvinfo *sinfo, int flags) sctp_send() argument 102 memcpy(CMSG_DATA(cmsg), sinfo, sizeof(struct sctp_sndrcvinfo)); sctp_send() local [all...] |
H A D | recvmsg.c | 34 * struct sctp_sndrcvinfo *sinfo, 44 * sinfo - A pointer to a sctp_sndrcvinfo structure 56 socklen_t *fromlen, struct sctp_sndrcvinfo *sinfo, in sctp_recvmsg() 86 if (!sinfo) in sctp_recvmsg() 96 /* Copy sinfo. */ in sctp_recvmsg() 98 memcpy(sinfo, CMSG_DATA(cmsg), sizeof(struct sctp_sndrcvinfo)); in sctp_recvmsg() 55 sctp_recvmsg(int s, void *msg, size_t len, struct sockaddr *from, socklen_t *fromlen, struct sctp_sndrcvinfo *sinfo, int *msg_flags) sctp_recvmsg() argument
|
/third_party/ltp/utils/sctp/func_tests/ |
H A D | test_timetolive.c | 102 struct sctp_sndrcvinfo *sinfo; in main() local 208 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main() 209 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main() 212 sinfo->sinfo_ppid = ppid; in main() 213 sinfo->sinfo_stream = stream; in main() 282 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main() 283 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main() 286 sinfo->sinfo_ppid = ppid; in main() 287 sinfo->sinfo_stream = stream; in main() 294 sinfo in main() [all...] |
H A D | test_assoc_abort.c | 76 struct sctp_sndrcvinfo *sinfo; in main() local 134 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main() 135 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main() 138 sinfo->sinfo_ppid = ppid; in main() 139 sinfo->sinfo_stream = stream; in main() 197 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main() 198 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main() 199 sinfo->sinfo_flags |= SCTP_ABORT; in main() 203 sinfo->sinfo_assoc_id = svr_associd[i]; in main() 207 status.sstat_assoc_id = sinfo in main() [all...] |
H A D | test_assoc_shutdown.c | 75 struct sctp_sndrcvinfo *sinfo; in main() local 134 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main() 135 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main() 138 sinfo->sinfo_ppid = ppid; in main() 139 sinfo->sinfo_stream = stream; in main() 198 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main() 199 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main() 200 sinfo->sinfo_flags |= SCTP_EOF; in main() 204 sinfo->sinfo_assoc_id = svr_associd[i]; in main() 208 status.sstat_assoc_id = sinfo in main() [all...] |
H A D | test_sctp_sendrecvmsg.c | 90 struct sctp_sndrcvinfo sinfo; in main() local 185 &sinfo, &msg_flags); in main() 208 &sinfo, &msg_flags); in main() 222 &sinfo, &msg_flags); in main() 223 test_check_buf_data(big_buffer, error, msg_flags, &sinfo, in main() 284 &sinfo, &msg_flags); in main() 293 &sinfo, &msg_flags); in main() 294 test_check_buf_data(big_buffer, error, msg_flags, &sinfo, in main() 309 &sinfo, &msg_flags); in main() 331 &sinfo, in main() [all...] |
H A D | test_inaddr_any.c | 75 struct sctp_sndrcvinfo *sinfo; in main() local 166 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main() 167 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main() 170 sinfo->sinfo_ppid = ppid; in main() 171 sinfo->sinfo_stream = stream; in main() 214 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main() 215 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main() 218 sinfo->sinfo_ppid = ppid; in main() 219 sinfo->sinfo_stream = stream; in main()
|
H A D | test_basic.c | 77 struct sctp_sndrcvinfo *sinfo; in main() local 183 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main() 184 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main() 187 sinfo->sinfo_ppid = ppid; in main() 188 sinfo->sinfo_stream = stream; in main() 298 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main() 299 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main() 302 sinfo->sinfo_ppid = ppid; in main() 303 sinfo->sinfo_stream = stream; in main() 316 sinfo in main() [all...] |
H A D | test_1_to_1_events.c | 67 struct sctp_sndrcvinfo *sinfo; in main() local 126 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main() 127 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main() 131 sinfo->sinfo_ppid = ppid; in main() 132 sinfo->sinfo_stream = stream; in main()
|
H A D | test_1_to_1_sendmsg.c | 13 * TEST7: Invalid sinfo flags 80 struct sctp_sndrcvinfo *sinfo; in main() local 144 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main() 145 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main() 214 /*sendmsg () TEST7: Invalid sinfo flag EINVAL, Expected error*/ in main() 215 sinfo->sinfo_flags = 999; in main() 218 tst_brkm(TBROK, tst_exit, "sendmsg with invalid sinfo " in main() 221 tst_resm(TPASS, "sendmsg() with invalid sinfo flags - EINVAL"); in main() 224 sinfo->sinfo_flags = SCTP_EOF; in main() 233 sinfo in main() [all...] |
H A D | test_fragments.c | 87 struct sctp_sndrcvinfo *sinfo; in main() local 158 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main() 159 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main() 162 sinfo->sinfo_ppid = ppid; in main() 163 sinfo->sinfo_stream = stream; in main()
|
H A D | test_peeloff.c | 74 struct sctp_sndrcvinfo *sinfo; in main() local 147 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main() 148 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main() 151 sinfo->sinfo_ppid = ppid; in main() 152 sinfo->sinfo_stream = stream; in main()
|
/third_party/libuv/src/unix/ |
H A D | haiku.c | 60 system_info sinfo; in uv_get_free_memory() local 62 status = get_system_info(&sinfo); in uv_get_free_memory() 66 return (sinfo.max_pages - sinfo.used_pages) * B_PAGE_SIZE; in uv_get_free_memory() 72 system_info sinfo; in uv_get_total_memory() local 74 status = get_system_info(&sinfo); in uv_get_total_memory() 78 return sinfo.max_pages * B_PAGE_SIZE; in uv_get_total_memory()
|
/third_party/node/deps/uv/src/unix/ |
H A D | haiku.c | 60 system_info sinfo; in uv_get_free_memory() local 62 status = get_system_info(&sinfo); in uv_get_free_memory() 66 return (sinfo.max_pages - sinfo.used_pages) * B_PAGE_SIZE; in uv_get_free_memory() 72 system_info sinfo; in uv_get_total_memory() local 74 status = get_system_info(&sinfo); in uv_get_total_memory() 78 return sinfo.max_pages * B_PAGE_SIZE; in uv_get_total_memory()
|
/third_party/ltp/utils/sctp/testlib/ |
H A D | sctputil.c | 230 /* Check if a buf/msg_flags/sinfo corresponds to data, its length, msg_flags, 235 struct sctp_sndrcvinfo *sinfo, int expected_datalen, in test_check_buf_data() 259 if (!sinfo) in test_check_buf_data() 261 "Null sinfo, but expected stream:%d expected ppid:%d", in test_check_buf_data() 264 if (sinfo->sinfo_stream != expected_stream) in test_check_buf_data() 267 expected_stream, sinfo->sinfo_stream); in test_check_buf_data() 268 if (sinfo->sinfo_ppid != expected_ppid) in test_check_buf_data() 271 expected_ppid, sinfo->sinfo_ppid); in test_check_buf_data() 283 struct sctp_sndrcvinfo *sinfo = NULL; in test_check_msg_data() local 295 sinfo in test_check_msg_data() 234 test_check_buf_data(void *buf LTP_ATTRIBUTE_UNUSED, int datalen, int msg_flags, struct sctp_sndrcvinfo *sinfo, int expected_datalen, int expected_msg_flags, uint16_t expected_stream, uint32_t expected_ppid) test_check_buf_data() argument [all...] |
/third_party/node/deps/openssl/openssl/crypto/ec/ |
H A D | ecdh_kdf.c | 26 const unsigned char *sinfo, size_t sinfolen, in ossl_ecdh_kdf_X9_63() 42 (void *)sinfo, sinfolen); in ossl_ecdh_kdf_X9_63() 59 const unsigned char *sinfo, size_t sinfolen, in ECDH_KDF_X9_62() 62 return ossl_ecdh_kdf_X9_63(out, outlen, Z, Zlen, sinfo, sinfolen, md, NULL, in ECDH_KDF_X9_62() 24 ossl_ecdh_kdf_X9_63(unsigned char *out, size_t outlen, const unsigned char *Z, size_t Zlen, const unsigned char *sinfo, size_t sinfolen, const EVP_MD *md, OSSL_LIB_CTX *libctx, const char *propq) ossl_ecdh_kdf_X9_63() argument 57 ECDH_KDF_X9_62(unsigned char *out, size_t outlen, const unsigned char *Z, size_t Zlen, const unsigned char *sinfo, size_t sinfolen, const EVP_MD *md) ECDH_KDF_X9_62() argument
|
/third_party/openssl/crypto/ec/ |
H A D | ecdh_kdf.c | 26 const unsigned char *sinfo, size_t sinfolen, in ossl_ecdh_kdf_X9_63() 42 (void *)sinfo, sinfolen); in ossl_ecdh_kdf_X9_63() 59 const unsigned char *sinfo, size_t sinfolen, in ECDH_KDF_X9_62() 62 return ossl_ecdh_kdf_X9_63(out, outlen, Z, Zlen, sinfo, sinfolen, md, NULL, in ECDH_KDF_X9_62() 24 ossl_ecdh_kdf_X9_63(unsigned char *out, size_t outlen, const unsigned char *Z, size_t Zlen, const unsigned char *sinfo, size_t sinfolen, const EVP_MD *md, OSSL_LIB_CTX *libctx, const char *propq) ossl_ecdh_kdf_X9_63() argument 57 ECDH_KDF_X9_62(unsigned char *out, size_t outlen, const unsigned char *Z, size_t Zlen, const unsigned char *sinfo, size_t sinfolen, const EVP_MD *md) ECDH_KDF_X9_62() argument
|
/third_party/skia/modules/skottie/src/text/ |
H A D | RangeSelector.cpp | 206 ShapeGenerator(const ShapeInfo& sinfo, float ease_lo, float ease_hi) in ShapeGenerator() 207 : shape_mapper(sinfo.ctrl0, sinfo.ctrl1) in ShapeGenerator() 209 , e0(sinfo.e0) 210 , e1(sinfo.e1) 211 , crs(sinfo.crs) {}
|
/third_party/backends/backend/ |
H A D | plustek_pp.c | 1800 ScanInfo sinfo; in sane_start() local 1892 memset (&sinfo, 0, sizeof(sinfo)); in sane_start() 1893 sinfo.ImgDef.xyDpi.x = ndpi; in sane_start() 1894 sinfo.ImgDef.xyDpi.y = ndpi; in sane_start() 1895 sinfo.ImgDef.crArea.x = left; /* offset from left edge to area you want to scan */ in sane_start() 1896 sinfo.ImgDef.crArea.y = top; /* offset from top edge to area you want to scan */ in sane_start() 1897 sinfo.ImgDef.crArea.cx = width; /* always relative to 300 dpi */ in sane_start() 1898 sinfo.ImgDef.crArea.cy = height; in sane_start() 1899 sinfo in sane_start() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | sctp.c | 75 socklen_t *fromlen, struct sctp_sndrcvinfo *sinfo, in ff_sctp_recvmsg() 109 /* Copy sinfo. */ in ff_sctp_recvmsg() 111 memcpy(sinfo, CMSG_DATA(cmsg), sizeof(struct sctp_sndrcvinfo)); in ff_sctp_recvmsg() 117 const struct sctp_sndrcvinfo *sinfo, int flags) in ff_sctp_send() 130 if (sinfo) { in ff_sctp_send() 144 memcpy(CMSG_DATA(cmsg), sinfo, sizeof(struct sctp_sndrcvinfo)); in ff_sctp_send() local 74 ff_sctp_recvmsg(int s, void *msg, size_t len, struct sockaddr *from, socklen_t *fromlen, struct sctp_sndrcvinfo *sinfo, int *msg_flags) ff_sctp_recvmsg() argument 116 ff_sctp_send(int s, const void *msg, size_t len, const struct sctp_sndrcvinfo *sinfo, int flags) ff_sctp_send() argument
|