/third_party/boost/boost/preprocessor/seq/ |
D | fold_left.hpp | 34 # define BOOST_PP_SEQ_FOLD_LEFT_I_257(op, st, ss, sz) BOOST_PP_ERROR(0x0005) argument 38 # define BOOST_PP_SEQ_FOLD_LEFT_CHECK_BOOST_PP_SEQ_FOLD_LEFT_I_1(op, st, ss, sz) 0 argument 39 # define BOOST_PP_SEQ_FOLD_LEFT_CHECK_BOOST_PP_SEQ_FOLD_LEFT_I_2(op, st, ss, sz) 0 argument 40 # define BOOST_PP_SEQ_FOLD_LEFT_CHECK_BOOST_PP_SEQ_FOLD_LEFT_I_3(op, st, ss, sz) 0 argument 41 # define BOOST_PP_SEQ_FOLD_LEFT_CHECK_BOOST_PP_SEQ_FOLD_LEFT_I_4(op, st, ss, sz) 0 argument 42 # define BOOST_PP_SEQ_FOLD_LEFT_CHECK_BOOST_PP_SEQ_FOLD_LEFT_I_5(op, st, ss, sz) 0 argument 43 # define BOOST_PP_SEQ_FOLD_LEFT_CHECK_BOOST_PP_SEQ_FOLD_LEFT_I_6(op, st, ss, sz) 0 argument 44 # define BOOST_PP_SEQ_FOLD_LEFT_CHECK_BOOST_PP_SEQ_FOLD_LEFT_I_7(op, st, ss, sz) 0 argument 45 # define BOOST_PP_SEQ_FOLD_LEFT_CHECK_BOOST_PP_SEQ_FOLD_LEFT_I_8(op, st, ss, sz) 0 argument 46 # define BOOST_PP_SEQ_FOLD_LEFT_CHECK_BOOST_PP_SEQ_FOLD_LEFT_I_9(op, st, ss, sz) 0 argument [all …]
|
/third_party/ffmpeg/libavcodec/aarch64/ |
D | vp9dsp_init_aarch64.c | 30 #define declare_fpel(type, sz) \ argument 31 void ff_vp9_##type##sz##_neon(uint8_t *dst, ptrdiff_t dst_stride, \ 35 #define declare_copy_avg(sz) \ argument 36 declare_fpel(copy, sz); \ 37 declare_fpel(avg , sz) 39 #define decl_mc_func(op, filter, dir, sz) \ argument 40 void ff_vp9_##op##_##filter##sz##_##dir##_neon(uint8_t *dst, ptrdiff_t dst_stride, \ 44 #define define_8tap_2d_fn(op, filter, sz) \ argument 45 static void op##_##filter##sz##_hv_neon(uint8_t *dst, ptrdiff_t dst_stride, \ 49 LOCAL_ALIGNED_16(uint8_t, temp, [((1 + (sz < 64)) * sz + 8) * sz]); \ [all …]
|
D | vp9lpf_neon.S | 54 .macro add_sz dst1, dst2, in1, in2, in3, in4, sz argument 56 .ifc \sz, .16b 61 .macro sub_sz dst1, dst2, in1, in2, in3, in4, sz argument 63 .ifc \sz, .16b 68 .macro uaddw_sz dst1, dst2, in1, in2, in3, sz argument 70 .ifc \sz, .16b 75 .macro usubw_sz dst1, dst2, in1, in2, in3, sz argument 77 .ifc \sz, .16b 82 .macro usubl_sz dst1, dst2, in1, in2, sz argument 84 .ifc \sz, .16b [all …]
|
D | vp9dsp_init_16bpp_aarch64_template.c | 29 #define declare_fpel(type, sz, suffix) \ argument 30 void ff_vp9_##type##sz##suffix##_neon(uint8_t *dst, ptrdiff_t dst_stride, \ 34 #define decl_mc_func(op, filter, dir, sz, bpp) \ argument 35 void ff_vp9_##op##_##filter##sz##_##dir##_##bpp##_neon(uint8_t *dst, ptrdiff_t dst_stride, \ 39 #define define_8tap_2d_fn(op, filter, sz, bpp) \ argument 40 static void op##_##filter##sz##_hv_##bpp##_neon(uint8_t *dst, ptrdiff_t dst_stride, \ 45 LOCAL_ALIGNED_16(uint8_t, temp, [((1 + (sz < 64)) * sz + 8) * sz * 2]); \ 48 ff_vp9_put_##filter##sz##_h_##bpp##_neon(temp, 2 * sz, \ 51 ff_vp9_##op##_##filter##sz##_v_##bpp##_neon(dst, dst_stride, \ 52 temp + 3 * 2 * sz, 2 * sz, \ [all …]
|
/third_party/ffmpeg/libavcodec/arm/ |
D | vp9dsp_init_arm.c | 30 #define declare_fpel(type, sz) \ argument 31 void ff_vp9_##type##sz##_neon(uint8_t *dst, ptrdiff_t dst_stride, \ 35 #define declare_copy_avg(sz) \ argument 36 declare_fpel(copy, sz); \ 37 declare_fpel(avg , sz) 39 #define decl_mc_func(op, filter, dir, sz) \ argument 40 void ff_vp9_##op##_##filter##sz##_##dir##_neon(uint8_t *dst, ptrdiff_t dst_stride, \ 44 #define define_8tap_2d_fn(op, filter, sz) \ argument 45 static void op##_##filter##sz##_hv_neon(uint8_t *dst, ptrdiff_t dst_stride, \ 49 LOCAL_ALIGNED_16(uint8_t, temp, [((1 + (sz < 64)) * sz + 8) * sz]); \ [all …]
|
D | vp9dsp_init_16bpp_arm_template.c | 29 #define declare_fpel(type, sz, suffix) \ argument 30 void ff_vp9_##type##sz##suffix##_neon(uint8_t *dst, ptrdiff_t dst_stride, \ 34 #define decl_mc_func(op, filter, dir, sz, bpp) \ argument 35 void ff_vp9_##op##_##filter##sz##_##dir##_##bpp##_neon(uint8_t *dst, ptrdiff_t dst_stride, \ 39 #define define_8tap_2d_fn(op, filter, sz, bpp) \ argument 40 static void op##_##filter##sz##_hv_##bpp##_neon(uint8_t *dst, ptrdiff_t dst_stride, \ 45 LOCAL_ALIGNED_16(uint8_t, temp, [((1 + (sz < 64)) * sz + 8) * sz * 2]); \ 48 ff_vp9_put_##filter##sz##_h_##bpp##_neon(temp, 2 * sz, \ 51 ff_vp9_##op##_##filter##sz##_v_##bpp##_neon(dst, dst_stride, \ 52 temp + 3 * 2 * sz, 2 * sz, \ [all …]
|
/third_party/boost/libs/numeric/ublas/test/ |
D | triangular_layout.cpp | 17 int sz = 4; in main() local 18 ublas::symmetric_matrix<int, ublas::upper, ublas::column_major> UpCol (sz, sz); in main() 19 ublas::symmetric_matrix<int, ublas::upper, ublas::row_major> UpRow (sz, sz); in main() 20 ublas::symmetric_matrix<int, ublas::lower, ublas::column_major> LoCol (sz, sz); in main() 21 ublas::symmetric_matrix<int, ublas::lower, ublas::row_major> LoRow (sz, sz); in main() 23 ublas::triangular_matrix<int, ublas::upper, ublas::column_major> TrUpCol (sz, sz); in main() 24 ublas::triangular_matrix<int, ublas::upper, ublas::row_major> TrUpRow (sz, sz); in main() 25 ublas::triangular_matrix<int, ublas::lower, ublas::column_major> TrLoCol (sz, sz); in main() 26 ublas::triangular_matrix<int, ublas::lower, ublas::row_major> TrLoRow (sz, sz); in main() 28 for(int i=0; i<sz; ++i) in main() [all …]
|
/third_party/jerryscript/tests/unit-core/ |
D | test-api-strings.c | 40 jerry_size_t sz, utf8_sz, cesu8_sz; in main() local 49 sz = jerry_get_string_size (args[0]); in main() 50 TEST_ASSERT (sz == 0); in main() 116 …sz = jerry_substring_to_utf8_char_buffer (args[0], 0, utf8_length, (jerry_char_t *) test_string, u… in main() 117 TEST_ASSERT (sz == 14); in main() 118 TEST_ASSERT (!strncmp (test_string, "\x73\x74\x72\x3a \xf0\x9d\x94\xa3 \xf0\x9d\x94\xa4", sz)); in main() 120 …sz = jerry_substring_to_utf8_char_buffer (args[0], 0, utf8_length + 1, (jerry_char_t *) test_strin… in main() 121 TEST_ASSERT (sz == 14); in main() 122 TEST_ASSERT (!strncmp (test_string, "\x73\x74\x72\x3a \xf0\x9d\x94\xa3 \xf0\x9d\x94\xa4", sz)); in main() 124 …sz = jerry_substring_to_utf8_char_buffer (args[0], utf8_length, 0, (jerry_char_t *) test_string, u… in main() [all …]
|
/third_party/mesa3d/src/mesa/x86/ |
D | x86_xform.h | 41 #define DECLARE_XFORM_GROUP( pfx, sz ) \ argument 42 extern void _mesa_##pfx##_transform_points##sz##_general( XFORM_ARGS ); \ 43 extern void _mesa_##pfx##_transform_points##sz##_identity( XFORM_ARGS ); \ 44 extern void _mesa_##pfx##_transform_points##sz##_3d_no_rot( XFORM_ARGS ); \ 45 extern void _mesa_##pfx##_transform_points##sz##_perspective( XFORM_ARGS ); \ 46 extern void _mesa_##pfx##_transform_points##sz##_2d( XFORM_ARGS ); \ 47 extern void _mesa_##pfx##_transform_points##sz##_2d_no_rot( XFORM_ARGS ); \ 48 extern void _mesa_##pfx##_transform_points##sz##_3d( XFORM_ARGS ); 50 #define ASSIGN_XFORM_GROUP( pfx, sz ) \ argument 51 _mesa_transform_tab[sz][MATRIX_GENERAL] = \ [all …]
|
/third_party/mesa3d/src/mesa/sparc/ |
D | sparc.c | 46 #define DECLARE_XFORM_GROUP(pfx, sz) \ argument 47 extern void _mesa_##pfx##_transform_points##sz##_general(XFORM_ARGS); \ 48 extern void _mesa_##pfx##_transform_points##sz##_identity(XFORM_ARGS); \ 49 extern void _mesa_##pfx##_transform_points##sz##_3d_no_rot(XFORM_ARGS); \ 50 extern void _mesa_##pfx##_transform_points##sz##_perspective(XFORM_ARGS); \ 51 extern void _mesa_##pfx##_transform_points##sz##_2d(XFORM_ARGS); \ 52 extern void _mesa_##pfx##_transform_points##sz##_2d_no_rot(XFORM_ARGS); \ 53 extern void _mesa_##pfx##_transform_points##sz##_3d(XFORM_ARGS); 55 #define ASSIGN_XFORM_GROUP(pfx, sz) \ argument 56 _mesa_transform_tab[sz][MATRIX_GENERAL] = \ [all …]
|
/third_party/ffmpeg/libavcodec/x86/ |
D | vp9dsp_init.h | 33 #define decl_fpel_func(avg, sz, bpp, opt) \ argument 34 void ff_vp9_##avg##sz##bpp##_##opt(uint8_t *dst, ptrdiff_t dst_stride, \ 38 #define decl_mc_func(avg, sz, dir, opt, type, f_sz, bpp) \ argument 39 void ff_vp9_##avg##_8tap_1d_##dir##_##sz##_##bpp##_##opt(uint8_t *dst, ptrdiff_t dst_stride, \ 43 #define decl_mc_funcs(sz, opt, type, fsz, bpp) \ argument 44 decl_mc_func(put, sz, h, opt, type, fsz, bpp); \ 45 decl_mc_func(avg, sz, h, opt, type, fsz, bpp); \ 46 decl_mc_func(put, sz, v, opt, type, fsz, bpp); \ 47 decl_mc_func(avg, sz, v, opt, type, fsz, bpp) 49 #define decl_ipred_fn(type, sz, bpp, opt) \ argument [all …]
|
/third_party/ffmpeg/tests/checkasm/ |
D | vp9dsp.c | 104 for (y = 0; y < sz; y++) { \ 105 for (x = 0; x < sz * SIZEOF_PIXEL; x += 4) { \ 107 AV_WN32A(dst + y * sz * SIZEOF_PIXEL + x, r); \ 108 AV_WN32A(src + y * sz * SIZEOF_PIXEL + x, rnd() & mask); \ 110 for (x = 0; x < sz; x++) { \ 112 coef[y * sz + x] = src[y * sz + x] - dst[y * sz + x]; \ 114 ((int32_t *) coef)[y * sz + x] = \ 115 ((uint16_t *) src)[y * sz + x] - \ 116 ((uint16_t *) dst)[y * sz + x]; \ 123 static void fwht_1d(double *out, const double *in, int sz) in fwht_1d() argument [all …]
|
D | h264dsp.c | 42 for (y = 0; y < sz; y++) { \ 47 for (x = 0; x < sz; x++) { \ 49 coef[y * sz + x] = src[y * PIXEL_STRIDE + x] - \ 52 ((int32_t *)coef)[y * sz + x] = \ 185 int bit_depth, sz, align, dc; in check_idct() local 190 for (sz = 4; sz <= 8; sz += 4) { in check_idct() 193 if (sz == 4) in check_idct() 200 switch ((sz << 1) | dc) { in check_idct() 206 if (check_func(idct, "h264_idct%d_add%s_%dbpp", sz, dc ? "_dc" : "", bit_depth)) { in check_idct() 207 for (align = 0; align < 16; align += sz * SIZEOF_PIXEL) { in check_idct() [all …]
|
/third_party/ffmpeg/libavcodec/mips/ |
D | vp9dsp_init_mips.c | 31 #define init_intra_pred_msa(tx, sz) \ in vp9dsp_intrapred_init_msa() argument 32 dsp->intra_pred[tx][VERT_PRED] = ff_vert_##sz##_msa; \ in vp9dsp_intrapred_init_msa() 33 dsp->intra_pred[tx][HOR_PRED] = ff_hor_##sz##_msa; \ in vp9dsp_intrapred_init_msa() 34 dsp->intra_pred[tx][DC_PRED] = ff_dc_##sz##_msa; \ in vp9dsp_intrapred_init_msa() 35 dsp->intra_pred[tx][LEFT_DC_PRED] = ff_dc_left_##sz##_msa; \ in vp9dsp_intrapred_init_msa() 36 dsp->intra_pred[tx][TOP_DC_PRED] = ff_dc_top_##sz##_msa; \ in vp9dsp_intrapred_init_msa() 37 dsp->intra_pred[tx][DC_128_PRED] = ff_dc_128_##sz##_msa; \ in vp9dsp_intrapred_init_msa() 38 dsp->intra_pred[tx][DC_127_PRED] = ff_dc_127_##sz##_msa; \ in vp9dsp_intrapred_init_msa() 39 dsp->intra_pred[tx][DC_129_PRED] = ff_dc_129_##sz##_msa; \ in vp9dsp_intrapred_init_msa() 40 dsp->intra_pred[tx][TM_VP8_PRED] = ff_tm_##sz##_msa; \ in vp9dsp_intrapred_init_msa() [all …]
|
/third_party/boost/libs/algorithm/test/ |
D | equal_test.cpp | 37 const int sz = sizeof (num)/sizeof(num[0]); in test_equal() local 86 BOOST_CHECK ( ba::equal ( input_iterator<int *>(num), input_iterator<int *>(num + sz), in test_equal() 87 input_iterator<int *>(num), input_iterator<int *>(num + sz))); in test_equal() 88 BOOST_CHECK ( ba::equal ( input_iterator<int *>(num), input_iterator<int *>(num + sz), in test_equal() 89 input_iterator<int *>(num), input_iterator<int *>(num + sz), in test_equal() 91 BOOST_CHECK (!ba::equal ( input_iterator<int *>(num), input_iterator<int *>(num + sz), in test_equal() 92 input_iterator<int *>(num), input_iterator<int *>(num + sz), in test_equal() 94 … BOOST_CHECK ( ba::equal ( input_iterator<int *>(num), input_iterator<int *>(num + sz), in test_equal() 95 … random_access_iterator<int *>(num), random_access_iterator<int *>(num + sz), in test_equal() 99 BOOST_CHECK (!ba::equal ( input_iterator<int *>(num + 1), input_iterator<int *>(num + sz), in test_equal() [all …]
|
D | mismatch_test.cpp | 35 const int sz = sizeof (num)/sizeof(num[0]); in test_mismatch() local 128 ba::mismatch ( input_iterator<const int *>(num), input_iterator<const int *>(num + sz), in test_mismatch() 129 input_iterator<const int *>(num), input_iterator<const int *>(num + sz)), in test_mismatch() 130 input_iterator<const int *>(num + sz), input_iterator<const int *>(num + sz))); in test_mismatch() 133 ba::mismatch ( input_iterator<const int *>(num), input_iterator<const int *>(num + sz), in test_mismatch() 134 input_iterator<const int *>(num), input_iterator<const int *>(num + sz), in test_mismatch() 136 input_iterator<const int *>(num + sz), input_iterator<const int *>(num + sz))); in test_mismatch() 139 ba::mismatch ( input_iterator<const int *>(num), input_iterator<const int *>(num + sz), in test_mismatch() 140 input_iterator<const int *>(num), input_iterator<const int *>(num + sz), in test_mismatch() 145 …ba::mismatch ( input_iterator<const int *>(num), input_iterator<const int *>(num + sz), in test_mismatch() [all …]
|
/third_party/ejdb/src/util/ |
D | convert.h | 12 int sz = snprintf(buf, 64, "%.8Lf", val); in jbi_ftoa() local 13 if (sz <= 0) { in jbi_ftoa() 18 while (sz > 0 && buf[sz - 1] == '0') { // trim right zeroes in jbi_ftoa() 19 buf[sz - 1] = '\0'; in jbi_ftoa() 20 sz--; in jbi_ftoa() 22 if ((sz > 0) && (buf[sz - 1] == '.')) { in jbi_ftoa() 23 buf[sz - 1] = '\0'; in jbi_ftoa() 24 sz--; in jbi_ftoa() 26 *osz = (size_t) sz; in jbi_ftoa()
|
/third_party/boost/boost/range/detail/ |
D | implementation_help.hpp | 62 template< class T, std::size_t sz > 63 BOOST_CONSTEXPR inline T* array_end( T BOOST_RANGE_ARRAY_REF()[sz] ) BOOST_NOEXCEPT in array_end() argument 65 return boost_range_array + sz; in array_end() 68 template< class T, std::size_t sz > 69 … BOOST_CONSTEXPR inline const T* array_end( const T BOOST_RANGE_ARRAY_REF()[sz] ) BOOST_NOEXCEPT in array_end() argument 71 return boost_range_array + sz; in array_end() 84 template< class T, std::size_t sz > 85 inline std::size_t array_size( T BOOST_RANGE_ARRAY_REF()[sz] ) in array_size() argument 88 return sz; in array_size() 91 template< class T, std::size_t sz > [all …]
|
/third_party/flutter/skia/third_party/externals/libwebp/swig/ |
D | libwebp_java_wrap.c | 246 jbyteArray SWIG_JavaArrayOutSchar (JNIEnv *jenv, signed char *result, jsize sz); 251 jshortArray SWIG_JavaArrayOutUchar (JNIEnv *jenv, unsigned char *result, jsize sz); 256 jshortArray SWIG_JavaArrayOutShort (JNIEnv *jenv, short *result, jsize sz); 261 jintArray SWIG_JavaArrayOutUshort (JNIEnv *jenv, unsigned short *result, jsize sz); 266 jintArray SWIG_JavaArrayOutInt (JNIEnv *jenv, int *result, jsize sz); 271 jlongArray SWIG_JavaArrayOutUint (JNIEnv *jenv, unsigned int *result, jsize sz); 276 jintArray SWIG_JavaArrayOutLong (JNIEnv *jenv, long *result, jsize sz); 281 jlongArray SWIG_JavaArrayOutUlong (JNIEnv *jenv, unsigned long *result, jsize sz); 286 jlongArray SWIG_JavaArrayOutLonglong (JNIEnv *jenv, jlong *result, jsize sz); 291 jfloatArray SWIG_JavaArrayOutFloat (JNIEnv *jenv, float *result, jsize sz); [all …]
|
/third_party/skia/third_party/externals/libwebp/swig/ |
D | libwebp_java_wrap.c | 246 jbyteArray SWIG_JavaArrayOutSchar (JNIEnv *jenv, signed char *result, jsize sz); 251 jshortArray SWIG_JavaArrayOutUchar (JNIEnv *jenv, unsigned char *result, jsize sz); 256 jshortArray SWIG_JavaArrayOutShort (JNIEnv *jenv, short *result, jsize sz); 261 jintArray SWIG_JavaArrayOutUshort (JNIEnv *jenv, unsigned short *result, jsize sz); 266 jintArray SWIG_JavaArrayOutInt (JNIEnv *jenv, int *result, jsize sz); 271 jlongArray SWIG_JavaArrayOutUint (JNIEnv *jenv, unsigned int *result, jsize sz); 276 jintArray SWIG_JavaArrayOutLong (JNIEnv *jenv, long *result, jsize sz); 281 jlongArray SWIG_JavaArrayOutUlong (JNIEnv *jenv, unsigned long *result, jsize sz); 286 jlongArray SWIG_JavaArrayOutLonglong (JNIEnv *jenv, jlong *result, jsize sz); 291 jfloatArray SWIG_JavaArrayOutFloat (JNIEnv *jenv, float *result, jsize sz); [all …]
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/ |
D | storage_container.cc | 61 auto sz = dest->GetSize(); in Read() local 71 auto r_sz = read(fd_, dest->GetMutablePointer(), sz); in Read() 73 auto r_sz = pread(fd_, dest->GetMutablePointer(), sz, offset); in Read() 75 auto r_sz = pread64(fd_, dest->GetMutablePointer(), sz, offset); in Read() 77 if (r_sz != sz) { in Read() 86 auto sz = dest.GetSize(); in Write() local 96 auto r_sz = write(fd_, dest.GetPointer(), sz); in Write() 98 auto r_sz = pwrite(fd_, dest.GetPointer(), sz, offset); in Write() 100 auto r_sz = pwrite64(fd_, dest.GetPointer(), sz, offset); in Write() 102 if (r_sz != sz) { in Write() [all …]
|
/third_party/boost/libs/algorithm/minmax/fuzzing/ |
D | minmax_element_variants.fuzz.cpp | 30 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t sz) { in LLVMFuzzerTestOneInput() argument 32 const uint8_t * const dend = data + sz; in LLVMFuzzerTestOneInput() 33 if (sz == 0) return 0; // we need at least one element in LLVMFuzzerTestOneInput() 43 assert(std::distance(data, resultff.first) < sz); in LLVMFuzzerTestOneInput() 44 assert(std::distance(data, resultff.second) < sz); in LLVMFuzzerTestOneInput() 45 assert(std::distance(data, resultfl.first) < sz); in LLVMFuzzerTestOneInput() 46 assert(std::distance(data, resultfl.second) < sz); in LLVMFuzzerTestOneInput() 47 assert(std::distance(data, resultlf.first) < sz); in LLVMFuzzerTestOneInput() 48 assert(std::distance(data, resultlf.second) < sz); in LLVMFuzzerTestOneInput() 49 assert(std::distance(data, resultll.first) < sz); in LLVMFuzzerTestOneInput() [all …]
|
/third_party/openssl/crypto/sha/asm/ |
D | sha512p8-ppc.pl | 72 $sz="d"; 77 $sz="w"; 117 vshasigma${sz} $Sigma,@X[($j+1)%16],0,0 118 vaddu${sz}m @X[$j],@X[$j],$Sigma 119 vshasigma${sz} $Sigma,@X[($j+14)%16],0,15 120 vaddu${sz}m @X[$j],@X[$j],$Sigma 121 vaddu${sz}m @X[$j],@X[$j],@X[($j+9)%16] 124 vaddu${sz}m $h,$h,@X[$i%16] ; h+=X[i] 126 vaddu${sz}m $g,$g,$Ki ; future h+=K[i] 127 vaddu${sz}m $h,$h,$Func ; h+=Ch(e,f,g) [all …]
|
/third_party/toybox/toys/pending/ |
D | dd.c | 58 long sz, count; 111 ssize_t nw = writeall(TT.out.fd, TT.out.bp, ((all)? TT.out.count : TT.out.sz)); in write_out() 115 if (nw == TT.out.sz) TT.out_full++; in write_out() 120 if (TT.out.count < TT.out.sz) break; in write_out() 147 TT.in.sz = TT.out.sz = 512; //default io block size in dd_main() 152 else if (strstart(&arg, "ibs=")) TT.in.sz = atolx_range(arg, 1, LONG_MAX); in dd_main() 153 else if (strstart(&arg, "obs=")) TT.out.sz = atolx_range(arg, 1, LONG_MAX); in dd_main() 175 if (bs) TT.in.sz = TT.out.sz = bs; in dd_main() 183 TT.in.buff = TT.out.buff = xmalloc(TT.in.sz + (bs ? 0 : TT.out.sz)); in dd_main() 201 if (!(TT.iflag & _DD_iflag_skip_bytes)) off *= TT.in.sz; in dd_main() [all …]
|
/third_party/openssl/crypto/ |
D | LPdir_win.c | 102 int sz = 0; in LP_find_file() local 107 if ((sz = MultiByteToWideChar((cp = CP_UTF8), 0, in LP_find_file() 113 sz = MultiByteToWideChar((cp = CP_ACP), 0, in LP_find_file() 118 if (sz > 0) { in LP_find_file() 123 wdir = _alloca((sz + 2) * sizeof(TCHAR)); in LP_find_file() 125 (WCHAR *)wdir, sz)) { in LP_find_file() 134 sz = len_0; in LP_find_file() 139 wdir = _alloca((sz + 2) * sizeof(TCHAR)); in LP_find_file() 144 sz--; /* wdir[sz] is trailing '\0' now */ in LP_find_file() 145 if (wdir[sz - 1] != TEXT('*')) { in LP_find_file() [all …]
|