Home
last modified time | relevance | path

Searched refs:b64 (Results 1 – 25 of 150) sorted by relevance

123456

/external/grpc-grpc/test/core/slice/
Db64_test.cc62 char* b64; in test_full_range_encode_decode_b64() local
69 b64 = grpc_base64_encode(orig, sizeof(orig) - i, url_safe, multiline); in test_full_range_encode_decode_b64()
70 orig_decoded = grpc_base64_decode(b64, url_safe); in test_full_range_encode_decode_b64()
75 gpr_free(b64); in test_full_range_encode_decode_b64()
114 char* b64; in test_url_safe_unsafe_mismatch_failure() local
120 b64 = grpc_base64_encode(orig, sizeof(orig), url_safe, 0); in test_url_safe_unsafe_mismatch_failure()
121 orig_decoded = grpc_base64_decode(b64, !url_safe); in test_url_safe_unsafe_mismatch_failure()
123 gpr_free(b64); in test_url_safe_unsafe_mismatch_failure()
126 b64 = grpc_base64_encode(orig, sizeof(orig), !url_safe, 0); in test_url_safe_unsafe_mismatch_failure()
127 orig_decoded = grpc_base64_decode(b64, url_safe); in test_url_safe_unsafe_mismatch_failure()
[all …]
/external/tensorflow/tensorflow/core/lib/strings/
Dbase64.cc98 const char* b64 = data.data(); in Base64Decode() local
101 while (end - b64 > 4) { in Base64Decode()
102 TF_RETURN_IF_ERROR(DecodeThreeChars(b64, current)); in Base64Decode()
103 b64 += 4; in Base64Decode()
107 if (end - b64 == 4) { in Base64Decode()
110 if (b64[2] == kPadChar && b64[3] == kPadChar) { in Base64Decode()
113 if (b64[2] != kPadChar && b64[3] == kPadChar) { in Base64Decode()
118 const int remain = static_cast<int>(end - b64); in Base64Decode()
129 std::memcpy(tail, b64, remain * sizeof(*b64)); in Base64Decode()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/NVPTX/
Dshift-parts.ll5 ; CHECK: shl.b64
9 ; CHECK: or.b64
11 ; CHECK: shl.b64
13 ; CHECK: selp.b64
14 ; CHECK: shl.b64
26 ; CHECK: shl.b64
27 ; CHECK: or.b64
31 ; CHECK: selp.b64
Drotate.ll6 declare i64 @llvm.nvvm.rotate.b64(i64, i32)
7 declare i64 @llvm.nvvm.rotate.right.b64(i64, i32)
24 ; SM20: shl.b64
26 ; SM20: shr.b64
30 %val = tail call i64 @llvm.nvvm.rotate.b64(i64 %a, i32 %b)
37 ; SM20: shr.b64
39 ; SM20: shl.b64
43 %val = tail call i64 @llvm.nvvm.rotate.right.b64(i64 %a, i32 %b)
Dmatch.ll30 ; CHECK: match.any.sync.b64 [[V0:%rd[0-9]+]], [[VALUE]], [[MASK]];
32 ; CHECK: match.any.sync.b64 [[V1:%rd[0-9]+]], [[VALUE]], 1;
34 ; CHECK: match.any.sync.b64 [[V2:%rd[0-9]+]], 2, [[MASK]];
36 ; CHECK: match.any.sync.b64 [[V3:%rd[0-9]+]], 4, 3;
88 ; CHECK: match.all.sync.b64 {{%rd[0-9]+\|%p[0-9]+}}, [[VALUE]], [[MASK]];
93 ; CHECK: match.all.sync.b64 {{%rd[0-9]+\|%p[0-9]+}}, 1, [[MASK]];
98 ; CHECK: match.all.sync.b64 {{%rd[0-9]+\|%p[0-9]+}}, [[VALUE]], 2;
103 ; CHECK: match.all.sync.b64 {{%rd[0-9]+\|%p[0-9]+}}, 4, 3;
Di128-param.ll32 ; CHECK-NEXT: st.param.v2.b64 [param0+0], {%[[REG0]], %[[REG1]]}
34 ; CHECK-NEXT: st.param.v2.b64 [param1+0], {%[[REG2]], %[[REG3]]}
51 ; CHECK: st.param.v2.b64 [param0+0], {%[[REG0]], %[[REG1]]}
53 ; CHECK: st.param.v2.b64 [param1+0], {%[[REG2]], %[[REG3]]}
Dcall-with-alloca-buffer.ll50 ; CHECK: .param .b64 param0;
51 ; CHECK-NEXT: st.param.b64 [param0+0], %rd[[A_REG]]
52 ; CHECK-NEXT: .param .b64 param1;
53 ; CHECK-NEXT: st.param.b64 [param1+0], %rd[[SP_REG]]
Dctlz.ll31 ; PTX's clz.b64 returns a 32-bit value, but LLVM's intrinsic returns a 64-bit
36 ; CHECK-NEXT: clz.b64
46 ; CHECK-NEXT: clz.b64
55 ; natural return width of ptx's clz.b64 instruction. No conversions should be
60 ; CHECK-NEXT: clz.b64
70 ; CHECK-NEXT: clz.b64
Dparam-load-store.ll563 ; CHECK: .func (.param .b64 func_retval0)
565 ; CHECK-NEXT: .param .b64 test_i64_param_0
567 ; CHECK: .param .b64 param0;
568 ; CHECK: st.param.b64 [param0+0], [[E]];
569 ; CHECK: .param .b64 retval0;
572 ; CHECK: ld.param.b64 [[R:%rd[0-9]+]], [retval0+0];
573 ; CHECK: st.param.b64 [func_retval0+0], [[R]];
586 ; CHECK: st.param.v2.b64 [param0+0], {[[E0]], [[E1]]};
587 ; CHECK: st.param.b64 [param0+16], [[E2]];
591 ; CHECK: ld.param.v2.b64 {[[RE0:%rd[0-9]+]], [[RE1:%rd[0-9]+]]}, [retval0+0];
[all …]
/external/llvm/test/CodeGen/NVPTX/
Dshift-parts.ll5 ; CHECK: shl.b64
9 ; CHECK: or.b64
11 ; CHECK: shl.b64
13 ; CHECK: selp.b64
14 ; CHECK: shl.b64
26 ; CHECK: shl.b64
27 ; CHECK: or.b64
31 ; CHECK: selp.b64
Drotate.ll6 declare i64 @llvm.nvvm.rotate.b64(i64, i32)
7 declare i64 @llvm.nvvm.rotate.right.b64(i64, i32)
24 ; SM20: shl.b64
26 ; SM20: shr.b64
30 %val = tail call i64 @llvm.nvvm.rotate.b64(i64 %a, i32 %b)
37 ; SM20: shr.b64
39 ; SM20: shl.b64
43 %val = tail call i64 @llvm.nvvm.rotate.right.b64(i64 %a, i32 %b)
Dcall-with-alloca-buffer.ll52 ; CHECK: .param .b64 param0;
53 ; CHECK-NEXT: st.param.b64 [param0+0], %rd[[A2_REG]]
54 ; CHECK-NEXT: .param .b64 param1;
55 ; CHECK-NEXT: st.param.b64 [param1+0], %rd[[SP_REG]]
/external/e2fsprogs/lib/ext2fs/
Dbmap.c310 blk64_t b64; in ext2fs_bmap2() local
376 b64 = b; in ext2fs_bmap2()
377 retval = ext2fs_alloc_block3(fs, b64, block_buf, &b64, in ext2fs_bmap2()
379 b = b64; in ext2fs_bmap2()
402 b64 = b; in ext2fs_bmap2()
403 retval = ext2fs_alloc_block3(fs, b64, block_buf, &b64, in ext2fs_bmap2()
405 b = b64; in ext2fs_bmap2()
430 b64 = b; in ext2fs_bmap2()
431 retval = ext2fs_alloc_block3(fs, b64, block_buf, &b64, in ext2fs_bmap2()
433 b = b64; in ext2fs_bmap2()
[all …]
/external/libopus/silk/
DMacroDebug.h167 static OPUS_INLINE opus_int64 silk_ADD_SAT64_( opus_int64 a64, opus_int64 b64, char *file, int line… in silk_ADD_SAT64_() argument
170 res = ((((a64) + (b64)) & 0x8000000000000000LL) == 0 ? \ in silk_ADD_SAT64_()
171 ((((a64) & (b64)) & 0x8000000000000000LL) != 0 ? silk_int64_MIN : (a64)+(b64)) : \ in silk_ADD_SAT64_()
172 ((((a64) | (b64)) & 0x8000000000000000LL) == 0 ? silk_int64_MAX : (a64)+(b64)) ); in silk_ADD_SAT64_()
173 if( res != a64 + b64 ) { in silk_ADD_SAT64_()
175 … if ( !(( res == silk_int64_MAX && ( ( a64 >> 1 ) + ( b64 >> 1 ) > ( silk_int64_MAX >> 3 ) ) ) || in silk_ADD_SAT64_()
176 … ( res == silk_int64_MIN && ( ( a64 >> 1 ) + ( b64 >> 1 ) < ( silk_int64_MIN >> 3 ) ) ) ) ) in silk_ADD_SAT64_()
182 fail = res != a64 + b64; in silk_ADD_SAT64_()
186 …stderr, "silk_ADD_SAT64(%lld, %lld) in %s: line %d\n", (long long)a64, (long long)b64, file, line); in silk_ADD_SAT64_()
228 static OPUS_INLINE opus_int64 silk_SUB_SAT64_( opus_int64 a64, opus_int64 b64, char *file, int line… in silk_SUB_SAT64_() argument
[all …]
DMacroCount.h559 static OPUS_INLINE opus_int64 silk_ADD_SAT64( opus_int64 a64, opus_int64 b64 ) { in silk_ADD_SAT64() argument
562 res = ((((a64) + (b64)) & 0x8000000000000000LL) == 0 ? \ in silk_ADD_SAT64()
563 ((((a64) & (b64)) & 0x8000000000000000LL) != 0 ? silk_int64_MIN : (a64)+(b64)) : \ in silk_ADD_SAT64()
564 ((((a64) | (b64)) & 0x8000000000000000LL) == 0 ? silk_int64_MAX : (a64)+(b64)) ); in silk_ADD_SAT64()
588 static OPUS_INLINE opus_int64 silk_SUB_SAT64( opus_int64 a64, opus_int64 b64 ) { in silk_SUB_SAT64() argument
591 …res = ((((a64)-(b64)) & 0x8000000000000000LL) == 0 ? … in silk_SUB_SAT64()
592 …(( (a64) & ((b64)^0x8000000000000000LL) & 0x8000000000000000LL) ? silk_int64_MIN : (a64)-(b64)) : … in silk_SUB_SAT64()
593 … ((((a64)^0x8000000000000000LL) & (b64) & 0x8000000000000000LL) ? silk_int64_MAX : (a64)-(b64)) ); in silk_SUB_SAT64()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/lib/
Dgk104.asm119 $p1 suldgb b64 $r0d ca zero u8 g[$r4d] $r2 $p0
122 $p2 suldgb b64 $r0d cg zero u8 g[$r4d] $r2 $p0
123 $p1 suldgb b64 $r0d cv zero u8 g[$r4d] $r2 $p0
135 $p1 suldgb b64 $r0d ca zero u8 g[$r4d] $r2 $p0
138 $p2 suldgb b64 $r0d cg zero u8 g[$r4d] $r2 $p0
139 $p1 suldgb b64 $r0d cv zero u8 g[$r4d] $r2 $p0
147 $p1 suldgb b64 $r0d ca zero u8 g[$r4d] $r2 $p0
149 $p2 suldgb b64 $r0d cg zero u8 g[$r4d] $r2 $p0
150 $p1 suldgb b64 $r0d cv zero u8 g[$r4d] $r2 $p0
158 $p1 suldgb b64 $r0d ca zero u8 g[$r4d] $r2 $p0
[all …]
Dgk110.asm95 .b64 #gk110_div_u32
96 .b64 #gk110_div_s32
97 .b64 #gk110_rcp_f64
98 .b64 #gk110_rsq_f64
/external/skia/modules/pathkit/tests/
DtestReporter.js7 let b64 = canvas.toDataURL('image/png');
8 return _report(b64, outputType, testname);
26 let b64 = tempCanvas.toDataURL('image/png');
27 _report(b64, 'svg', testname).then(() => {
/external/skqp/modules/pathkit/tests/
DtestReporter.js7 let b64 = canvas.toDataURL('image/png');
8 return _report(b64, outputType, testname);
26 let b64 = tempCanvas.toDataURL('image/png');
27 _report(b64, 'svg', testname).then(() => {
/external/ppp/pppd/plugins/
Dwinbind.c203 static const char *b64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; variable
222 result[out_cnt++] = b64[bits >> 18]; in base64_encode()
223 result[out_cnt++] = b64[(bits >> 12) & 0x3f]; in base64_encode()
224 result[out_cnt++] = b64[(bits >> 6) & 0x3f]; in base64_encode()
225 result[out_cnt++] = b64[bits & 0x3f]; in base64_encode()
231 result[out_cnt++] = b64[bits >> 18]; in base64_encode()
232 result[out_cnt++] = b64[(bits >> 12) & 0x3f]; in base64_encode()
233 result[out_cnt++] = (len > 1)? b64[(bits >> 6) & 0x3f]: '='; in base64_encode()
/external/grpc-grpc/src/core/lib/slice/
Db64.cc127 grpc_slice grpc_base64_decode(const char* b64, int url_safe) { in grpc_base64_decode() argument
128 return grpc_base64_decode_with_len(b64, strlen(b64), url_safe); in grpc_base64_decode()
192 grpc_slice grpc_base64_decode_with_len(const char* b64, size_t b64_len, in grpc_base64_decode_with_len() argument
201 unsigned char c = static_cast<unsigned char>(*b64++); in grpc_base64_decode_with_len()
Db64.h45 grpc_slice grpc_base64_decode(const char* b64, int url_safe);
48 grpc_slice grpc_base64_decode_with_len(const char* b64, size_t b64_len,
/external/python/rsa/rsa/
Dpem.py116 b64 = base64.standard_b64encode(contents).replace(b'\n', b'')
119 for block_start in range(0, len(b64), 64):
120 block = b64[block_start:block_start + 64]
/external/iperf3/src/
Diperf_auth.c107 BIO *bio, *b64; in Base64Encode() local
110 b64 = BIO_new(BIO_f_base64()); in Base64Encode()
112 bio = BIO_push(b64, bio); in Base64Encode()
137 BIO *bio, *b64; in Base64Decode() local
144 b64 = BIO_new(BIO_f_base64()); in Base64Decode()
145 bio = BIO_push(b64, bio); in Base64Decode()
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/NVPTX/
Ddbg-declare-alloca.ll12 ; CHECK: .param .b64 param0;
13 ; CHECK: st.param.b64 [param0+0], %rd1;
150 ; CHECK: // .b64 Lfunc_begin0 // DW_AT_low_pc
151 ; CHECK: // .b64 Lfunc_end0 // DW_AT_high_pc
153 ; CHECK: // .b64 Lfunc_begin0 // DW_AT_low_pc
154 ; CHECK: // .b64 Lfunc_end0 // DW_AT_high_pc
180 ; CHECK: // .b64 __local_depot0

123456