Home
last modified time | relevance | path

Searched +full:arr +full:- +full:diff (Results 1 – 25 of 71) sorted by relevance

123

/external/mesa3d/src/compiler/nir/
Dnir_opt_load_store_vectorize.c38 * - It won't turn four consecutive vec3 loads into 3 vec4 loads.
39 * - It doesn't do global vectorization.
42 * This probably doesn't handle big-endian GPUs correctly.
57 /* Indices into nir_intrinsic::src[] or -1 if not applicable. */
73 #define LOAD(mode, op, res, base, deref) INFO(mode, load_##op, false, res, base, deref, -1) in get_info()
79 LOAD(nir_var_mem_push_const, push_constant, -1, 0, -1) in get_info()
80 LOAD(nir_var_mem_ubo, ubo, 0, 1, -1) in get_info()
81 LOAD(nir_var_mem_ssbo, ssbo, 0, 1, -1) in get_info()
82 STORE(nir_var_mem_ssbo, ssbo, 1, 2, -1, 0) in get_info()
83 LOAD(0, deref, -1, -1, 0) in get_info()
[all …]
Dnir_serialize.c47 /* the next index to assign to a NIR in-memory object */
74 /* the next index to assign to a NIR in-memory object */
77 /* The length of the index -> object table */
95 uint32_t index = ctx->next_idx++; in write_add_object()
97 _mesa_hash_table_insert(ctx->remap_table, obj, (void *)(uintptr_t)index); in write_add_object()
103 struct hash_entry *entry = _mesa_hash_table_search(ctx->remap_table, obj); in write_lookup_object()
105 return (uint32_t)(uintptr_t)entry->data; in write_lookup_object()
111 assert(ctx->next_idx < ctx->idx_table_len); in read_add_object()
112 ctx->idx_table[ctx->next_idx++] = obj; in read_add_object()
118 assert(idx < ctx->idx_table_len); in read_lookup_object()
[all …]
/external/cronet/third_party/apache-portable-runtime/src/misc/win32/
Dinternal.c8 * http://www.apache.org/licenses/LICENSE-2.0
23 /* This module is the source of -static- helper functions that are
24 * entirely internal to apr. If the fn is exported - it does not
36 * list respectively) from wide Unicode strings to narrow utf-8 strings.
41 wchar_t const * const *arr, int args) in apr_wastrtoastr() argument
50 for (args = 0; arr[args]; ++args) in apr_wastrtoastr()
58 newarr[arg] = (void*)(wcslen(arr[arg]) + 1); in apr_wastrtoastr()
76 (void)apr_conv_ucs2_to_utf8(arr[arg], &len, in apr_wastrtoastr()
79 newlen -= elesize; in apr_wastrtoastr()
89 ele = apr_realloc_dbg(elements, ele - elements, in apr_wastrtoastr()
[all …]
/external/oboe/apps/OboeTester/app/src/main/java/com/mobileer/oboetester/
DTestDataPathsActivity.java8 * http://www.apache.org/licenses/LICENSE-2.0
69 public static final int VALUE_DEFAULT_SINGLE_TEST_INDEX = -1;
99 private final static double PHASE_INVALID = -999.0;
109 // They match definitions in system/media/audio/include/system/audio-hal-enums.h
136 public static final int JAVA_CHANNEL_UNDEFINED = -1;
223 return "ERROR - no such field " + name; in comparePassedField()
225 return "ERROR - cannot access " + name; in comparePassedField()
240 double diff = p1 - p2; in calculatePhaseError() local
242 while (diff > Math.PI) { in calculatePhaseError()
243 diff -= 2 * Math.PI; in calculatePhaseError()
[all …]
/external/clang/test/CodeGenCXX/
Ddebug-info-determinism.cpp1 // RUN: %clang_cc1 -S -emit-llvm -debug-info-kind=limited -o %t1.ll %s
2 // RUN: %clang_cc1 -S -emit-llvm -debug-info-kind=limited -o %t2.ll %s
3 // RUN: diff %t1.ll %t2.ll
7 int arr[M] = {}; in f() local
8 return arr[M/2] + C<M/2>().template f<M-1>(); in f()
/external/libchrome/libchrome_tools/patch/
Dmacros.patch1 diff --git a/base/macros.h b/base/macros.h
3 --- a/base/macros.h
5 @@ -12,6 +12,13 @@
11 +#include <android-base/macros.h>
19 @@ -23,23 +30,31 @@
49 // The arraysize(arr) macro returns the # of elements in an array arr. The
50 // expression is a compile-time constant, and therefore can be used in defining
51 @@ -53,8 +68,10 @@
62 @@ -83,8 +100,10 @@ namespace base {
/external/clang/test/SemaObjC/
Dcocoa-api-usage.m.fixed1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-arc %s -fsyntax-only -Wobjc-cocoa-api -veri…
2 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-arc -x objective-c %s.fixed -fsyntax-only
4 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-arc %t.m -fixit -Wobjc-cocoa-api
5 // RUN: diff %s.fixed %t.m
16 - (id)initWithString:(NSString *)aString;
20 - (id)objectAtIndex:(unsigned long)index;
21 - (id)objectAtIndexedSubscript:(int)index;
31 - (id)initWithObjects:(const id [])objects count:(unsigned long)cnt;
32 - (id)initWithObjects:(id)firstObj, ...;
33 - (id)initWithArray:(NSArray *)array;
[all …]
Dcocoa-api-usage.m1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-arc %s -fsyntax-only -Wobjc-cocoa-api -veri…
2 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-arc -x objective-c %s.fixed -fsyntax-only
4 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-arc %t.m -fixit -Wobjc-cocoa-api
5 // RUN: diff %s.fixed %t.m
16 - (id)initWithString:(NSString *)aString;
20 - (id)objectAtIndex:(unsigned long)index;
21 - (id)objectAtIndexedSubscript:(int)index;
31 - (id)initWithObjects:(const id [])objects count:(unsigned long)cnt;
32 - (id)initWithObjects:(id)firstObj, ...;
33 - (id)initWithArray:(NSArray *)array;
[all …]
/external/tensorflow/tensorflow/python/ops/
Dgradient_checker_v2.py7 # http://www.apache.org/licenses/LICENSE-2.0
81 arr = np.zeros(a.dense_shape)
86 assert 0 <= index < len(arr), (
88 arr[index] += values_slice
89 return arr
140 A 2-d numpy array representing the Jacobian. It has "y_size" rows
152 # To compute the jacobian, we treat x and y as one-dimensional vectors.
157 # Allocate 2-D Jacobian, with y dimensions smashed into the first
162 # everything else to be 0 and compute the gradients -- this will give us one
213 A 2-d numpy array representing the Jacobian. It has "y_size" rows
[all …]
/external/one-true-awk/testdir/
DT.misc5 awk=${awk-../a.out}
7 rm -f core
23 cmp -s foo1 foo2 || echo 'BAD: T.misc ghosh RE bug'
30 cmp -s foo1 foo2 || echo 'BAD: T.misc last number bug'
35 cmp -s foo1 foo2 || echo 'BAD: T.misc hex string cvt'
39 cmp -s foo1 foo2 || echo 'BAD: T.misc oct string cvt'
45 cmp -s foo1 foo2 || echo 'BAD: T.misc bad field increment'
47 # makes sure that fields are recomputed even if self-assignment
55 $awk '{ NF -= 2; $1 = $1; print }' <foo >foo2
56 diff foo1 foo2 || echo 1>&2 "BAD: T.misc bad field self-assignment"
[all …]
/external/clang/test/PCH/
Dsubscripting-literals.m1 // RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm -o %t.nopch.ll %s
2 // RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-pch -o %t.pch %s
3 // RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm -o %t.pch.ll %s -include-pch %t.pch
4 // REQUIRES: x86-registered-target
5 // RUN: diff %t.nopch.ll %t.pch.ll
11 - (id)objectAtIndexedSubscript:(int)index;
16 - (void)setObject:(id)object atIndexedSubscript:(int)index;
20 - (id)objectForKeyedSubscript:(id)key;
25 - (void)setObject:(id)object forKeyedSubscript:(id)key;
45 NSArray *arr = @[ p, @7 ];
/external/skia/tools/fonts/
Dgenerate_fir_coeff.py6 Use of this source code is governed by a BSD-style license that can be
28 return (withinStdDev(-a) - withinStdDev(-b)) / 2;
30 return (withinStdDev(-a) + withinStdDev(b)) / 2;
32 return (withinStdDev(b) - withinStdDev(a)) / 2;
40 # This is the sub-sample shift for each set of FIR coefficients
70 #We start at sample_offset - sample_units_width
71 current_sample_left = sample_offset - sample_units_width
72 current_std_dev_left = -std_dev_max
81 (current_sample_right - current_sample_left) / sample_units_width
97 delta = -1
[all …]
/external/chromium-trace/catapult/third_party/polymer/components/polymer/
Dbuild.log2 ---------
3 Build Time: 2018-02-12T15:48:46-0800
8 dom-serializer: 0.1.0
10 expand-tilde: 1.2.2
11 is-windows: 0.2.0
14 path-is-inside: 1.0.2
18 @types/express-serve-static-core: 4.0.53
25 @types/serve-static: 1.7.32
26 accessibility-developer-tools: 2.12.0
30 acorn-jsx: 3.0.1
[all …]
/external/armnn/third-party/stb/
Dstb_image_write.h3 // SPDX-License-Identifier: MIT
6 /* stb_image_write - v1.06 - public domain - http://nothings.org/stb/stb_image_write.h
7 writes out PNG/BMP/TGA/JPEG/HDR images to C stdio - Sean Barrett 2010-2015
16 Will probably not work correctly with strict-aliasing optimizations.
23 The PNG output is not optimal; it is 20-50% larger than the file
26 or run-time performance.
46 expected to open/close your file-equivalent before and after calling these:
61 Each function returns 0 on failure and non-0 on success.
64 is a rectangle of pixels stored from left-to-right, top-to-bottom.
65 Each pixel contains 'comp' channels of data stored interleaved with 8-bits
[all …]
/external/chromium-trace/catapult/third_party/polymer/components/webcomponentsjs/
Dbuild.log2 ---------
3 Build Time: 2017-02-06T15:35:26-0800
9 accessibility-developer-tools: 2.11.0
10 adm-zip: 0.4.7
12 agent-base: 2.0.1
13 align-text: 0.1.4
14 ansi-regex: 2.1.1
15 ansi-styles: 2.2.1
17 append-field: 0.1.0
19 arr-diff: 2.0.0
[all …]
/external/igt-gpu-tools/tools/
Dskl_compute_wrpll.c36 #define ARRAY_SIZE(arr) (sizeof(arr)/sizeof(arr[0])) argument
47 __a > __b ? (__a - __b) : (__b - __a); })
81 uint32_t min_dco_pdeviation = 100; /* DCO freq must be within +1%/-6% */ in skl_ddi_calculate_wrpll1()
184 wrpll_params->central_freq = dco_central_freq[min_dco_index]; in skl_ddi_calculate_wrpll1()
188 wrpll_params->central_freq = 0; in skl_ddi_calculate_wrpll1()
191 wrpll_params->central_freq = 1; in skl_ddi_calculate_wrpll1()
194 wrpll_params->central_freq = 3; in skl_ddi_calculate_wrpll1()
199 wrpll_params->pdiv = 0; in skl_ddi_calculate_wrpll1()
202 wrpll_params->pdiv = 1; in skl_ddi_calculate_wrpll1()
205 wrpll_params->pdiv = 2; in skl_ddi_calculate_wrpll1()
[all …]
/external/clang/test/
Dcxx-sections.data218 9.3.1 [class.mfct.non-static]
621 20.6.6.4 [meta.trans.arr]
999 24.5.1.2.7 [reverse.iter.op--]
1002 24.5.1.2.10 [reverse.iter.op-]
1003 24.5.1.2.11 [reverse.iter.op-=]
1026 24.5.2.2.10 [move.iter.op.-]
1027 24.5.2.2.11 [move.iter.op.-=]
1219 26.6.5.1 [slice.arr.assign]
1220 26.6.5.2 [slice.arr.comp.assign]
1221 26.6.5.3 [slice.arr.fill]
[all …]
/external/llvm/test/Bindings/llvm-c/
Decho.ll1 ; RUN: llvm-as < %s | llvm-dis > %t.orig
2 ; RUN: llvm-as < %s | llvm-c-test --echo > %t.echo
3 ; RUN: diff -w %t.orig %t.echo
5 target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
6 target triple = "x86_64-apple-macosx10.11.0"
14 @arr = linkonce_odr global [5 x i8] [ i8 2, i8 3, i8 5, i8 7, i8 11 ]
/external/autotest/client/cros/audio/
Daudio_quality_measurement.py3 # Use of this source code is governed by a BSD-style license that can be
30 # -----------|VVVVVVVVVVVVV|-----------
134 # A |-------------|vvvvvvvvvvvvvvvvvvvvvvv|-------------|
164 axis = -1
218 for i in range(1, length - 1):
219 ith_teager_value = abs(wave[i] * wave[i] - wave[i - 1] * wave[i + 1])
267 return abs(float(f1) - float(f2)) / float(f1)
284 # Thus, each segment looks like: |-----|=====|=====|-----|.
285 # "=...=" part will be taken while "-...-" part will be ignored.
295 # |=====|=====|-----| |-----|=====|=====|-----|
[all …]
/external/linux-kselftest/tools/testing/selftests/drivers/net/dsa/
Dlib.sh2 # SPDX-License-Identifier: GPL-2.0
7 # Kselftest framework requirement - SKIP code is 4.
39 if [[ -f $relative_path/forwarding.config ]]; then
48 tc -j &> /dev/null
49 if [[ $? -ne 0 ]]; then
62 if [[ $? -ne 0 ]]; then
80 if [[ $? -ne 0 ]]; then
81 echo "SKIP: iproute2 too old; tc-flower is missing extended MPLS support"
85 tc -j filter show dev $dev ingress protocol mpls_uc | jq . &> /dev/null
90 if [[ $ret -ne 0 ]]; then
[all …]
/external/linux-kselftest/tools/testing/selftests/net/forwarding/
Dlib.sh2 # SPDX-License-Identifier: GPL-2.0
7 # Kselftest framework requirement - SKIP code is 4.
39 if [[ -f $relative_path/forwarding.config ]]; then
48 tc -j &> /dev/null
49 if [[ $? -ne 0 ]]; then
62 if [[ $? -ne 0 ]]; then
80 if [[ $? -ne 0 ]]; then
81 echo "SKIP: iproute2 too old; tc-flower is missing extended MPLS support"
85 tc -j filter show dev $dev ingress protocol mpls_uc | jq . &> /dev/null
90 if [[ $ret -ne 0 ]]; then
[all …]
/external/linux-kselftest/tools/testing/selftests/drivers/net/bonding/
Dnet_forwarding_lib.sh2 # SPDX-License-Identifier: GPL-2.0
7 # Kselftest framework requirement - SKIP code is 4.
39 if [[ -f $relative_path/forwarding.config ]]; then
48 tc -j &> /dev/null
49 if [[ $? -ne 0 ]]; then
62 if [[ $? -ne 0 ]]; then
80 if [[ $? -ne 0 ]]; then
81 echo "SKIP: iproute2 too old; tc-flower is missing extended MPLS support"
85 tc -j filter show dev $dev ingress protocol mpls_uc | jq . &> /dev/null
90 if [[ $ret -ne 0 ]]; then
[all …]
/external/linux-kselftest/tools/testing/selftests/drivers/net/team/
Dnet_forwarding_lib.sh2 # SPDX-License-Identifier: GPL-2.0
7 # Kselftest framework requirement - SKIP code is 4.
39 if [[ -f $relative_path/forwarding.config ]]; then
48 tc -j &> /dev/null
49 if [[ $? -ne 0 ]]; then
62 if [[ $? -ne 0 ]]; then
80 if [[ $? -ne 0 ]]; then
81 echo "SKIP: iproute2 too old; tc-flower is missing extended MPLS support"
85 tc -j filter show dev $dev ingress protocol mpls_uc | jq . &> /dev/null
90 if [[ $ret -ne 0 ]]; then
[all …]
/external/chromium-trace/catapult/third_party/polymer/components/shadycss/
Dpackage-lock.json7 "@babel/code-frame": {
9 "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0.tgz",
10 …"integrity": "sha512-OfC2uemaknXr87bdLUkWog7nYuliM9Ij5HUcajsVcMCpQrcLmtxRbVFTIqmcSkSeYRBFBRxs2FiUq…
18 "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.1.2.tgz",
19 …"integrity": "sha512-IFeSSnjXdhDaoysIlev//UzHZbdEmm7D0EIH2qtse9xK7mXEZQpYjs2P00XlP1qYsYvid79p+Zgg6…
22 "@babel/code-frame": "^7.0.0",
29 "convert-source-map": "^1.1.0",
35 "source-map": "^0.5.0"
40 "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.1.3.tgz",
41 …"integrity": "sha512-ZoCZGcfIJFJuZBqxcY9OjC1KW2lWK64qrX1o4UYL3yshVhwKFYgzpWZ0vvtGMNJdTlvkw0W+HR1Vn…
[all …]
/external/rust/crates/lz4_flex/src/block/
Dcompress.rs13 #[cfg(not(feature = "safe-encode"))]
21 #[cfg(feature = "safe-encode")]
31 /// Read a 4-byte "batch" from some position.
33 /// This will read a native-endian 4-byte integer from some position.
35 #[cfg(not(feature = "safe-encode"))]
36 pub(super) fn get_batch(input: &[u8], n: usize) -> u32 { in get_batch()
41 #[cfg(feature = "safe-encode")]
42 pub(super) fn get_batch(input: &[u8], n: usize) -> u32 { in get_batch()
48 /// This will read a native-endian usize from some position.
51 #[cfg(not(feature = "safe-encode"))]
[all …]

123