/third_party/selinux/libsepol/cil/src/ |
D | cil_copy_ast.c | 102 struct cil_block *orig = data; in cil_copy_block() local 103 char *key = orig->datum.name; in cil_copy_block() 109 cil_tree_log(NODE(orig), CIL_ERR, "Block %s being copied", key); in cil_copy_block() 113 cil_tree_log(NODE(orig), CIL_WARN, "Block %s being copied", key); in cil_copy_block() 127 struct cil_blockabstract *orig = data; in cil_copy_blockabstract() local 132 new->block_str = orig->block_str; in cil_copy_blockabstract() 141 struct cil_blockinherit *orig = data; in cil_copy_blockinherit() local 146 new->block_str = orig->block_str; in cil_copy_blockinherit() 147 new->block = orig->block; in cil_copy_blockinherit() 156 struct cil_policycap *orig = data; in cil_copy_policycap() local [all …]
|
/third_party/protobuf/objectivec/Tests/ |
D | GPBMessageTests+Serialization.m | 424 Message3 *orig = [[Message3 alloc] init]; 426 orig.optionalEnum = Message3_Enum_Extra3; 427 orig.repeatedEnumArray = 430 orig.oneofEnum = Message3_Enum_Extra3; 432 NSData *data = [orig data]; 468 [orig release]; 472 UnknownEnumsMyMessagePlusExtra *orig = 475 orig.e = UnknownEnumsMyEnumPlusExtra_EExtra; 476 orig.repeatedEArray = [GPBEnumArray 479 orig.repeatedPackedEArray = [GPBEnumArray [all …]
|
/third_party/libinput/include/valgrind/ |
D | valgrind.h | 1168 #define CALL_FN_W_v(lval, orig) \ argument 1170 volatile OrigFn _orig = (orig); \ 1186 #define CALL_FN_W_W(lval, orig, arg1) \ argument 1188 volatile OrigFn _orig = (orig); \ 1207 #define CALL_FN_W_WW(lval, orig, arg1,arg2) \ argument 1209 volatile OrigFn _orig = (orig); \ 1230 #define CALL_FN_W_WWW(lval, orig, arg1,arg2,arg3) \ argument 1232 volatile OrigFn _orig = (orig); \ 1255 #define CALL_FN_W_WWWW(lval, orig, arg1,arg2,arg3,arg4) \ argument 1257 volatile OrigFn _orig = (orig); \ [all …]
|
/third_party/gptfdisk/ |
D | guid.cc | 39 GUIDData::GUIDData(const GUIDData & orig) { in GUIDData() argument 40 memcpy(uuidData, orig.uuidData, sizeof(uuidData)); in GUIDData() 43 GUIDData::GUIDData(const string & orig) { in GUIDData() argument 44 operator=(orig); in GUIDData() 47 GUIDData::GUIDData(const char * orig) { in GUIDData() argument 48 operator=(orig); in GUIDData() 54 GUIDData & GUIDData::operator=(const GUIDData & orig) { in operator =() argument 55 memcpy(uuidData, orig.uuidData, sizeof(uuidData)); in operator =() 68 GUIDData & GUIDData::operator=(const string & orig) { in operator =() argument 78 if ((orig[0] == 'R') || (orig[0] == 'r')) { in operator =() [all …]
|
D | mbrpart.cc | 62 MBRPart::MBRPart(const MBRPart& orig) { in MBRPart() argument 64 operator=(orig); in MBRPart() 71 MBRPart& MBRPart::operator=(const MBRPart& orig) { in operator =() argument 74 status = orig.status; in operator =() 76 firstSector[i] = orig.firstSector[i]; in operator =() 77 lastSector[i] = orig.lastSector[i]; in operator =() 79 partitionType = orig.partitionType; in operator =() 80 firstLBA = orig.firstLBA; in operator =() 81 lengthLBA = orig.lengthLBA; in operator =() 82 includeAs = orig.includeAs; in operator =() [all …]
|
D | guid.h | 43 GUIDData(const GUIDData & orig); 44 GUIDData(const std::string & orig); 45 GUIDData(const char * orig); 49 GUIDData & operator=(const GUIDData & orig); 50 GUIDData & operator=(const std::string & orig); 51 GUIDData & operator=(const char * orig); 56 int operator==(const GUIDData & orig) const; 57 int operator!=(const GUIDData & orig) const;
|
/third_party/node/deps/npm/node_modules/graceful-fs/ |
D | polyfills.js | 238 function chmodFix (orig) { argument 239 if (!orig) return orig 241 return orig.call(fs, target, mode, function (er) { 248 function chmodFixSync (orig) { argument 249 if (!orig) return orig 252 return orig.call(fs, target, mode) 260 function chownFix (orig) { argument 261 if (!orig) return orig 263 return orig.call(fs, target, uid, gid, function (er) { 270 function chownFixSync (orig) { argument [all …]
|
/third_party/libsnd/tests/ |
D | fix_this.c | 45 static int error_function (double data, double orig, double margin) ; 79 int k, m, *orig, *data ; in lcomp_test_int() local 94 orig = orig_buffer.i ; in lcomp_test_int() 98 orig [k] = orig_buffer.d [k] ; in lcomp_test_int() 112 if ((k = sf_writef_int (file, orig, datalen)) != datalen) in lcomp_test_int() 158 { if (error_function (data [k] / scale, orig [k] / scale, margin)) in lcomp_test_int() 159 …d: Incorrect sample (#%d : %f should be %f).\n", __LINE__, k, data [k] / scale, orig [k] / scale) ; in lcomp_test_int() 160 oct_save_int (orig, data, datalen) ; in lcomp_test_int() 207 if (error_function (data [k] / scale, orig [k + m * 11] / scale, margin)) in lcomp_test_int() 208 … Incorrect sample (m = %d) (#%d : %d => %d).\n", __LINE__, m, k + m * 11, orig [k + m * 11], data … in lcomp_test_int() [all …]
|
D | lossy_comp_test.c | 59 static int error_function (double data, double orig, double margin) ; 652 short *orig, *data ; in lcomp_test_short() local 659 orig = orig_buffer.s ; in lcomp_test_short() 663 orig [k] = (short) (orig_buffer.d [k]) ; in lcomp_test_short() 671 test_writef_short_or_die (file, 0, orig, datalen, __LINE__) ; in lcomp_test_short() 710 { if (error_function (data [k], orig [k], margin)) in lcomp_test_short() 711 …f ("\n\nLine %d: Incorrect sample A (#%d : %d should be %d).\n", __LINE__, k, data [k], orig [k]) ; in lcomp_test_short() 712 oct_save_short (orig, data, datalen) ; in lcomp_test_short() 756 if (error_function (1.0 * data [k], 1.0 * orig [k + channels * m * 11], margin)) in lcomp_test_short() 757 …sample (m = %d) (#%d : %d => %d).\n", __LINE__, m, k + channels * m * 11, orig [k + channels * m *… in lcomp_test_short() [all …]
|
D | dft_cmp.c | 43 { static double orig [DFT_DATA_LENGTH] ; in dft_cmp_float() local 52 for (k = 0 ; k < ARRAY_LEN (orig) ; k++) in dft_cmp_float() 54 orig [k] = in_data [k] ; in dft_cmp_float() 57 return dft_cmp_double (linenum, orig, test, len, target_snr, allow_exit) ; in dft_cmp_float() 61 dft_cmp_double (int linenum, const double *orig, const double *test, int len, double target_snr, in… in dft_cmp_double() argument 66 if (! orig || ! test) in dft_cmp_double() 76 dft_magnitude (orig, orig_spec) ; in dft_cmp_double() 83 oct_save_double (orig, test, len) ; in dft_cmp_double() 136 calc_max_spectral_difference (const double *orig, const double *test) in calc_max_spectral_difference() argument 141 { if (orig_max < orig [k]) in calc_max_spectral_difference() [all …]
|
/third_party/libsnd/src/ |
D | test_endswap.tpl | 60 { [+ (get "name") +] orig [4], first [4], second [4] ; 66 for (k = 0 ; k < ARRAY_LEN (orig) ; k++) 67 orig [k] = [+ (get "value") +] + k ; 69 endswap_[+ (get "name") +]_copy (first, orig, ARRAY_LEN (first)) ; 72 if (memcmp (orig, first, sizeof (orig)) == 0) 74 dump_[+ (get "name") +]_array ("orig", orig, ARRAY_LEN (orig)) ; 79 if (memcmp (orig, second, sizeof (orig)) != 0) 81 dump_[+ (get "name") +]_array ("orig", orig, ARRAY_LEN (orig)) ; 88 if (memcmp (orig, first, sizeof (orig)) != 0) 90 dump_[+ (get "name") +]_array ("orig", orig, ARRAY_LEN (orig)) ; [all …]
|
/third_party/libsnd/src/G72x/ |
D | g72x_test.c | 46 static int error_function (double data, double orig, double margin) ; 95 static short orig [BUFFER_SIZE] ; in g723_test() local 112 memset (orig, 0, BUFFER_SIZE * sizeof (short)) ; in g723_test() 119 orig [k] = (short) orig_buffer [k] ; in g723_test() 125 { code = encoder_state.encoder (orig [k], &encoder_state) ; in g723_test() 127 if (abs (orig [k] - data [k]) > max_err) in g723_test() 129 max_err = abs (orig [k] - data [k]) ; in g723_test() 136 { if (error_function (data [k], orig [k], margin)) in g723_test() 137 …{ printf ("Line %d: Incorrect sample A (#%ld : %d should be %d).\n", __LINE__, k, data [k], orig [… in g723_test() 138 oct_save_short (orig, data, BUFFER_SIZE) ; in g723_test() [all …]
|
/third_party/flutter/skia/tests/ |
D | RoundRectTest.cpp | 514 static void assert_transform_failure(skiatest::Reporter* reporter, const SkRRect& orig, in assert_transform_failure() argument 517 SkASSERT(!orig.isEmpty()); in assert_transform_failure() 522 const SkRRect copyOfOrig = orig; in assert_transform_failure() 523 bool success = orig.transform(matrix, &dst); in assert_transform_failure() 529 REPORTER_ASSERT(reporter, copyOfOrig == orig); in assert_transform_failure() 530 REPORTER_ASSERT(reporter, orig != dst); in assert_transform_failure() 534 const SkVector& origUL = orig.radii(SkRRect::kUpperLeft_Corner); \ 535 const SkVector& origUR = orig.radii(SkRRect::kUpperRight_Corner); \ 536 const SkVector& origLR = orig.radii(SkRRect::kLowerRight_Corner); \ 537 const SkVector& origLL = orig.radii(SkRRect::kLowerLeft_Corner); \ [all …]
|
/third_party/flutter/skia/modules/pathkit/tests/ |
D | effects.spec.js | 19 let orig = drawStar(); 26 expect(dashed.equals(orig)).toBe(false); 30 orig.delete(); 41 let orig = drawStar(); 48 expect(trimmed.equals(orig)).toBe(false); 49 expect(complement.equals(orig)).toBe(false); 53 orig.delete(); 64 let orig = drawStar(); 76 expect(scaled.equals(orig)).toBe(false); 80 orig.delete(); [all …]
|
D | path.spec.js | 37 let orig = drawSimplePath(); 38 let copy = new PathKit.SkPath(orig); 40 expect(orig.toSVGString()).toEqual(copy.toSVGString()); 41 expect(orig.equals(copy)).toBe(true); 43 orig.delete(); 51 let orig = drawSimplePath(); 52 let copy = orig.copy(); 54 expect(orig.toSVGString()).toEqual(copy.toSVGString()); 55 expect(orig.equals(copy)).toBe(true); 57 orig.delete(); [all …]
|
/third_party/skia/modules/pathkit/tests/ |
D | effects.spec.js | 19 let orig = drawStar(); 26 expect(dashed.equals(orig)).toBe(false); 30 orig.delete(); 41 let orig = drawStar(); 48 expect(trimmed.equals(orig)).toBe(false); 49 expect(complement.equals(orig)).toBe(false); 53 orig.delete(); 64 let orig = drawStar(); 76 expect(scaled.equals(orig)).toBe(false); 80 orig.delete(); [all …]
|
D | path.spec.js | 37 let orig = drawSimplePath(); 38 let copy = new PathKit.SkPath(orig); 40 expect(orig.toSVGString()).toEqual(copy.toSVGString()); 41 expect(orig.equals(copy)).toBe(true); 43 orig.delete(); 51 let orig = drawSimplePath(); 52 let copy = orig.copy(); 54 expect(orig.toSVGString()).toEqual(copy.toSVGString()); 55 expect(orig.equals(copy)).toBe(true); 57 orig.delete(); [all …]
|
/third_party/node/deps/npm/node_modules/util-promisify/ |
D | index.js | 10 function promisify(orig) { argument 11 if (typeof orig !== 'function') { 20 if (orig === timers.setTimeout || orig === timers.setImmediate) { 21 const _orig = orig 22 orig = function () { function 35 if (orig[kCustomPromisifiedSymbol]) { 36 const fn = orig[kCustomPromisifiedSymbol]; 61 orig.apply(this, args.concat(function (err) { 81 Object.setPrototypeOf(fn, Object.getPrototypeOf(orig)); 86 return Object.defineProperties(fn, ObjectGetOwnPropertyDescriptors(orig));
|
/third_party/gstreamer/gstplugins_bad/tests/check/elements/ |
D | avtpcrfsync.c | 110 set_buffer_tstamps (GstBuffer * buf, struct buffer_tstamps *orig) in set_buffer_tstamps() argument 120 GST_BUFFER_PTS (buf) = orig->buf_pts; in set_buffer_tstamps() 121 GST_BUFFER_DTS (buf) = orig->buf_dts; in set_buffer_tstamps() 126 avtp_aaf_pdu_set (pdu, AVTP_AAF_FIELD_TIMESTAMP, orig->avtp_ts); in set_buffer_tstamps() 128 avtp_cvf_pdu_set (pdu, AVTP_CVF_FIELD_TIMESTAMP, orig->avtp_ts); in set_buffer_tstamps() 129 avtp_cvf_pdu_set (pdu, AVTP_CVF_FIELD_H264_TIMESTAMP, orig->h264_ts); in set_buffer_tstamps() 162 test_crf_tstamps (GstHarness * h, GstBuffer * buf, struct buffer_tstamps *orig, in test_crf_tstamps() argument 169 set_buffer_tstamps (buf, orig); in test_crf_tstamps() 260 struct buffer_tstamps orig, expected; in GST_START_TEST() local 273 orig = (struct buffer_tstamps) { in GST_START_TEST() [all …]
|
/third_party/python/Lib/test/ |
D | test_list.py | 82 orig = self.type2test([4, 5, 6, 7]) 86 itorig = iter(orig) 87 d = pickle.dumps((itorig, orig), proto) 95 d = pickle.dumps((itorig, orig), proto) 102 for i in range(1, len(orig)): 104 d = pickle.dumps((itorig, orig), proto) 108 self.assertEqual(list(it), data[len(orig):]) 112 d = pickle.dumps((itorig, orig), proto) 118 orig = self.type2test([4, 5, 6, 7]) 122 itorig = reversed(orig) [all …]
|
/third_party/ffmpeg/libavutil/tests/ |
D | lzo.c | 38 uint8_t *orig = av_malloc(MAXSZ + 16); in main() local 41 size_t s = fread(orig, 1, MAXSZ, in); in main() 48 lzo1x_1_compress(orig, s, comp, &clen, tmp); in main() 50 lzo1x_1_11_compress(orig, s, comp, &clen, tmp); in main() 52 lzo1x_1_12_compress(orig, s, comp, &clen, tmp); in main() 54 lzo1x_1_15_compress(orig, s, comp, &clen, tmp); in main() 56 lzo1x_999_compress(orig, s, comp, &clen, tmp); in main() 70 if (memcmp(orig, decomp, s)) in main() 75 av_free(orig); in main()
|
/third_party/skia/tests/ |
D | RoundRectTest.cpp | 517 static void assert_transform_failure(skiatest::Reporter* reporter, const SkRRect& orig, in assert_transform_failure() argument 520 SkASSERT(!orig.isEmpty()); in assert_transform_failure() 525 const SkRRect copyOfOrig = orig; in assert_transform_failure() 526 bool success = orig.transform(matrix, &dst); in assert_transform_failure() 532 REPORTER_ASSERT(reporter, copyOfOrig == orig); in assert_transform_failure() 533 REPORTER_ASSERT(reporter, orig != dst); in assert_transform_failure() 537 const SkVector& origUL = orig.radii(SkRRect::kUpperLeft_Corner); \ 538 const SkVector& origUR = orig.radii(SkRRect::kUpperRight_Corner); \ 539 const SkVector& origLR = orig.radii(SkRRect::kLowerRight_Corner); \ 540 const SkVector& origLL = orig.radii(SkRRect::kLowerLeft_Corner); \ [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
D | RuntimeDyldCOFFAArch64.h | 38 uint32_t orig = read32le(T); in write32AArch64Imm() local 39 orig &= ~(0xFFF << 10); in write32AArch64Imm() 40 write32le(T, orig | ((imm & (0xFFF >> rangeLimit)) << 10)); in write32AArch64Imm() 44 uint32_t orig = read32le(T); in write32AArch64Ldr() local 45 uint32_t size = orig >> 30; in write32AArch64Ldr() 48 if ((orig & 0x04800000) == 0x04800000) in write32AArch64Ldr() 180 uint32_t orig = read32le(Displacement); in processRelocationRef() local 181 Addend = (orig & 0x03FFFFFF) << 2; in processRelocationRef() 189 uint32_t orig = read32le(Displacement); in processRelocationRef() local 190 Addend = (orig & 0x00FFFFE0) >> 3; in processRelocationRef() [all …]
|
/third_party/python/Lib/email/ |
D | encoders.py | 31 orig = msg.get_payload(decode=True) 32 encdata = str(_bencode(orig), 'ascii') 43 orig = msg.get_payload(decode=True) 44 encdata = _qencode(orig) 52 orig = msg.get_payload(decode=True) 53 if orig is None: 60 orig.decode('ascii')
|
/third_party/rust/crates/rustix/tests/net/ |
D | addr.rs | 10 let orig = SocketAddrV4::new(Ipv4Addr::new(2, 3, 5, 6), 33); in encode_decode() localVariable 12 let len = SocketAddrAny::V4(orig).write(encoded.as_mut_ptr()); in encode_decode() 14 assert_eq!(decoded, SocketAddrAny::V4(orig)); in encode_decode() 16 let orig = SocketAddrV6::new(Ipv6Addr::new(2, 3, 5, 6, 8, 9, 11, 12), 33, 34, 36); in encode_decode() localVariable 18 let len = SocketAddrAny::V6(orig).write(encoded.as_mut_ptr()); in encode_decode() 20 assert_eq!(decoded, SocketAddrAny::V6(orig)); in encode_decode() 24 let orig = SocketAddrUnix::new("/path/to/socket").unwrap(); in encode_decode() localVariable 26 let len = SocketAddrAny::Unix(orig.clone()).write(encoded.as_mut_ptr()); in encode_decode() 28 assert_eq!(decoded, SocketAddrAny::Unix(orig)); in encode_decode()
|