/third_party/mesa3d/src/compiler/glsl/ |
D | ir_expression_operation.py | 325 class operation(object): class 418 operation("bit_not", 1, printable_name="~", source_types=integer_types, c_expression="~ {src0}"), 419 operation("logic_not", 1, printable_name="!", source_types=(bool_type,), c_expression="!{src0}"), 420 …operation("neg", 1, source_types=numeric_types, c_expression={'u': "-((int) {src0})", 'u64': "-((i… 421 …operation("abs", 1, source_types=signed_numeric_types, c_expression={'i': "{src0} < 0 ? -{src0} : … 422 …operation("sign", 1, source_types=signed_numeric_types, c_expression={'i': "({src0} > 0) - ({src0}… 423 …operation("rcp", 1, source_types=real_types, c_expression={'f': "1.0F / {src0}", 'd': "1.0 / {src0… 424 …operation("rsq", 1, source_types=real_types, c_expression={'f': "1.0F / sqrtf({src0})", 'd': "1.0 … 425 …operation("sqrt", 1, source_types=real_types, c_expression={'f': "sqrtf({src0})", 'd': "sqrt({src0… 426 …operation("exp", 1, source_types=(float_type,), c_expression="expf({src0})"), # Log base e… [all …]
|
/third_party/mbedtls/library/ |
D | psa_crypto_aead.c | 42 mbedtls_psa_aead_operation_t *operation, in psa_aead_setup() argument 68 operation->alg = PSA_ALG_CCM; in psa_aead_setup() 76 mbedtls_ccm_init( &operation->ctx.ccm ); in psa_aead_setup() 78 mbedtls_ccm_setkey( &operation->ctx.ccm, cipher_id, in psa_aead_setup() 87 operation->alg = PSA_ALG_GCM; in psa_aead_setup() 95 mbedtls_gcm_init( &operation->ctx.gcm ); in psa_aead_setup() 97 mbedtls_gcm_setkey( &operation->ctx.gcm, cipher_id, in psa_aead_setup() 106 operation->alg = PSA_ALG_CHACHA20_POLY1305; in psa_aead_setup() 112 mbedtls_chachapoly_init( &operation->ctx.chachapoly ); in psa_aead_setup() 114 mbedtls_chachapoly_setkey( &operation->ctx.chachapoly, in psa_aead_setup() [all …]
|
D | psa_crypto_hash.c | 79 mbedtls_psa_hash_operation_t *operation ) in mbedtls_psa_hash_abort() argument 81 switch( operation->alg ) in mbedtls_psa_hash_abort() 90 mbedtls_md5_free( &operation->ctx.md5 ); in mbedtls_psa_hash_abort() 95 mbedtls_ripemd160_free( &operation->ctx.ripemd160 ); in mbedtls_psa_hash_abort() 100 mbedtls_sha1_free( &operation->ctx.sha1 ); in mbedtls_psa_hash_abort() 105 mbedtls_sha256_free( &operation->ctx.sha256 ); in mbedtls_psa_hash_abort() 110 mbedtls_sha256_free( &operation->ctx.sha256 ); in mbedtls_psa_hash_abort() 115 mbedtls_sha512_free( &operation->ctx.sha512 ); in mbedtls_psa_hash_abort() 120 mbedtls_sha512_free( &operation->ctx.sha512 ); in mbedtls_psa_hash_abort() 126 operation->alg = 0; in mbedtls_psa_hash_abort() [all …]
|
D | psa_crypto_mac.c | 155 static psa_status_t cmac_setup( mbedtls_psa_mac_operation_t *operation, in cmac_setup() argument 180 ret = mbedtls_cipher_setup( &operation->ctx.cmac, cipher_info ); in cmac_setup() 184 ret = mbedtls_cipher_cmac_starts( &operation->ctx.cmac, in cmac_setup() 198 mbedtls_psa_mac_operation_t *operation, in mac_init() argument 203 operation->alg = alg; in mac_init() 206 if( PSA_ALG_FULL_LENGTH_MAC( operation->alg ) == PSA_ALG_CMAC ) in mac_init() 208 mbedtls_cipher_init( &operation->ctx.cmac ); in mac_init() 214 if( PSA_ALG_IS_HMAC( operation->alg ) ) in mac_init() 217 operation->ctx.hmac.alg = 0; in mac_init() 223 (void) operation; in mac_init() [all …]
|
D | psa_crypto_cipher.c | 132 mbedtls_psa_cipher_operation_t *operation, in psa_cipher_setup() argument 145 mbedtls_cipher_init( &operation->ctx.cipher ); in psa_cipher_setup() 147 operation->alg = alg; in psa_cipher_setup() 154 ret = mbedtls_cipher_setup( &operation->ctx.cipher, cipher_info ); in psa_cipher_setup() 165 ret = mbedtls_cipher_setkey( &operation->ctx.cipher, in psa_cipher_setup() 172 ret = mbedtls_cipher_setkey( &operation->ctx.cipher, key_buffer, in psa_cipher_setup() 183 ret = mbedtls_cipher_set_padding_mode( &operation->ctx.cipher, in psa_cipher_setup() 187 ret = mbedtls_cipher_set_padding_mode( &operation->ctx.cipher, in psa_cipher_setup() 200 operation->block_length = ( PSA_ALG_IS_STREAM_CIPHER( alg ) ? 1 : in psa_cipher_setup() 202 operation->iv_length = PSA_CIPHER_IV_LENGTH( key_type, alg ); in psa_cipher_setup() [all …]
|
D | psa_crypto_driver_wrappers.c | 1046 psa_cipher_operation_t *operation, in psa_driver_wrapper_cipher_encrypt_setup() argument 1063 &operation->ctx.transparent_test_driver_ctx, in psa_driver_wrapper_cipher_encrypt_setup() 1070 operation->id = PSA_CRYPTO_TRANSPARENT_TEST_DRIVER_ID; in psa_driver_wrapper_cipher_encrypt_setup() 1078 status = mbedtls_psa_cipher_encrypt_setup( &operation->ctx.mbedtls_ctx, in psa_driver_wrapper_cipher_encrypt_setup() 1084 operation->id = PSA_CRYPTO_MBED_TLS_DRIVER_ID; in psa_driver_wrapper_cipher_encrypt_setup() 1096 &operation->ctx.opaque_test_driver_ctx, in psa_driver_wrapper_cipher_encrypt_setup() 1102 operation->id = PSA_CRYPTO_OPAQUE_TEST_DRIVER_ID; in psa_driver_wrapper_cipher_encrypt_setup() 1110 (void)operation; in psa_driver_wrapper_cipher_encrypt_setup() 1119 psa_cipher_operation_t *operation, in psa_driver_wrapper_cipher_decrypt_setup() argument 1136 &operation->ctx.transparent_test_driver_ctx, in psa_driver_wrapper_cipher_decrypt_setup() [all …]
|
D | psa_crypto.c | 2104 psa_status_t psa_hash_abort( psa_hash_operation_t *operation ) in psa_hash_abort() argument 2107 if( operation->id == 0 ) in psa_hash_abort() 2110 psa_status_t status = psa_driver_wrapper_hash_abort( operation ); in psa_hash_abort() 2111 operation->id = 0; in psa_hash_abort() 2116 psa_status_t psa_hash_setup( psa_hash_operation_t *operation, in psa_hash_setup() argument 2122 if( operation->id != 0 ) in psa_hash_setup() 2136 memset( &operation->ctx, 0, sizeof( operation->ctx ) ); in psa_hash_setup() 2138 status = psa_driver_wrapper_hash_setup( operation, alg ); in psa_hash_setup() 2142 psa_hash_abort( operation ); in psa_hash_setup() 2147 psa_status_t psa_hash_update( psa_hash_operation_t *operation, in psa_hash_update() argument [all …]
|
/third_party/node/deps/npm/node_modules/retry/test/integration/ |
D | test-retry-operation.js | 8 var operation = retry.operation([1, 2, 3]); 18 operation.attempt(function(currentAttempt) { 21 if (operation.retry(error)) { 28 assert.strictEqual(operation.attempts(), attempts); 29 assert.strictEqual(operation.mainError(), error); 34 operation.reset(); 46 var operation = retry.operation(); 50 operation._errors.push(error); 51 operation._errors.push(error2); 53 assert.deepEqual(operation.errors(), [error, error2]); [all …]
|
/third_party/node/deps/npm/node_modules/promise-retry/node_modules/retry/test/integration/ |
D | test-retry-operation.js | 7 var operation = retry.operation(); 11 operation._errors.push(error); 12 operation._errors.push(error2); 14 assert.deepEqual(operation.errors(), [error, error2]); 18 var operation = retry.operation(); 22 operation._errors.push(error); 23 operation._errors.push(error2); 24 operation._errors.push(error); 26 assert.strictEqual(operation.mainError(), error); 30 var operation = retry.operation(); [all …]
|
/third_party/flutter/skia/src/core/ |
D | SkMD5.cpp | 123 static inline void operation(T operation, uint32_t& a, uint32_t b, uint32_t c, uint32_t d, in operation() function 125 a = b + rotate_left(a + operation(b, c, d) + x + t, s); in operation() 135 operation(F(), a, b, c, d, X[ 0], 7, 0xd76aa478); // 1 in transform() 136 operation(F(), d, a, b, c, X[ 1], 12, 0xe8c7b756); // 2 in transform() 137 operation(F(), c, d, a, b, X[ 2], 17, 0x242070db); // 3 in transform() 138 operation(F(), b, c, d, a, X[ 3], 22, 0xc1bdceee); // 4 in transform() 139 operation(F(), a, b, c, d, X[ 4], 7, 0xf57c0faf); // 5 in transform() 140 operation(F(), d, a, b, c, X[ 5], 12, 0x4787c62a); // 6 in transform() 141 operation(F(), c, d, a, b, X[ 6], 17, 0xa8304613); // 7 in transform() 142 operation(F(), b, c, d, a, X[ 7], 22, 0xfd469501); // 8 in transform() [all …]
|
/third_party/skia/src/core/ |
D | SkMD5.cpp | 123 static inline void operation(T operation, uint32_t& a, uint32_t b, uint32_t c, uint32_t d, in operation() argument 125 a = b + rotate_left(a + operation(b, c, d) + x + t, s); in operation() 135 operation(F(), a, b, c, d, X[ 0], 7, 0xd76aa478); // 1 in transform() 136 operation(F(), d, a, b, c, X[ 1], 12, 0xe8c7b756); // 2 in transform() 137 operation(F(), c, d, a, b, X[ 2], 17, 0x242070db); // 3 in transform() 138 operation(F(), b, c, d, a, X[ 3], 22, 0xc1bdceee); // 4 in transform() 139 operation(F(), a, b, c, d, X[ 4], 7, 0xf57c0faf); // 5 in transform() 140 operation(F(), d, a, b, c, X[ 5], 12, 0x4787c62a); // 6 in transform() 141 operation(F(), c, d, a, b, X[ 6], 17, 0xa8304613); // 7 in transform() 142 operation(F(), b, c, d, a, X[ 7], 22, 0xfd469501); // 8 in transform() [all …]
|
/third_party/boost/libs/iostreams/test/ |
D | execute_test.cpp | 30 class operation { class 33 explicit operation(Result r, bool& executed) in operation() function in operation 42 operation& operator=(const operation&); 49 class operation<void> { class 52 explicit operation(bool& executed) : executed_(executed) { } in operation() function in operation 55 operation& operator=(const operation&); 112 BOOST_CHECK(execute_all(operation<int>(9, executed)) == 9); in success_test() 119 execute_all(operation<void>(executed)); in success_test() 128 operation<int>(9, executed), in success_test() 129 operation<void>(cleaned_up) in success_test() [all …]
|
D | operation_sequence_test.cpp | 35 operation op = seq.new_operation(1); in operation_sequence_test() 59 operation op1 = seq.new_operation(1); in operation_sequence_test() 60 operation op2 = seq.new_operation(2); in operation_sequence_test() 71 operation op = seq.new_operation(1); in operation_sequence_test() 82 operation op1 = seq.new_operation(1); in operation_sequence_test() 83 operation op2 = seq.new_operation(2); in operation_sequence_test() 84 operation op3; in operation_sequence_test() 96 operation op1 = seq.new_operation(1); in operation_sequence_test() 97 operation op2 = seq.new_operation(2); in operation_sequence_test() 98 operation op3 = seq.new_operation(3); in operation_sequence_test() [all …]
|
/third_party/boost/libs/iostreams/test/detail/ |
D | closable.hpp | 37 closable_device(operation close) : close_(close) { } in closable_device() 41 operation close_; 48 closable_device(operation close) : close_(close) { } in closable_device() 52 operation close_; 61 closable_device(operation close) : close_(close) { } in closable_device() 65 operation close_; 72 closable_device(operation close_input, operation close_output) in closable_device() 91 operation close_input_; 92 operation close_output_; 99 closable_device(operation close) : close_(close) { } in closable_device() [all …]
|
/third_party/boost/boost/geometry/algorithms/detail/overlay/ |
D | get_turn_info_ll.hpp | 117 if ( tp.operations[0].operation == operation_blocked ) in apply() 121 if ( tp.operations[1].operation == operation_blocked ) in apply() 127 tp.operations[0].operation, in apply() 128 tp.operations[1].operation); in apply() 138 replace_operations_i(tp.operations[0].operation, tp.operations[1].operation); in apply() 166 if ( tp.operations[0].operation == operation_blocked in apply() 167 && tp.operations[1].operation == operation_blocked ) in apply() 172 tp.operations[0].operation = operation_union; in apply() 173 tp.operations[1].operation = operation_union; in apply() 181 else if ( tp.operations[0].operation == operation_blocked ) in apply() [all …]
|
/third_party/mbedtls/tests/src/drivers/ |
D | test_driver_mac.c | 86 mbedtls_transparent_test_driver_mac_operation_t *operation, in mbedtls_test_transparent_mac_sign_setup() argument 105 operation, in mbedtls_test_transparent_mac_sign_setup() 111 operation, attributes, key_buffer, key_buffer_size, alg ); in mbedtls_test_transparent_mac_sign_setup() 113 (void) operation; in mbedtls_test_transparent_mac_sign_setup() 126 mbedtls_transparent_test_driver_mac_operation_t *operation, in mbedtls_test_transparent_mac_verify_setup() argument 145 operation, in mbedtls_test_transparent_mac_verify_setup() 151 operation, attributes, key_buffer, key_buffer_size, alg ); in mbedtls_test_transparent_mac_verify_setup() 153 (void) operation; in mbedtls_test_transparent_mac_verify_setup() 166 mbedtls_transparent_test_driver_mac_operation_t *operation, in mbedtls_test_transparent_mac_update() argument 183 operation, input, input_length ); in mbedtls_test_transparent_mac_update() [all …]
|
D | test_driver_cipher.c | 137 mbedtls_transparent_test_driver_cipher_operation_t *operation, in mbedtls_test_transparent_cipher_encrypt_setup() argument 148 memset( operation, 0, sizeof( *operation ) ); in mbedtls_test_transparent_cipher_encrypt_setup() 156 operation, in mbedtls_test_transparent_cipher_encrypt_setup() 161 operation, attributes, key, key_length, alg ) ); in mbedtls_test_transparent_cipher_encrypt_setup() 168 mbedtls_transparent_test_driver_cipher_operation_t *operation, in mbedtls_test_transparent_cipher_decrypt_setup() argument 181 operation, in mbedtls_test_transparent_cipher_decrypt_setup() 186 operation, attributes, key, key_length, alg ) ); in mbedtls_test_transparent_cipher_decrypt_setup() 193 mbedtls_transparent_test_driver_cipher_operation_t *operation) in mbedtls_test_transparent_cipher_abort() argument 199 libtestdriver1_mbedtls_psa_cipher_abort( operation ); in mbedtls_test_transparent_cipher_abort() 201 mbedtls_psa_cipher_abort( operation ); in mbedtls_test_transparent_cipher_abort() [all …]
|
/third_party/python/Lib/idlelib/ |
D | redirector.py | 56 for operation in list(self._operations): 57 self.unregister(operation) 67 def register(self, operation, function): argument 78 self._operations[operation] = function 79 setattr(self.widget, operation, function) 80 return OriginalCommand(self, operation) 82 def unregister(self, operation): argument 87 if operation in self._operations: 88 function = self._operations[operation] 89 del self._operations[operation] [all …]
|
/third_party/mbedtls/include/psa/ |
D | crypto.h | 998 psa_status_t psa_hash_setup(psa_hash_operation_t *operation, 1025 psa_status_t psa_hash_update(psa_hash_operation_t *operation, 1072 psa_status_t psa_hash_finish(psa_hash_operation_t *operation, 1114 psa_status_t psa_hash_verify(psa_hash_operation_t *operation, 1143 psa_status_t psa_hash_abort(psa_hash_operation_t *operation); 1373 psa_status_t psa_mac_sign_setup(psa_mac_operation_t *operation, 1436 psa_status_t psa_mac_verify_setup(psa_mac_operation_t *operation, 1467 psa_status_t psa_mac_update(psa_mac_operation_t *operation, 1517 psa_status_t psa_mac_sign_finish(psa_mac_operation_t *operation, 1561 psa_status_t psa_mac_verify_finish(psa_mac_operation_t *operation, [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | templateStringBinaryOperationsInvalid.errors.txt | 1 …onsInvalid.ts(1,13): error TS2363: The right-hand side of an arithmetic operation must be of type … 2 …onsInvalid.ts(2,13): error TS2363: The right-hand side of an arithmetic operation must be of type … 3 …onsInvalid.ts(3,13): error TS2363: The right-hand side of an arithmetic operation must be of type … 4 …onsInvalid.ts(4,13): error TS2363: The right-hand side of an arithmetic operation must be of type … 5 …tionsInvalid.ts(5,9): error TS2362: The left-hand side of an arithmetic operation must be of type … 6 …tionsInvalid.ts(6,9): error TS2362: The left-hand side of an arithmetic operation must be of type … 7 …tionsInvalid.ts(7,9): error TS2362: The left-hand side of an arithmetic operation must be of type … 8 …tionsInvalid.ts(8,9): error TS2362: The left-hand side of an arithmetic operation must be of type … 9 …nsInvalid.ts(10,14): error TS2363: The right-hand side of an arithmetic operation must be of type … 10 …nsInvalid.ts(11,14): error TS2363: The right-hand side of an arithmetic operation must be of type … [all …]
|
D | templateStringBinaryOperationsES6Invalid.errors.txt | 1 …ES6Invalid.ts(1,13): error TS2363: The right-hand side of an arithmetic operation must be of type … 2 …ES6Invalid.ts(2,13): error TS2363: The right-hand side of an arithmetic operation must be of type … 3 …ES6Invalid.ts(3,13): error TS2363: The right-hand side of an arithmetic operation must be of type … 4 …ES6Invalid.ts(4,13): error TS2363: The right-hand side of an arithmetic operation must be of type … 5 …nsES6Invalid.ts(5,9): error TS2362: The left-hand side of an arithmetic operation must be of type … 6 …nsES6Invalid.ts(6,9): error TS2362: The left-hand side of an arithmetic operation must be of type … 7 …nsES6Invalid.ts(7,9): error TS2362: The left-hand side of an arithmetic operation must be of type … 8 …nsES6Invalid.ts(8,9): error TS2362: The left-hand side of an arithmetic operation must be of type … 9 …S6Invalid.ts(10,14): error TS2363: The right-hand side of an arithmetic operation must be of type … 10 …S6Invalid.ts(11,14): error TS2363: The right-hand side of an arithmetic operation must be of type … [all …]
|
D | arithmeticOperatorWithInvalidOperands.errors.txt | 1 …dOperands.ts(15,16): error TS2363: The right-hand side of an arithmetic operation must be of type … 2 …dOperands.ts(17,16): error TS2363: The right-hand side of an arithmetic operation must be of type … 3 …dOperands.ts(18,16): error TS2363: The right-hand side of an arithmetic operation must be of type … 4 …dOperands.ts(19,16): error TS2363: The right-hand side of an arithmetic operation must be of type … 5 …idOperands.ts(21,12): error TS2362: The left-hand side of an arithmetic operation must be of type … 6 …idOperands.ts(22,12): error TS2362: The left-hand side of an arithmetic operation must be of type … 7 …dOperands.ts(22,16): error TS2363: The right-hand side of an arithmetic operation must be of type … 8 …idOperands.ts(23,12): error TS2362: The left-hand side of an arithmetic operation must be of type … 9 …idOperands.ts(24,12): error TS2362: The left-hand side of an arithmetic operation must be of type … 10 …dOperands.ts(24,16): error TS2363: The right-hand side of an arithmetic operation must be of type … [all …]
|
D | arithmeticOperatorWithTypeParameter.errors.txt | 1 …eParameter.ts(9,20): error TS2363: The right-hand side of an arithmetic operation must be of type … 2 …Parameter.ts(10,20): error TS2363: The right-hand side of an arithmetic operation must be of type … 3 …Parameter.ts(11,20): error TS2363: The right-hand side of an arithmetic operation must be of type … 4 …Parameter.ts(12,20): error TS2363: The right-hand side of an arithmetic operation must be of type … 5 …Parameter.ts(13,21): error TS2363: The right-hand side of an arithmetic operation must be of type … 6 …Parameter.ts(14,21): error TS2363: The right-hand side of an arithmetic operation must be of type … 7 …Parameter.ts(15,22): error TS2363: The right-hand side of an arithmetic operation must be of type … 8 …Parameter.ts(16,20): error TS2363: The right-hand side of an arithmetic operation must be of type … 9 …Parameter.ts(17,20): error TS2363: The right-hand side of an arithmetic operation must be of type … 10 …Parameter.ts(18,21): error TS2363: The right-hand side of an arithmetic operation must be of type … [all …]
|
D | exponentiationOperatorWithInvalidOperands.errors.txt | 1 …dOperands.ts(15,17): error TS2363: The right-hand side of an arithmetic operation must be of type … 2 …dOperands.ts(17,17): error TS2363: The right-hand side of an arithmetic operation must be of type … 3 …dOperands.ts(18,17): error TS2363: The right-hand side of an arithmetic operation must be of type … 4 …dOperands.ts(19,17): error TS2363: The right-hand side of an arithmetic operation must be of type … 5 …idOperands.ts(21,12): error TS2362: The left-hand side of an arithmetic operation must be of type … 6 …idOperands.ts(22,12): error TS2362: The left-hand side of an arithmetic operation must be of type … 7 …dOperands.ts(22,17): error TS2363: The right-hand side of an arithmetic operation must be of type … 8 …idOperands.ts(23,12): error TS2362: The left-hand side of an arithmetic operation must be of type … 9 …idOperands.ts(24,12): error TS2362: The left-hand side of an arithmetic operation must be of type … 10 …dOperands.ts(24,17): error TS2363: The right-hand side of an arithmetic operation must be of type … [all …]
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_psa_crypto_hash.function | 18 psa_hash_operation_t operation = PSA_HASH_OPERATION_INIT; 22 PSA_ASSERT( psa_hash_setup( &operation, alg ) ); 23 PSA_ASSERT( psa_hash_update( &operation, 25 PSA_ASSERT( psa_hash_finish( &operation, 32 psa_hash_abort( &operation ); 41 psa_hash_operation_t operation = PSA_HASH_OPERATION_INIT; 45 PSA_ASSERT( psa_hash_setup( &operation, alg ) ); 46 PSA_ASSERT( psa_hash_update( &operation, 49 PSA_ASSERT( psa_hash_verify( &operation, 54 psa_hash_abort( &operation ); [all …]
|