Home
last modified time | relevance | path

Searched refs:ex2 (Results 1 – 25 of 59) sorted by relevance

123

/external/cronet/base/types/
Dexpected_unittest.cc210 constexpr expected<int, Error> ex2 = ex1; in TEST() local
211 static_assert(ex2.has_value()); in TEST()
217 EXPECT_EQ(ex2.value(), 42); in TEST()
222 constexpr expected<int, Error> ex2 = ex1; in TEST() local
223 static_assert(!ex2.has_value()); in TEST()
224 EXPECT_EQ(ex2.error(), Error::kFail); in TEST()
231 expected<StrongMoveOnly<int>, int> ex2 = std::move(ex1); in TEST() local
232 ASSERT_TRUE(ex2.has_value()); in TEST()
233 EXPECT_EQ(ex2.value().value, 42); in TEST()
238 expected<int, StrongMoveOnly<int>> ex2 = std::move(ex1); in TEST() local
[all …]
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/
DClientServerTest.cs81 …var ex2 = Assert.ThrowsAsync<RpcException>(async () => await Calls.AsyncUnaryCall(helper.CreateUna… in UnaryCall_ServerHandlerThrows()
82 Assert.AreEqual(StatusCode.Unknown, ex2.Status.StatusCode); in UnaryCall_ServerHandlerThrows()
97 …var ex2 = Assert.ThrowsAsync<RpcException>(async () => await Calls.AsyncUnaryCall(helper.CreateUna… in UnaryCall_ServerHandlerThrowsRpcException()
98 Assert.AreEqual(StatusCode.Unauthenticated, ex2.Status.StatusCode); in UnaryCall_ServerHandlerThrowsRpcException()
117 …var ex2 = Assert.ThrowsAsync<RpcException>(async () => await Calls.AsyncUnaryCall(helper.CreateUna… in UnaryCall_ServerHandlerThrowsRpcExceptionWithTrailers()
118 Assert.AreEqual(StatusCode.Unauthenticated, ex2.Status.StatusCode); in UnaryCall_ServerHandlerThrowsRpcExceptionWithTrailers()
119 Assert.AreEqual(1, ex2.Trailers.Count); in UnaryCall_ServerHandlerThrowsRpcExceptionWithTrailers()
120 Assert.AreEqual("xyz", ex2.Trailers[0].Key); in UnaryCall_ServerHandlerThrowsRpcExceptionWithTrailers()
121 Assert.AreEqual("xyz-value", ex2.Trailers[0].Value); in UnaryCall_ServerHandlerThrowsRpcExceptionWithTrailers()
137 …var ex2 = Assert.ThrowsAsync<RpcException>(async () => await Calls.AsyncUnaryCall(helper.CreateUna… in UnaryCall_ServerHandlerSetsStatus()
[all …]
DChannelCredentialsTest.cs61 var ex2 = Assert.Throws(typeof(Exception), () => creds.GetNativeCredentials()); in ChannelCredentials_CreateExceptionIsCached()
62 Assert.AreSame(ex1, ex2); in ChannelCredentials_CreateExceptionIsCached()
/external/libnetfilter_conntrack/qa/
Dtest_api.c434 static void test_nfexp_cmp_api(struct nf_expect *ex1, struct nf_expect *ex2) in test_nfexp_cmp_api() argument
441 memcpy(ex1, ex2, nfexp_maxsize()); in test_nfexp_cmp_api()
443 assert(nfexp_cmp(ex1, ex2, 0) == 1); in test_nfexp_cmp_api()
444 assert(nfexp_cmp(ex1, ex2, NFCT_CMP_STRICT) == 1); in test_nfexp_cmp_api()
450 memcpy(ex1, ex2, nfexp_maxsize()); in test_nfexp_cmp_api()
454 assert(nfexp_cmp(ex1, ex2, 0) == 1); in test_nfexp_cmp_api()
455 assert(nfexp_cmp(ex1, ex2, NFCT_CMP_STRICT) == 0); in test_nfexp_cmp_api()
456 assert(nfexp_cmp(ex1, ex2, NFCT_CMP_MASK) == 1); in test_nfexp_cmp_api()
458 memcpy(ex1, ex2, nfexp_maxsize()); in test_nfexp_cmp_api()
460 nfexp_attr_unset(ex2, i); in test_nfexp_cmp_api()
[all …]
/external/llvm/utils/
Dfindmisopt109 ex2=$?
112 if [ "$ex1" -ne "$ex2" ] ; then
116 echo "Optimized returned: $ex2"
/external/llvm/test/CodeGen/NVPTX/
Dinline-asm.ll6 ; CHECK: ex2.approx.ftz.f32 %f{{[0-9]+}}, %f{{[0-9]+}}
7 %0 = call float asm "ex2.approx.ftz.f32 $0, $1;", "=f,f"(float %x)
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DTransliteratorInstantiateAllTest.java62 } catch (IllegalArgumentException ex2) { in TestInstantiation()
65 throw ex2; in TestInstantiation()
DCompoundTransliteratorTest.java64 }catch(IllegalArgumentException ex2) { in TestConstruction()
66 throw ex2; in TestConstruction()
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DTransliteratorInstantiateAllTest.java59 } catch (IllegalArgumentException ex2) { in TestInstantiation()
62 throw ex2; in TestInstantiation()
DCompoundTransliteratorTest.java61 }catch(IllegalArgumentException ex2) { in TestConstruction()
63 throw ex2; in TestConstruction()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DClassPathResolver.java119 } catch (PathEntryLoader.NoDexException ex2) { in ClassPathResolver()
121 } catch (NotFoundException ex2) { in ClassPathResolver()
132 } catch (PathEntryLoader.NoDexException ex2) { in ClassPathResolver()
134 } catch (NotFoundException ex2) { in ClassPathResolver()
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/analysis/
DClassPathResolver.java95 } catch (PathEntryLoader.NoDexException ex2) { in ClassPathResolver()
97 } catch (NotFoundException ex2) { in ClassPathResolver()
108 } catch (PathEntryLoader.NoDexException ex2) { in ClassPathResolver()
110 } catch (NotFoundException ex2) { in ClassPathResolver()
/external/autotest/client/common_lib/
Ddecorators_unittest.py71 ex2 = Example(v=5)
72 self.assertEquals(6, ex2.prop)
/external/tensorflow/tensorflow/python/training/
Dcoordinator.py173 ex2 = ex[1]
175 ex2 = ex
176 if isinstance(ex2, self._clean_stop_exception_types):
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/tar/
DTarUtils.java267 } catch (final IOException ex2) { in parseName()
269 throw new RuntimeException(ex2); //NOSONAR in parseName()
326 } catch (final IOException ex2) { in formatNameBytes()
328 throw new RuntimeException(ex2); //NOSONAR in formatNameBytes()
DTarArchiveEntry.java1160 } catch (final IOException ex2) { in writeEntryHeader()
1162 throw new RuntimeException(ex2); //NOSONAR in writeEntryHeader()
1247 } catch (final IOException ex2) { in parseTarHeader()
1249 throw new RuntimeException(ex2); //NOSONAR in parseTarHeader()
/external/pdfium/third_party/agg23/
Dagg_rasterizer_scanline_aa.cpp168 int ex2 = x2 >> poly_base_shift; in render_hline() local
174 set_cur_cell(ex2, ey); in render_hline()
177 if(ex1 == ex2) { in render_hline()
202 if(ex1 != ex2) { in render_hline()
211 while (ex1 != ex2) { in render_hline()
/external/freetype/src/smooth/
Dftgrays.c644 TCoord ex1, ex2, fx1, fx2, first, dy, delta, mod; in gray_render_scanline() local
650 ex2 = TRUNC( x2 ); in gray_render_scanline()
655 gray_set_cell( RAS_VAR_ ex2, ey ); in gray_render_scanline()
664 if ( ex1 == ex2 ) in gray_render_scanline()
697 if ( ex1 != ex2 ) in gray_render_scanline()
719 } while ( ex1 != ex2 ); in gray_render_scanline()
877 TCoord ex1, ey1, ex2, ey2; in gray_render_line() local
889 ex2 = TRUNC( to_x ); in gray_render_line()
897 if ( ex1 == ex2 && ey1 == ey2 ) /* inside one cell */ in gray_render_line()
901 gray_set_cell( RAS_VAR_ ex2, ey2 ); in gray_render_line()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_aaline.c58 GLfloat ex2, ey2; member
301 GLfloat cross2 = (info->ex2 * fy2 - info->ey2 * fx2); in compute_coveragef()
311 cross2 = info->ex2 + info->ey2; in compute_coveragef()
363 line->ex2 = line->qx3 - line->qx2; in segment()
/external/python/cpython3/Lib/test/
Dtest_buffer.py1077 ex2 = ex1[::-2] if shape else None
1080 if ex2:
1081 m2 = memoryview(ex2)
1084 if ex2 and ex2.ndim == 1 and shape and strides:
1085 self.assertEqual(m2, ex2)
1091 if ex2:
1092 self.verify_getbuf(ex2, ex2, req|bits,
1094 self.verify_getbuf(ex2, m2, req|bits,
1251 ex2 = ndarray(ex1)
1252 nd = ndarray(ex2)
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/xxhash/tests/collisions/
Dmain.c427 unsigned const ex2 = (bf[pos2] >> shift2) & 3; in Filter_insert() local
429 unsigned const existing = MIN(ex1, ex2); in Filter_insert()
436 bf[pos2] |= (Filter)(MAX(ex2, nextValue[existing]) << shift2); in Filter_insert()
467 unsigned const ex2 = (bf[pos2] >> shift2) & 3; in Filter_check() local
469 return (ex1 >= 2) && (ex2 >= 2); in Filter_check()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DXMLReaderManager.java131 } catch (NoSuchMethodError ex2) { in getXMLReader()
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/openers/
DWriteProtoOpener.java73 } catch (FileNotFoundException ex2) { in open()
DStreamMutationOpener.java138 } catch (FileNotFoundException ex2) { in mutate()
/external/google-smali/third_party/util/src/main/java/com/android/tools/smali/util/
DPathUtil.java137 try {f.delete();} catch (Exception ex2) {} in testCaseSensitivity()

123