| /third_party/mbedtls/tests/suites/ |
| D | test_suite_shax.data | 1 # Test the operation of SHA-1 and SHA-2 2 SHA-1 Test Vector NIST CAVS #1 6 SHA-1 Test Vector NIST CAVS #2 10 SHA-1 Test Vector NIST CAVS #3 14 SHA-1 Test Vector NIST CAVS #4 18 SHA-1 Test Vector NIST CAVS #5 22 SHA-1 Test Vector NIST CAVS #6 26 SHA-1 Test Vector NIST CAVS #7 30 SHA-1 Test Vector NIST CAVS #8 34 SHA-1 Test Vector NIST CAVS #9 [all …]
|
| /third_party/elfutils/tests/ |
| D | run-disasm-riscv64.sh | 18 . $srcdir/test-subr.sh 20 testfiles testfile-riscv64-dis1.o testfile-riscv64-dis1.expect 21 testrun_compare ${abs_top_builddir}/src/objdump -d testfile-riscv64-dis1.o < testfile-riscv64-dis1.… 26 cat <<EOF | riscv64-linux-gnu-as -c -o testfile-riscv64-dis1.o - 322 .short 0x1000 323 .short 0x0800 324 .short 0x0400 325 .short 0x0200 326 .short 0x0100 327 .short 0x0080 [all …]
|
| /third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
| D | Grouper.java | 17 private static final Grouper GROUPER_NEVER = new Grouper((short) -1, (short) -1, (short) -2); 18 private static final Grouper GROUPER_MIN2 = new Grouper((short) -2, (short) -2, (short) -3); 19 private static final Grouper GROUPER_AUTO = new Grouper((short) -2, (short) -2, (short) -2); 20 … private static final Grouper GROUPER_ON_ALIGNED = new Grouper((short) -4, (short) -4, (short) 1); 22 private static final Grouper GROUPER_WESTERN = new Grouper((short) 3, (short) 3, (short) 1); 23 private static final Grouper GROUPER_INDIC = new Grouper((short) 3, (short) 2, (short) 1); 24 … private static final Grouper GROUPER_WESTERN_MIN2 = new Grouper((short) 3, (short) 3, (short) 2); 25 private static final Grouper GROUPER_INDIC_MIN2 = new Grouper((short) 3, (short) 2, (short) 2); 54 short grouping1 = (short) properties.getGroupingSize(); in forProperties() 55 short grouping2 = (short) properties.getSecondaryGroupingSize(); in forProperties() [all …]
|
| /third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/ |
| D | Grouper.java | 19 private static final Grouper GROUPER_NEVER = new Grouper((short) -1, (short) -1, (short) -2); 20 private static final Grouper GROUPER_MIN2 = new Grouper((short) -2, (short) -2, (short) -3); 21 private static final Grouper GROUPER_AUTO = new Grouper((short) -2, (short) -2, (short) -2); 22 … private static final Grouper GROUPER_ON_ALIGNED = new Grouper((short) -4, (short) -4, (short) 1); 24 private static final Grouper GROUPER_WESTERN = new Grouper((short) 3, (short) 3, (short) 1); 25 private static final Grouper GROUPER_INDIC = new Grouper((short) 3, (short) 2, (short) 1); 26 … private static final Grouper GROUPER_WESTERN_MIN2 = new Grouper((short) 3, (short) 3, (short) 2); 27 private static final Grouper GROUPER_INDIC_MIN2 = new Grouper((short) 3, (short) 2, (short) 2); 56 short grouping1 = (short) properties.getGroupingSize(); in forProperties() 57 short grouping2 = (short) properties.getSecondaryGroupingSize(); in forProperties() [all …]
|
| /third_party/libsnd/src/ |
| D | wavlike.h | 2 ** Copyright (C) 1999-2016 Erik de Castro Lopo <erikd@mega-nerd.com> 16 ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 25 /*------------------------------------------------------------------------------ 68 /*------------------------------------------------------------------------------ 92 WAVE_FORMAT_CU_CODEC = 0x0019, /* Hewlett-Packard Company */ 164 IBM_FORMAT_MULAW = 0x0101, /* IBM mu-law format */ 165 IBM_FORMAT_ALAW = 0x0102, /* IBM a-law format */ 197 { unsigned short format ; 198 unsigned short channels ; 201 unsigned short blockalign ; [all …]
|
| /third_party/ffmpeg/libavcodec/ppc/ |
| D | me_cmp.c | 4 * Copyright (c) 2003-2004 Romain Dolbeau <romain@dolbeau.org> 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 68 * pix1v: pix1[0] - pix1[15] in sad16_x2_altivec() 69 * pix2v: pix2[0] - pix2[15] pix2iv: pix2[1] - pix2[16] */ in sad16_x2_altivec() 112 * pix2v: pix2[0] - pix2[15] in sad16_y2_altivec() 118 * pix1v: pix1[0] - pix1[15] in sad16_y2_altivec() 119 * pix3v: pix3[0] - pix3[15] */ in sad16_y2_altivec() 152 const vector unsigned short two = in sad16_xy2_altivec() 153 (const vector unsigned short) vec_splat_u16(2); in sad16_xy2_altivec() 156 vector unsigned short pix3lv, pix3hv, pix3ilv, pix3ihv; in sad16_xy2_altivec() [all …]
|
| D | hpeldsp_altivec.c | 4 * Copyright (c) 2003-2004 Romain Dolbeau <romain@dolbeau.org> 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 48 // hand-unrolling the loop by 4 gains about 15% in ff_put_pixels16_altivec() 50 // it's faster than -funroll-loops, but using in ff_put_pixels16_altivec() 51 // -funroll-loops w/ this is bad - 74 cycles again. in ff_put_pixels16_altivec() 68 #define op_avg(a,b) a = ( ((a)|(b)) - ((((a)^(b))&0xFEFEFEFEUL)>>1) ) 91 /* block is 8 bytes-aligned, so we're either in the in avg_pixels8_altivec() 92 left block (16 bytes-aligned) or in the right block (not) */ in avg_pixels8_altivec() 119 register vector unsigned short pixelssum1, pixelssum2, temp3; in put_pixels8_xy2_altivec() 121 register const vector unsigned short vctwo = (const vector unsigned short)vec_splat_u16(2); in put_pixels8_xy2_altivec() [all …]
|
| /third_party/ltp/testcases/kernel/syscalls/fcntl/ |
| D | fcntl11.c | 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 64 void compare_lock(struct flock *, short, short, int, int, pid_t); 66 void do_test(struct flock *, short, short, int, int); 69 int do_lock(int, short, short, int, int); 128 int do_lock(int cmd, short type, short whence, int start, int len) in do_lock() 139 void do_test(struct flock *fl, short type, short whence, int start, int len) in do_test() 141 fl->l_type = type; in do_test() 142 fl->l_whence = whence; in do_test() 143 fl->l_start = start; in do_test() 144 fl->l_len = len; in do_test() [all …]
|
| D | fcntl20.c | 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 64 void compare_lock(struct flock *, short, short, int, int, pid_t); 66 void do_test(struct flock *, short, short, int, int); 69 int do_lock(int, short, short, int, int); 104 if ((fd = mkstemp(template)) == -1) in setup() 113 if (sigaction(SIGCHLD, &act, NULL) == -1) in setup() 141 int do_lock(int cmd, short type, short whence, int start, int len) in do_lock() 152 void do_test(struct flock *fl, short type, short whence, int start, int len) in do_test() 154 fl->l_type = type; in do_test() 155 fl->l_whence = whence; in do_test() [all …]
|
| D | fcntl19.c | 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 68 void compare_lock(struct flock *, short, short, int, int, pid_t); 70 void do_test(struct flock *, short, short, int, int); 73 int do_lock(int, short, short, int, int); 142 int do_lock(int cmd, short type, short whence, int start, int len) in do_lock() 153 void do_test(struct flock *fl, short type, short whence, int start, int len) in do_test() 155 fl->l_type = type; in do_test() 156 fl->l_whence = whence; in do_test() 157 fl->l_start = start; in do_test() 158 fl->l_len = len; in do_test() [all …]
|
| D | fcntl21.c | 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 63 void compare_lock(struct flock *, short, short, int, int, pid_t); 65 void do_test(struct flock *, short, short, int, int); 68 int do_lock(int, short, short, int, int); 149 int do_lock(int cmd, short type, short whence, int start, int len) in do_lock() 160 void do_test(struct flock *fl, short type, short whence, int start, int len) in do_test() 162 fl->l_type = type; in do_test() 163 fl->l_whence = whence; in do_test() 164 fl->l_start = start; in do_test() 165 fl->l_len = len; in do_test() [all …]
|
| /third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
| D | RBBIRuleParseTable.java | 6 * Copyright (c) 2003-2016, International Business Machines 24 static final short doCheckVarDef = 1; 25 static final short doDotAny = 2; 26 static final short doEndAssign = 3; 27 static final short doEndOfRule = 4; 28 static final short doEndVariableName = 5; 29 static final short doExit = 6; 30 static final short doExprCatOperator = 7; 31 static final short doExprFinished = 8; 32 static final short doExprOrOperator = 9; [all …]
|
| /third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
| D | RBBIRuleParseTable.java | 5 * Copyright (c) 2003-2016, International Business Machines 23 static final short doCheckVarDef = 1; 24 static final short doDotAny = 2; 25 static final short doEndAssign = 3; 26 static final short doEndOfRule = 4; 27 static final short doEndVariableName = 5; 28 static final short doExit = 6; 29 static final short doExprCatOperator = 7; 30 static final short doExprFinished = 8; 31 static final short doExprOrOperator = 9; [all …]
|
| /third_party/pulseaudio/sonic/ |
| D | sonic.c | 22 short *inputBuffer; 23 short *outputBuffer; 24 short *pitchBuffer; 25 short *downSampleBuffer; 69 short *samples, in scaleSamples() 76 while(numSamples--) { in scaleSamples() 80 } else if(value < -32767) { in scaleSamples() 81 value = -32767; in scaleSamples() 91 return stream->speed; in sonicGetSpeed() 99 stream->speed = speed; in sonicSetSpeed() [all …]
|
| D | Sonic.java | 15 /* This is used to down-sample some inputs to improve speed */ 18 private short inputBuffer[]; 19 private short outputBuffer[]; 20 private short pitchBuffer[]; 21 private short downSampleBuffer[]; 46 private short[] resize( in resize() 47 short[] oldArray, in resize() 51 short[] newArray = new short[newLength]; in resize() 63 short dest[], in move() 65 short source[], in move() [all …]
|
| /third_party/lame/libmp3lame/ |
| D | mpglib_interface.c | 1 /* -*- mode: C; mode: fold -*- */ 5 * Copyright (c) 1999-2000 Mark Taylor 21 * Free Software Foundation, Inc., 59 Temple Place - Suite 330, 22 * Boston, MA 02111-1307, USA. 60 #include "lame-analysis.h" 68 * - kept to let it link 69 * - forward declaration to silence compiler 75 short pcm_l[], 76 short pcm_r[] ); 80 short pcm_l[], [all …]
|
| /third_party/ffmpeg/libswscale/ppc/ |
| D | yuv2rgb_altivec.c | 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 111 /* RGB interleaver, 16 planar pels 8-bit samples per channel in 122 * perm_rgb_0: o0(RG).h v1(B) --> o1* 128 * perm_rgb_1: o0(RG).h v1(B) --> o2 134 * perm_rgb_2: o3(RG).l o2(rgbB.l) --> o4* 140 * perm_rgb_2: o3(RG).l o2(rgbB.l) ---> o5* 194 _2 = (T) vec_mergeh((vector unsigned short) _0, \ 195 (vector unsigned short) _1); \ 196 _3 = (T) vec_mergel((vector unsigned short) _0, \ 197 (vector unsigned short) _1); \ [all …]
|
| /third_party/node/test/fixtures/wpt/dom/events/ |
| D | Event-init-while-dispatching.html | 2 <meta charset="utf-8"> 3 <title>Re-initializing events while dispatching them</title> 14 assert_equals(ev.key, "A", "initKeyboardEvent key setter should short-circuit"); 15 assert_false(ev.repeat, "initKeyboardEvent repeat setter should short-circuit"); 16 assert_equals(ev.location, 0, "initKeyboardEvent location setter should short-circuit"); 23 assert_equals(ev.screenX, 0, "initMouseEvent screenX setter should short-circuit"); 24 assert_equals(ev.screenY, 0, "initMouseEvent screenY setter should short-circuit"); 25 assert_equals(ev.clientX, 0, "initMouseEvent clientX setter should short-circuit"); 26 assert_equals(ev.clientY, 0, "initMouseEvent clientY setter should short-circuit"); 27 assert_false(ev.ctrlKey, "initMouseEvent ctrlKey setter should short-circuit"); [all …]
|
| /third_party/node/deps/npm/lib/utils/ |
| D | error-message.js | 3 const nameValidator = require('validate-npm-package-name') 4 const replaceInfo = require('./replace-info.js') 5 const { report } = require('./explain-eresolve.js') 6 const log = require('./log-shim') 23 const short = [] variable 36 short.push(['ERESOLVE', er.message]) 43 files.push(['eresolve-report.txt', file]) 49 short.push([cmd, 'This command requires an existing lockfile.']) 50 detail.push([cmd, 'Try creating one first with: npm i --package-lock-only']) 56 short.push(['audit', er.message]) [all …]
|
| /third_party/curl/lib/ |
| D | smb.c | 22 * SPDX-License-Identifier: curl 99 unsigned short nbt_length; 104 unsigned short flags2; 105 unsigned short pid_high; 107 unsigned short pad; 108 unsigned short tid; 109 unsigned short pid; 110 unsigned short uid; 111 unsigned short mid; 117 unsigned short dialect_index; [all …]
|
| /third_party/rust/crates/clap/tests/builder/ |
| D | indices.rs | 9 .short('e') in indices_mult_opts() 16 .short('i') in indices_mult_opts() 20 .try_get_matches_from(vec!["ind", "-e", "A", "B", "-i", "B", "C", "-e", "C"]) in indices_mult_opts() 36 .short('e') in index_mult_opts() 43 .short('i') in index_mult_opts() 47 .try_get_matches_from(vec!["ind", "-e", "A", "B", "-i", "B", "C", "-e", "C"]) in index_mult_opts() 58 .arg(Arg::new("exclude").short('e').action(ArgAction::SetTrue)) in index_flag() 59 .arg(Arg::new("include").short('i').action(ArgAction::SetTrue)) in index_flag() 60 .try_get_matches_from(vec!["ind", "-e", "-i"]) in index_flag() 71 .arg(Arg::new("exclude").short('e').action(ArgAction::SetTrue)) in index_flags() [all …]
|
| /third_party/libsnd/src/G72x/ |
| D | g723_24.c | 48 static short _dqlntab [8] = { -2048, 135, 273, 373, 373, 273, 135, -2048 } ; 51 static short _witab [8] = { -128, 960, 4384, 18624, 18624, 4384, 960, -128 } ; 54 * Maps G.723_24 code words to a set of values whose long and short 58 static short _fitab [8] = { 0, 0x200, 0x400, 0xE00, 0xE00, 0x400, 0x200, 0 } ; 60 static short qtab_723_24 [3] = { 8, 218, 331 } ; 65 * Encodes a linear PCM, A-law or u-law input sample and returns its 3-bit code. 66 * Returns -1 if invalid input coding value. 73 short sei, sezi, se, sez ; /* ACCUM */ in g723_24_encoder() 74 short d ; /* SUBTA */ in g723_24_encoder() 75 short y ; /* MIX */ in g723_24_encoder() [all …]
|
| D | g723_16.c | 29 * -Marc Randolph 53 static short _dqlntab [4] = { 116, 365, 365, 116 } ; 57 * _witab [4] is actually {-22 , 439, 439, -22}, but FILTD wants it 60 static short _witab [4] = { -704, 14048, 14048, -704 } ; 63 * Maps G.723_16 code words to a set of values whose long and short 69 static short _fitab [4] = { 0, 0xE00, 0xE00, 0 } ; 73 static short qtab_723_16 [1] = { 261 } ; 79 * Encodes a linear PCM, A-law or u-law input sample and returns its 2-bit code. 80 * Returns -1 if invalid input coding value. 87 short sei, sezi, se, sez ; /* ACCUM */ in g723_16_encoder() [all …]
|
| /third_party/python/Lib/distutils/ |
| D | fancy_getopt.py | 5 * short and long options are tied together 8 * options set attributes of a passed-in object 16 # the same as a Python NAME -- except, in the spirit of most GNU 17 # utilities, we use '-' in place of '_'. (The spirit of LISP lives on!) 19 longopt_pat = r'[a-zA-Z](?:[a-zA-Z0-9-]*)' 27 longopt_xlate = str.maketrans('-', '_') 32 * short and long options are tied together 35 * options set attributes of a passed-in object 36 * boolean options can have "negative aliases" -- eg. if 37 --quiet is the "negative alias" of --verbose, then "--quiet" [all …]
|
| /third_party/pulseaudio/speex/libspeexdsp/ |
| D | fixed_debug.h | 1 /* Copyright (C) 2003 Jean-Marc Valin */ 4 @brief Fixed-point operations with debugging 11 - Redistributions of source code must retain the above copyright 14 - Redistributions in binary form must reproduce the above copyright 18 - Neither the name of the Xiph.org Foundation nor the names of its 47 #define VERIFY_SHORT(x) ((x)<=32767&&(x)>=-32768) 48 #define VERIFY_INT(x) ((x)<=2147483647LL&&(x)>=-2147483648LL) 50 static inline short NEG16(int x) in NEG16() 55 fprintf (stderr, "NEG16: input is not short: %d\n", (int)x); in NEG16() 57 res = -x; in NEG16() [all …]
|