/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/ |
D | allocate_shared_no_variadics.pass.cpp | 25 struct Zero struct 28 Zero() {++count;} in Zero() function 29 Zero(Zero const &) {++count;} in Zero() argument 30 ~Zero() {--count;} in ~Zero() argument 33 int Zero::count = 0; 74 std::shared_ptr<Zero> p = std::allocate_shared<Zero>(Alloc()); in test() 75 assert(Zero::count == 1); in test() 77 assert(Zero::count == 0); in test()
|
/external/ceres-solver/internal/ceres/ |
D | dense_sparse_matrix_test.cc | 56 Vector x = Vector::Zero(num_cols); in CompareMatrices() 59 Vector y_a = Vector::Zero(num_rows); in CompareMatrices() 60 Vector y_b = Vector::Zero(num_rows); in CompareMatrices() 100 Vector b1 = Vector::Zero(num_rows); in TEST_F() 101 Vector b2 = Vector::Zero(num_rows); in TEST_F() 111 Vector a = Vector::Zero(num_rows); in TEST_F() 114 Vector b1 = Vector::Zero(num_cols); in TEST_F() 115 Vector b2 = Vector::Zero(num_cols); in TEST_F() 129 Vector b1 = Vector::Zero(num_cols); in TEST_F() 130 Vector b2 = Vector::Zero(num_cols); in TEST_F() [all …]
|
D | block_sparse_matrix_test.cc | 72 Vector y_a = Vector::Zero(A_->num_rows()); in TEST_F() 73 Vector y_b = Vector::Zero(A_->num_rows()); in TEST_F() 75 Vector x = Vector::Zero(A_->num_cols()); in TEST_F() 84 Vector y_a = Vector::Zero(A_->num_cols()); in TEST_F() 85 Vector y_b = Vector::Zero(A_->num_cols()); in TEST_F() 87 Vector x = Vector::Zero(A_->num_rows()); in TEST_F() 96 Vector y_a = Vector::Zero(A_->num_cols()); in TEST_F() 97 Vector y_b = Vector::Zero(A_->num_cols()); in TEST_F()
|
D | partitioned_matrix_view_test.cc | 93 Vector y1 = Vector::Zero(pmv_->num_rows()); in TEST_F() 96 Vector y2 = Vector::Zero(pmv_->num_rows()); in TEST_F() 106 Vector x2 = Vector::Zero(pmv_->num_cols()); in TEST_F() 113 Vector y1 = Vector::Zero(pmv_->num_rows()); in TEST_F() 116 Vector y2 = Vector::Zero(pmv_->num_rows()); in TEST_F() 125 Vector x = Vector::Zero(pmv_->num_rows()); in TEST_F() 130 Vector y = Vector::Zero(pmv_->num_cols()); in TEST_F() 131 Vector y1 = Vector::Zero(pmv_->num_cols_e()); in TEST_F() 132 Vector y2 = Vector::Zero(pmv_->num_cols_f()); in TEST_F()
|
/external/avahi/avahi-sharp/ |
D | ServiceBrowser.cs | 46 public static ServiceInfo Zero = new ServiceInfo (); field 150 if (client.Handle == IntPtr.Zero || handle != IntPtr.Zero || in Start() 157 flags, cb, IntPtr.Zero); in Start() 159 if (handle == IntPtr.Zero) in Start() 166 if (client.Handle != IntPtr.Zero && handle != IntPtr.Zero && in Stop() 171 handle = IntPtr.Zero; in Stop()
|
D | HostNameResolver.cs | 123 if (client.Handle == IntPtr.Zero || handle != IntPtr.Zero || in Start() 130 cb, IntPtr.Zero); in Start() 132 if (handle == IntPtr.Zero) in Start() 139 if (client.Handle != IntPtr.Zero && handle != IntPtr.Zero && in Stop() 144 handle = IntPtr.Zero; in Stop()
|
D | RecordBrowser.cs | 162 if (client.Handle == IntPtr.Zero || handle != IntPtr.Zero || in Start() 168 … (ushort) clazz, (ushort) type, flags, cb, IntPtr.Zero); in Start() 170 if (handle == IntPtr.Zero) in Start() 177 if (client.Handle != IntPtr.Zero && handle != IntPtr.Zero && in Stop() 182 handle = IntPtr.Zero; in Stop() 200 if (rdata != IntPtr.Zero) { in OnRecordBrowserCallback()
|
D | AddressResolver.cs | 143 if (client.Handle == IntPtr.Zero || handle != IntPtr.Zero || in Start() 151 cb, IntPtr.Zero); in Start() 153 if (handle == IntPtr.Zero) in Start() 162 if (client.Handle != IntPtr.Zero && handle != IntPtr.Zero && in Stop() 167 handle = IntPtr.Zero; in Stop()
|
D | ServiceTypeBrowser.cs | 140 if (client.Handle == IntPtr.Zero || handle != IntPtr.Zero || in Start() 147 cb, IntPtr.Zero); in Start() 149 if (handle == IntPtr.Zero) in Start() 156 if (client.Handle != IntPtr.Zero && handle != IntPtr.Zero && in Stop() 161 handle = IntPtr.Zero; in Stop()
|
D | DomainBrowser.cs | 144 if (client.Handle == IntPtr.Zero && handle != IntPtr.Zero || in Start() 151 cb, IntPtr.Zero); in Start() 153 if (handle == IntPtr.Zero) in Start() 160 if (client.Handle != IntPtr.Zero && handle != IntPtr.Zero && in Stop() 164 handle = IntPtr.Zero; in Stop()
|
D | ServiceResolver.cs | 143 if (client.Handle == IntPtr.Zero || handle != IntPtr.Zero || in Start() 150 … Utility.StringToBytes (domain), aproto, flags, cb, IntPtr.Zero); in Start() 152 if (handle == IntPtr.Zero) in Start() 159 if (client.Handle != IntPtr.Zero && handle != IntPtr.Zero && in Stop() 164 handle = IntPtr.Zero; in Stop() 189 for (IntPtr l = txt; l != IntPtr.Zero; l = avahi_string_list_get_next (l)) { in OnServiceResolverCallback()
|
D | EntryGroup.cs | 157 handle = avahi_entry_group_new (client.Handle, cb, IntPtr.Zero); in EntryGroup() 158 if (handle == IntPtr.Zero) in EntryGroup() 170 if (client.Handle != IntPtr.Zero && handle != IntPtr.Zero) { in Dispose() 173 handle = IntPtr.Zero; in Dispose() 209 IntPtr list = avahi_string_list_new (IntPtr.Zero); in AddService() 223 IntPtr list = avahi_string_list_new (IntPtr.Zero); in AddService() 262 IntPtr list = avahi_string_list_new (IntPtr.Zero); in UpdateService() 276 IntPtr list = avahi_string_list_new (IntPtr.Zero); in UpdateService()
|
D | Utility.cs | 44 if (ptr == IntPtr.Zero) in PtrToString() 55 if (ptr == IntPtr.Zero) in PtrToStringFree() 74 return IntPtr.Zero; in StringToPtr() 102 if (ptr != IntPtr.Zero) { in PtrToAddress()
|
/external/clang/test/Analysis/ |
D | enum.cpp | 6 Zero enumerator 10 return Foo::Zero == (Foo)x; // don't crash in pr15703() 18 clang_analyzer_eval(f == Foo::Zero); // expected-warning{{TRUE}} in testCasting() 23 clang_analyzer_eval(f == Foo::Zero); // expected-warning{{FALSE}} in testCasting()
|
/external/eigen/test/eigen2/ |
D | eigen2_sparse_product.cpp | 25 DenseMatrix refMat2 = DenseMatrix::Zero(rows, rows); in sparse_product() 26 DenseMatrix refMat3 = DenseMatrix::Zero(rows, rows); in sparse_product() 27 DenseMatrix refMat4 = DenseMatrix::Zero(rows, rows); in sparse_product() 28 DenseMatrix dm4 = DenseMatrix::Zero(rows, rows); in sparse_product() 58 DenseMatrix refM2 = DenseMatrix::Zero(rows, rows); in sparse_product() 59 DenseMatrix refM3 = DenseMatrix::Zero(rows, rows); in sparse_product() 76 DenseMatrix refUp = DenseMatrix::Zero(rows, rows); in sparse_product() 77 DenseMatrix refLo = DenseMatrix::Zero(rows, rows); in sparse_product() 78 DenseMatrix refS = DenseMatrix::Zero(rows, rows); in sparse_product()
|
/external/v8/test/webkit/ |
D | comparison-operators-less-expected.txt | 1085 PASS return (Zero<letter0); is false 1086 PASS if ((Zero<letter0)) return true; return false; is false 1087 PASS var k = 0; while ((Zero<letter0)) if (k++) return true; return false; is false 1088 PASS var k = 0; for (; (Zero<letter0); ) if (k++) return true; return false; is false 1089 PASS return (Zero<=letter0); is true 1090 PASS if ((Zero<=letter0)) return true; return false; is true 1091 PASS var k = 0; while ((Zero<=letter0)) if (k++) return true; return false; is true 1092 PASS var k = 0; for (; (Zero<=letter0); ) if (k++) return true; return false; is true 1093 PASS return (Zero<letter0) || 1; is true 1094 PASS if ((Zero<letter0) || 1) return true; return false; is true [all …]
|
D | comparison-operators-greater-expected.txt | 749 PASS return (Zero>letter0); is false 750 PASS if ((Zero>letter0)) return true; return false; is false 751 PASS var k = 0; while ((Zero>letter0)) if (k++) return true; return false; is false 752 PASS var k = 0; for (; (Zero>letter0); ) if (k++) return true; return false; is false 753 PASS return (Zero>=letter0); is true 754 PASS if ((Zero>=letter0)) return true; return false; is true 755 PASS var k = 0; while ((Zero>=letter0)) if (k++) return true; return false; is true 756 PASS var k = 0; for (; (Zero>=letter0); ) if (k++) return true; return false; is true 757 PASS return (Zero>letter0) || 1; is true 758 PASS if ((Zero>letter0) || 1) return true; return false; is true [all …]
|
D | comparison-operators-expected.txt | 2333 PASS return (Zero==1); is false 2334 PASS if ((Zero==1)) return true; return false; is false 2335 PASS var k = 0; while ((Zero==1)) if (k++) return true; return false; is false 2336 PASS var k = 0; for (; (Zero==1); ) if (k++) return true; return false; is false 2337 PASS return (Zero!=1); is true 2338 PASS if ((Zero!=1)) return true; return false; is true 2339 PASS var k = 0; while ((Zero!=1)) if (k++) return true; return false; is true 2340 PASS var k = 0; for (; (Zero!=1); ) if (k++) return true; return false; is true 2341 PASS return (Zero===1); is false 2342 PASS if ((Zero===1)) return true; return false; is false [all …]
|
/external/avahi/avahi-ui-sharp/ |
D | ServiceDialog.cs | 91 if (ptr == IntPtr.Zero) 101 types = new IntPtr[] { IntPtr.Zero }; 109 types[value.Length] = IntPtr.Zero; 115 if (types[i] != IntPtr.Zero) 176 for (IntPtr l = txt; l != IntPtr.Zero; l = avahi_string_list_get_next (l)) { 215 Raw = aui_service_dialog_new (title, parent == null ? IntPtr.Zero : parent.Handle, in ServiceDialog() 216 IntPtr.Zero); in ServiceDialog() 227 if (ptr != IntPtr.Zero) { in PtrToAddress()
|
/external/eigen/test/ |
D | product_extra.cpp | 27 mzero = MatrixType::Zero(rows, cols), in product_extra() 124 VERIFY_IS_APPROX( (res=a*b), MatrixType::Zero(rows,cols) ); in zero_sized_objects() 125 VERIFY_IS_APPROX( (res=a*a.transpose()), MatrixType::Zero(rows,rows) ); in zero_sized_objects() 126 VERIFY_IS_APPROX( (res=b.transpose()*b), MatrixType::Zero(cols,cols) ); in zero_sized_objects() 127 VERIFY_IS_APPROX( (res=b.transpose()*a.transpose()), MatrixType::Zero(cols,rows) ); in zero_sized_objects() 143 VERIFY_IS_APPROX( (res=a*b), MatrixType::Zero(PacketSize,1) ); in zero_sized_objects() 144 VERIFY_IS_APPROX( (res=a.lazyProduct(b)), MatrixType::Zero(PacketSize,1) ); in zero_sized_objects() 151 VERIFY_IS_APPROX( (res=a*b), MatrixType::Zero(PacketSize1,1) ); in zero_sized_objects() 152 VERIFY_IS_APPROX( (res=a.lazyProduct(b)), MatrixType::Zero(PacketSize1,1) ); in zero_sized_objects() 159 VERIFY_IS_APPROX( (res=a*b), MatrixType::Zero(PacketSize,1) ); in zero_sized_objects() [all …]
|
D | sparse_product.cpp | 60 DenseMatrix refMat2 = DenseMatrix::Zero(rows, depth); in sparse_product() 61 DenseMatrix refMat2t = DenseMatrix::Zero(depth, rows); in sparse_product() 62 DenseMatrix refMat3 = DenseMatrix::Zero(depth, cols); in sparse_product() 63 DenseMatrix refMat3t = DenseMatrix::Zero(cols, depth); in sparse_product() 64 DenseMatrix refMat4 = DenseMatrix::Zero(rows, cols); in sparse_product() 65 DenseMatrix refMat4t = DenseMatrix::Zero(cols, rows); in sparse_product() 68 DenseMatrix dm4 = DenseMatrix::Zero(rows, rows); in sparse_product() 144 DenseMatrix refM2 = DenseMatrix::Zero(rows, cols); in sparse_product() 145 DenseMatrix refM3 = DenseMatrix::Zero(rows, cols); in sparse_product() 146 DenseMatrix d3 = DenseMatrix::Zero(rows, cols); in sparse_product() [all …]
|
/external/eigen/doc/snippets/ |
D | Tutorial_AdvancedInitialization_ThreeWays.cpp | 3 mat1.topLeftCorner(size/2, size/2) = MatrixXd::Zero(size/2, size/2); 6 mat1.bottomRightCorner(size/2, size/2) = MatrixXd::Zero(size/2, size/2); 17 mat3 << MatrixXd::Zero(size/2, size/2), MatrixXd::Identity(size/2, size/2), 18 MatrixXd::Identity(size/2, size/2), MatrixXd::Zero(size/2, size/2);
|
D | Tutorial_AdvancedInitialization_Zero.cpp | 2 Array33f a1 = Array33f::Zero(); 7 ArrayXf a2 = ArrayXf::Zero(3); 12 ArrayXXf a3 = ArrayXXf::Zero(3, 4);
|
/external/eigen/unsupported/Eigen/src/SVD/ |
D | BDCSVD.h | 222 m_computed = MatrixXr::Zero(this->m_diagSize + 1, this->m_diagSize ); in allocate() 232 if (compU) m_naiveU = MatrixXr::Zero(this->m_diagSize + 1, this->m_diagSize + 1 ); in allocate() 233 else m_naiveU = MatrixXr::Zero(2, this->m_diagSize + 1 ); in allocate() 235 if (compV) m_naiveV = MatrixXr::Zero(this->m_diagSize, this->m_diagSize); in allocate() 258 m_computed = Matrix<int, Dynamic, Dynamic>::Zero(rows(), cols()); in compute() 262 if (this->m_computeFullU) this->m_matrixU = Matrix<int, Dynamic, Dynamic>::Zero(rows(), rows()); in compute() 263 if (this->m_computeFullV) this->m_matrixV = Matrix<int, Dynamic, Dynamic>::Zero(cols(), cols()); in compute() 319 MatrixX temp = MatrixX::Zero(naiveU.rows(), naiveU.cols()); in copyUV() 335 MatrixX temp = MatrixX::Zero(naiveV.rows(), naiveV.cols()); in copyUV() 492 m_computed.block(firstCol + shift, firstCol + shift, n, n) << MatrixXr::Zero(n, n); in divide() [all …]
|
/external/fdlibm/ |
D | e_fmod.c | 23 static const double one = 1.0, Zero[] = {0.0, -0.0,}; variable 25 static double one = 1.0, Zero[] = {0.0, -0.0,}; variable 53 return Zero[(unsigned)sx>>31]; /* |x|=|y| return x*0*/ 107 return Zero[(unsigned)sx>>31]; 116 return Zero[(unsigned)sx>>31];
|