Home
last modified time | relevance | path

Searched full:bs (Results 1 – 25 of 1836) sorted by relevance

12345678910>>...74

/third_party/nghttp2/fuzz/corpus/nghttp/
Dd53b58a8685030918fda36a704db43cdfec99fc1b9de83c195227161f4bdb9116 ��� ��bS��A���� ���S*/*�z��iҚ��W��q
7 10��$������ ��bS������
8 10��$������ ��bS������
9 10��$������ ��bS������
10 10��$������ ��bS������
11 10��$������ ��bS������
12 10��$������ ��bS������
13 10��$������ ��bS������
14 10��$������ ��bS������
15 10��$������ ��bS������
[all …]
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_batch.c30 zink_reset_batch_state(struct zink_context *ctx, struct zink_batch_state *bs) in zink_reset_batch_state() argument
34 VkResult result = VKSCR(ResetCommandPool)(screen->dev, bs->cmdpool, 0); in zink_reset_batch_state()
39 set_foreach_remove(bs->resources, entry) { in zink_reset_batch_state()
41 if (!zink_resource_object_usage_unset(obj, bs)) { in zink_reset_batch_state()
46 util_dynarray_append(&bs->unref_resources, struct zink_resource_object*, obj); in zink_reset_batch_state()
50 while (util_dynarray_contains(&bs->bindless_releases[i], uint32_t)) { in zink_reset_batch_state()
51 uint32_t handle = util_dynarray_pop(&bs->bindless_releases[i], uint32_t); in zink_reset_batch_state()
58 set_foreach_remove(bs->active_queries, entry) { in zink_reset_batch_state()
60 zink_prune_query(screen, bs, query); in zink_reset_batch_state()
63 set_foreach_remove(bs->surfaces, entry) { in zink_reset_batch_state()
[all …]
/third_party/node/deps/v8/tools/wasm-compilation-hints/
Dwasm.py16 bs = fin.peek(1)[:1]
17 if len(bs) != 1:
18 return None, bs
19 return ord(bs[0]), bs
22 value, bs = peek_uint8(fin)
23 fin.read(len(bs))
24 return value, bs
27 bs = fin.peek(4)[:4]
28 if len(bs) != 4:
29 return None, bs
[all …]
Dinject-compilation-hints.py37 magic_number, bs = read_magic_number(fin); variable
38 fout.write(bs)
39 version, bs = read_version(fin); variable
40 fout.write(bs)
43 id, bs = read_varuintN(fin) variable
44 fout.write(bs)
47 payload_length, bs = read_varuintN(fin) variable
48 fout.write(bs)
52 num_declared_functions, bs = peek_varuintN(fin) variable
54 bs = fin.read(payload_length) variable
[all …]
/third_party/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
DTestCharset.java252 ByteBuffer bs = ByteBuffer.wrap(bytes, 0, limit); in runTestASCIIBasedConverter() local
254 smBufDecode(decoder, converter, bs, us, true); in runTestASCIIBasedConverter()
255 smBufDecode(decoder, converter, bs, us, false); in runTestASCIIBasedConverter()
256 smBufEncode(encoder, converter, us, bs, true); in runTestASCIIBasedConverter()
257 smBufEncode(encoder, converter, us, bs, false); in runTestASCIIBasedConverter()
259 bs = ByteBuffer.wrap(bytes, i, 1).slice(); in runTestASCIIBasedConverter()
264 smBufDecode(decoder, converter, bs, us, true, false, true); in runTestASCIIBasedConverter()
268 smBufDecode(decoder, converter, bs, us, true, false, false); in runTestASCIIBasedConverter()
272 smBufEncode(encoder, converter, us, bs, true, false, true); in runTestASCIIBasedConverter()
276 smBufEncode(encoder, converter, us, bs, true, false, false); in runTestASCIIBasedConverter()
[all …]
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DByteStringTest.cs78 ByteString bs = ByteString.CopyFrom("AB", Encoding.Unicode); in CopyFromStringWithExplicitEncoding()
79 Assert.AreEqual(4, bs.Length); in CopyFromStringWithExplicitEncoding()
80 Assert.AreEqual(65, bs[0]); in CopyFromStringWithExplicitEncoding()
81 Assert.AreEqual(0, bs[1]); in CopyFromStringWithExplicitEncoding()
82 Assert.AreEqual(66, bs[2]); in CopyFromStringWithExplicitEncoding()
83 Assert.AreEqual(0, bs[3]); in CopyFromStringWithExplicitEncoding()
103 ByteString bs = ByteString.CopyFrom(data); in CopyFromByteArrayCopiesContents()
104 Assert.AreEqual(10, bs[0]); in CopyFromByteArrayCopiesContents()
106 Assert.AreEqual(10, bs[0]); in CopyFromByteArrayCopiesContents()
112 ByteString bs = ByteString.CopyFromUtf8("Hello"); in ToByteArrayCopiesContents()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_mpeg12_bitstream.c621 motion_vector(struct vl_mpg12_bs *bs, int r, int s, int dmv, short delta[2], short dmvector[2]) in motion_vector() argument
626 int r_size = bs->desc->f_code[s][t]; in motion_vector()
628 vl_vlc_fillbits(&bs->vlc); in motion_vector()
629 motion_code = vl_vlc_get_vlclbf(&bs->vlc, tbl_B10, 11); in motion_vector()
633 int residual = vl_vlc_get_uimsbf(&bs->vlc, r_size) + 1; in motion_vector()
640 dmvector[t] = vl_vlc_get_vlclbf(&bs->vlc, tbl_B11, 2); in motion_vector()
656 motion_vector_frame(struct vl_mpg12_bs *bs, int s, struct pipe_mpeg12_macroblock *mb) in motion_vector_frame() argument
662 mb->motion_vertical_field_select |= vl_vlc_get_uimsbf(&bs->vlc, 1) << s; in motion_vector_frame()
663 motion_vector(bs, 0, s, dmv, delta, dmvector); in motion_vector_frame()
664 mb->PMV[0][s][0] = wrap(mb->PMV[0][s][0] + delta[0], bs->desc->f_code[s][0]); in motion_vector_frame()
[all …]
/third_party/openssl/doc/man3/
DOCSP_resp_find_status.pod18 int OCSP_resp_find_status(OCSP_BASICRESP *bs, OCSP_CERTID *id, int *status,
24 int OCSP_resp_count(OCSP_BASICRESP *bs);
25 OCSP_SINGLERESP *OCSP_resp_get0(OCSP_BASICRESP *bs, int idx);
26 int OCSP_resp_find(OCSP_BASICRESP *bs, OCSP_CERTID *id, int last);
35 const ASN1_OCTET_STRING *OCSP_resp_get0_signature(const OCSP_BASICRESP *bs);
36 const X509_ALGOR *OCSP_resp_get0_tbs_sigalg(const OCSP_BASICRESP *bs);
37 const OCSP_RESPDATA *OCSP_resp_get0_respdata(const OCSP_BASICRESP *bs);
38 const STACK_OF(X509) *OCSP_resp_get0_certs(const OCSP_BASICRESP *bs);
40 int OCSP_resp_get0_signer(OCSP_BASICRESP *bs, X509 **signer,
43 int OCSP_resp_get0_id(const OCSP_BASICRESP *bs,
[all …]
/third_party/node/deps/openssl/openssl/ssl/
Dbio_ssl.c58 BIO_SSL *bs = OPENSSL_zalloc(sizeof(*bs)); in ssl_new() local
60 if (bs == NULL) { in ssl_new()
65 BIO_set_data(bi, bs); in ssl_new()
74 BIO_SSL *bs; in ssl_free() local
78 bs = BIO_get_data(a); in ssl_free()
80 if (bs->ssl != NULL) in ssl_free()
81 SSL_shutdown(bs->ssl); in ssl_free()
83 SSL_free(bs->ssl); in ssl_free()
87 OPENSSL_free(bs); in ssl_free()
166 BIO_SSL *bs; in ssl_write() local
[all …]
/third_party/openssl/ssl/
Dbio_ssl.c58 BIO_SSL *bs = OPENSSL_zalloc(sizeof(*bs)); in ssl_new() local
60 if (bs == NULL) { in ssl_new()
65 BIO_set_data(bi, bs); in ssl_new()
74 BIO_SSL *bs; in ssl_free() local
78 bs = BIO_get_data(a); in ssl_free()
80 if (bs->ssl != NULL) in ssl_free()
81 SSL_shutdown(bs->ssl); in ssl_free()
83 SSL_free(bs->ssl); in ssl_free()
87 OPENSSL_free(bs); in ssl_free()
166 BIO_SSL *bs; in ssl_write() local
[all …]
/third_party/ffmpeg/libavcodec/
Dh264_loopfilter.c99 /* intra: 0 if this loopfilter call is guaranteed to be inter (bS < 4), 1 if it might be intra (bS
101 const int16_t bS[4], in filter_mb_edgev()
110 if( bS[0] < 4 || !intra ) { in filter_mb_edgev()
112 tc[0] = tc0_table[index_a][bS[0]]; in filter_mb_edgev()
113 tc[1] = tc0_table[index_a][bS[1]]; in filter_mb_edgev()
114 tc[2] = tc0_table[index_a][bS[2]]; in filter_mb_edgev()
115 tc[3] = tc0_table[index_a][bS[3]]; in filter_mb_edgev()
123 const int16_t bS[4], in filter_mb_edgecv()
132 if( bS[0] < 4 || !intra ) { in filter_mb_edgecv()
134 tc[0] = tc0_table[index_a][bS[0]]+1; in filter_mb_edgecv()
[all …]
Dpnm_parser.c84 uint8_t *bs = pnmctx.bytestream; in pnm_parse() local
86 uint8_t *sync = bs; in pnm_parse()
89 av_assert0(pnmpc->ascii_scan <= end - bs); in pnm_parse()
90 bs += pnmpc->ascii_scan; in pnm_parse()
93 while (bs < end) { in pnm_parse()
95 sync = bs; in pnm_parse()
96 c = *bs++; in pnm_parse()
98 uint8_t *match = memchr(bs, '\n', end-bs); in pnm_parse()
100 bs = match + 1; in pnm_parse()
104 next = bs - pnmctx.bytestream_start + skip - 1; in pnm_parse()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DByteStringTest.cs82 ByteString bs = ByteString.CopyFrom("AB", Encoding.Unicode); in CopyFromStringWithExplicitEncoding()
83 Assert.AreEqual(4, bs.Length); in CopyFromStringWithExplicitEncoding()
84 Assert.AreEqual(65, bs[0]); in CopyFromStringWithExplicitEncoding()
85 Assert.AreEqual(0, bs[1]); in CopyFromStringWithExplicitEncoding()
86 Assert.AreEqual(66, bs[2]); in CopyFromStringWithExplicitEncoding()
87 Assert.AreEqual(0, bs[3]); in CopyFromStringWithExplicitEncoding()
107 ByteString bs = ByteString.CopyFrom(data); in CopyFromByteArrayCopiesContents()
108 Assert.AreEqual(10, bs[0]); in CopyFromByteArrayCopiesContents()
110 Assert.AreEqual(10, bs[0]); in CopyFromByteArrayCopiesContents()
116 ByteString bs = ByteString.CopyFromUtf8("Hello"); in ToByteArrayCopiesContents()
[all …]
/third_party/openssl/crypto/ocsp/
Docsp_cl.c141 const ASN1_OCTET_STRING *OCSP_resp_get0_signature(const OCSP_BASICRESP *bs) in OCSP_resp_get0_signature() argument
143 return bs->signature; in OCSP_resp_get0_signature()
146 const X509_ALGOR *OCSP_resp_get0_tbs_sigalg(const OCSP_BASICRESP *bs) in OCSP_resp_get0_tbs_sigalg() argument
148 return &bs->signatureAlgorithm; in OCSP_resp_get0_tbs_sigalg()
151 const OCSP_RESPDATA *OCSP_resp_get0_respdata(const OCSP_BASICRESP *bs) in OCSP_resp_get0_respdata() argument
153 return &bs->tbsResponseData; in OCSP_resp_get0_respdata()
158 int OCSP_resp_count(OCSP_BASICRESP *bs) in OCSP_resp_count() argument
160 if (bs == NULL) in OCSP_resp_count()
162 return sk_OCSP_SINGLERESP_num(bs->tbsResponseData.responses); in OCSP_resp_count()
166 OCSP_SINGLERESP *OCSP_resp_get0(OCSP_BASICRESP *bs, int idx) in OCSP_resp_get0() argument
[all …]
/third_party/node/deps/openssl/openssl/crypto/ocsp/
Docsp_cl.c141 const ASN1_OCTET_STRING *OCSP_resp_get0_signature(const OCSP_BASICRESP *bs) in OCSP_resp_get0_signature() argument
143 return bs->signature; in OCSP_resp_get0_signature()
146 const X509_ALGOR *OCSP_resp_get0_tbs_sigalg(const OCSP_BASICRESP *bs) in OCSP_resp_get0_tbs_sigalg() argument
148 return &bs->signatureAlgorithm; in OCSP_resp_get0_tbs_sigalg()
151 const OCSP_RESPDATA *OCSP_resp_get0_respdata(const OCSP_BASICRESP *bs) in OCSP_resp_get0_respdata() argument
153 return &bs->tbsResponseData; in OCSP_resp_get0_respdata()
158 int OCSP_resp_count(OCSP_BASICRESP *bs) in OCSP_resp_count() argument
160 if (bs == NULL) in OCSP_resp_count()
162 return sk_OCSP_SINGLERESP_num(bs->tbsResponseData.responses); in OCSP_resp_count()
166 OCSP_SINGLERESP *OCSP_resp_get0(OCSP_BASICRESP *bs, int idx) in OCSP_resp_get0() argument
[all …]
/third_party/ffmpeg/libavformat/
Dlatmenc.c118 static void latm_write_frame_header(AVFormatContext *s, PutBitContext *bs) in latm_write_frame_header() argument
125 put_bits(bs, 1, !!ctx->counter); in latm_write_frame_header()
129 put_bits(bs, 1, 0); /* audioMuxVersion */ in latm_write_frame_header()
130 put_bits(bs, 1, 1); /* allStreamsSameTimeFraming */ in latm_write_frame_header()
131 put_bits(bs, 6, 0); /* numSubFrames */ in latm_write_frame_header()
132 put_bits(bs, 4, 0); /* numProgram */ in latm_write_frame_header()
133 put_bits(bs, 3, 0); /* numLayer */ in latm_write_frame_header()
138 copy_bits(bs, &par->extradata[ctx->off >> 3], header_size); in latm_write_frame_header()
142 copy_bits(bs, par->extradata, ctx->off + 3); in latm_write_frame_header()
149 ff_copy_pce_data(bs, &gb); in latm_write_frame_header()
[all …]
Dmpc8.c59 static inline int64_t bs_get_v(const uint8_t **bs) in bs_get_v() argument
66 c = **bs; (*bs)++; in bs_get_v()
79 const uint8_t *bs = p->buf + 4; in mpc8_probe() local
80 const uint8_t *bs_end = bs + p->buf_size; in mpc8_probe()
87 while (bs < bs_end + 3) { in mpc8_probe()
88 int header_found = (bs[0] == 'S' && bs[1] == 'H'); in mpc8_probe()
89 if (bs[0] < 'A' || bs[0] > 'Z' || bs[1] < 'A' || bs[1] > 'Z') in mpc8_probe()
91 bs += 2; in mpc8_probe()
92 size = bs_get_v(&bs); in mpc8_probe()
95 if (size >= bs_end - bs + 2) in mpc8_probe()
[all …]
/third_party/lame/libmp3lame/
Dbitstream.c137 Bit_stream_struc *bs = &gfc->bs; in putheader_bits() local
141 memcpy(&bs->buf[bs->buf_byte_idx], esv->header[esv->w_ptr].buf, cfg->sideinfo_len); in putheader_bits()
142 bs->buf_byte_idx += cfg->sideinfo_len; in putheader_bits()
143 bs->totbit += cfg->sideinfo_len * 8; in putheader_bits()
155 Bit_stream_struc *bs; in putbits2() local
156 bs = &gfc->bs; in putbits2()
162 if (bs->buf_bit_idx == 0) { in putbits2()
163 bs->buf_bit_idx = 8; in putbits2()
164 bs->buf_byte_idx++; in putbits2()
165 assert(bs->buf_byte_idx < BUFFER_SIZE); in putbits2()
[all …]
/third_party/openssl/test/
Docspapitest.c72 OCSP_BASICRESP *bs = OCSP_BASICRESP_new(); in make_dummy_resp() local
91 if (!TEST_ptr(bs) in make_dummy_resp()
95 || !TEST_true(OCSP_basic_add1_status(bs, cid, in make_dummy_resp()
99 bs_out = bs; in make_dummy_resp()
100 bs = NULL; in make_dummy_resp()
107 OCSP_BASICRESP_free(bs); in make_dummy_resp()
114 OCSP_BASICRESP *bs = NULL; in test_resp_signer() local
124 bs = make_dummy_resp(); in test_resp_signer()
126 if (!TEST_ptr(bs) in test_resp_signer()
130 || !TEST_true(OCSP_basic_sign(bs, signer, key, EVP_sha1(), in test_resp_signer()
[all …]
/third_party/ltp/lib/
Dtst_fill_file.c33 int tst_fill_fd(int fd, char pattern, size_t bs, size_t bcount) in tst_fill_fd() argument
39 buf = malloc(bs); in tst_fill_fd()
43 for (i = 0; i < bs; i++) in tst_fill_fd()
48 if (write(fd, buf, bs) != (ssize_t)bs) { in tst_fill_fd()
59 int tst_prealloc_size_fd(int fd, size_t bs, size_t bcount) in tst_prealloc_size_fd() argument
64 ret = fallocate(fd, 0, 0, bs * bcount); in tst_prealloc_size_fd()
70 ret = tst_fill_fd(fd, 0, bs, bcount); in tst_prealloc_size_fd()
75 int tst_fill_file(const char *path, char pattern, size_t bs, size_t bcount) in tst_fill_file() argument
83 if (tst_fill_fd(fd, pattern, bs, bcount)) { in tst_fill_file()
98 int tst_prealloc_file(const char *path, size_t bs, size_t bcount) in tst_prealloc_file() argument
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/shaders/src/
DConvertVertex.comp12 // Ns components, each Bs bytes
26 // The input is received in 4-byte elements, therefore each element has Es=4/Bs components.
31 // We don't use Bs and Es for A2B10G10R10 and R10G10B10A2 formats since they take 10 or 2 bits per
32 // component. Variables that are computed using Bs or Es are hardcoded instead.
36 // floor(c / Ns) * Ss + mod(c, Ns) * Bs
41 // * SintToSint: covers byte, short and int types (distinguished by Bs and Bd).
42 // * UintToUint: covers ubyte, ushort, uint and half float types (distinguished by Bs and Bd).
119 uint Bs; // Source component byte size
121 uint Es; // Precalculated 4/Bs
143 // With fixed-point and float types, Bs can only be 4, so it is hardcoded for more efficiency. The
[all …]
/third_party/ntfs-3g/ntfsprogs/
Dntfslabel.c239 NTFS_BOOT_SECTOR *bs, NTFS_BOOT_SECTOR *oldbs) in change_serial() argument
247 vol->sector_size, bs) == vol->sector_size)) { in change_serial()
251 memcpy(oldbs, bs, vol->sector_size); in change_serial()
254 same = !memcmp(oldbs, bs, vol->sector_size); in change_serial()
257 bs->volume_serial_number = serial_number; in change_serial()
260 bs->volume_serial_number in change_serial()
262 | (bs->volume_serial_number & ~mask); in change_serial()
267 vol->sector_size, bs) == vol->sector_size)) { in change_serial()
281 NTFS_BOOT_SECTOR *bs; /* full boot sectors */ in set_new_serial() local
289 bs = (NTFS_BOOT_SECTOR*)ntfs_malloc(vol->sector_size); in set_new_serial()
[all …]
/third_party/ffmpeg/libavcodec/arm/
Dvp8_armv6.S23 .macro rac_get_prob h, bs, buf, cw, pr, t0, t1
24 adds \bs, \bs, \t0
33 A orrcs \cw, \cw, \t1, lsl \bs
34 T lslcs \t1, \t1, \bs
36 subcs \bs, \bs, #16
44 .macro rac_get_128 h, bs, buf, cw, t0, t1
45 adds \bs, \bs, \t0
54 A orrcs \cw, \cw, \t1, lsl \bs
56 T lslcs \t1, \t1, \bs
58 subcs \bs, \bs, #16
/third_party/glslang/Test/baseResults/
Dhlsl.promotions.frag.out28 …, uniform 3-component vector of double d3, uniform int is, uniform bool bs, uniform float fs, …
34 …, uniform 3-component vector of double d3, uniform int is, uniform bool bs, uniform float fs, …
45 …, uniform 3-component vector of double d3, uniform int is, uniform bool bs, uniform float fs, …
51 …, uniform 3-component vector of double d3, uniform int is, uniform bool bs, uniform float fs, …
62 …, uniform 3-component vector of double d3, uniform int is, uniform bool bs, uniform float fs, …
68 …, uniform 3-component vector of double d3, uniform int is, uniform bool bs, uniform float fs, …
79 …, uniform 3-component vector of double d3, uniform int is, uniform bool bs, uniform float fs, …
85 …, uniform 3-component vector of double d3, uniform int is, uniform bool bs, uniform float fs, …
96 …, uniform 3-component vector of double d3, uniform int is, uniform bool bs, uniform float fs, …
102 …, uniform 3-component vector of double d3, uniform int is, uniform bool bs, uniform float fs, …
[all …]
/third_party/icu/icu4c/source/python/icutools/databuilder/test/
Dfiltration_test.py27 "bs",
123 "bs"
137 "bs"
198 # bs: should include the full dependency tree of bs_BA
202 "bs",
247 "bs",
272 # bs: includeScripts only works for language-only (without region)
276 "bs",
325 # bs: includeScripts only works for language-only (without region)
329 "bs",
[all …]

12345678910>>...74