Home
last modified time | relevance | path

Searched refs:vp (Results 1 – 16 of 16) sorted by relevance

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/allocator.adaptor/allocator.adaptor.types/
Dallocator_pointers.pass.cpp37 typename std::allocator_traits<Alloc>::pointer vp; in test_pointer() local
40 static_assert(std::is_same<bool, decltype( vp == vp)>::value, ""); in test_pointer()
41 static_assert(std::is_same<bool, decltype( vp != vp)>::value, ""); in test_pointer()
42 static_assert(std::is_same<bool, decltype( vp > vp)>::value, ""); in test_pointer()
43 static_assert(std::is_same<bool, decltype( vp >= vp)>::value, ""); in test_pointer()
44 static_assert(std::is_same<bool, decltype( vp < vp)>::value, ""); in test_pointer()
45 static_assert(std::is_same<bool, decltype( vp <= vp)>::value, ""); in test_pointer()
47 static_assert(std::is_same<bool, decltype( vp == cvp)>::value, ""); in test_pointer()
48 static_assert(std::is_same<bool, decltype(cvp == vp)>::value, ""); in test_pointer()
49 static_assert(std::is_same<bool, decltype( vp != cvp)>::value, ""); in test_pointer()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/default.allocator/
Dallocator_pointers.pass.cpp37 typename std::allocator_traits<Alloc>::pointer vp; in test_pointer() local
40 static_assert(std::is_same<bool, decltype( vp == vp)>::value, ""); in test_pointer()
41 static_assert(std::is_same<bool, decltype( vp != vp)>::value, ""); in test_pointer()
42 static_assert(std::is_same<bool, decltype( vp > vp)>::value, ""); in test_pointer()
43 static_assert(std::is_same<bool, decltype( vp >= vp)>::value, ""); in test_pointer()
44 static_assert(std::is_same<bool, decltype( vp < vp)>::value, ""); in test_pointer()
45 static_assert(std::is_same<bool, decltype( vp <= vp)>::value, ""); in test_pointer()
47 static_assert(std::is_same<bool, decltype( vp == cvp)>::value, ""); in test_pointer()
48 static_assert(std::is_same<bool, decltype(cvp == vp)>::value, ""); in test_pointer()
49 static_assert(std::is_same<bool, decltype( vp != cvp)>::value, ""); in test_pointer()
[all …]
/ndk/sources/host-tools/nawk-20071023/
Dtran.c281 Awkfloat setfval(Cell *vp, Awkfloat f) /* set float val of a Cell */ in setfval() argument
285 if ((vp->tval & (NUM | STR)) == 0) in setfval()
286 funnyvar(vp, "assign to"); in setfval()
287 if (isfld(vp)) { in setfval()
289 fldno = atoi(vp->nval); in setfval()
293 } else if (isrec(vp)) { in setfval()
297 if (freeable(vp)) in setfval()
298 xfree(vp->sval); /* free any previous string */ in setfval()
299 vp->tval &= ~STR; /* mark string invalid */ in setfval()
300 vp->tval |= NUM; /* mark number ok */ in setfval()
[all …]
Drun.c1434 Cell *x, *vp, *arrayp, *cp, *ncp; in instat() local
1438 vp = execute(a[0]); in instat()
1447 setsval(vp, cp->nval); in instat()
1451 tempfree(vp); in instat()
1455 tempfree(vp); in instat()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.c.headers/
Dstring_h.pass.cpp22 void* vp = 0; in main() local
26 static_assert((std::is_same<decltype(memcpy(vp, vpc, s)), void*>::value), ""); in main()
27 static_assert((std::is_same<decltype(memmove(vp, vpc, s)), void*>::value), ""); in main()
37 static_assert((std::is_same<decltype(memchr(vp, 0, s)), void*>::value), ""); in main()
45 static_assert((std::is_same<decltype(memset(vp, 0, s)), void*>::value), ""); in main()
/ndk/tests/device/test-stlport_shared-exception/jni/
Ddelete1.cpp12 void operator delete[] (void *vp) { ::operator delete(vp); } in operator delete[]()
Ddyncast2_1.cpp19 void *vp = &dynamic_cast<D&>(*b); in main() local
/ndk/tests/device/test-stlport_static-exception/jni/
Ddelete1.cpp12 void operator delete[] (void *vp) { ::operator delete(vp); } in operator delete[]()
Ddyncast2_1.cpp19 void *vp = &dynamic_cast<D&>(*b); in main() local
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/c.strings/
Dcstring.pass.cpp22 void* vp = 0; in main() local
26 static_assert((std::is_same<decltype(std::memcpy(vp, vpc, s)), void*>::value), ""); in main()
27 static_assert((std::is_same<decltype(std::memmove(vp, vpc, s)), void*>::value), ""); in main()
38 static_assert((std::is_same<decltype(std::memchr(vp, 0, s)), void*>::value), ""); in main()
50 static_assert((std::is_same<decltype(std::memset(vp, 0, s)), void*>::value), ""); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.dynamic/new.delete/new.delete.single/
Dnew_nothrow.pass.cpp38 void* vp = operator new (std::numeric_limits<std::size_t>::max(), std::nothrow); in main() local
40 assert(vp == 0); in main()
Dnew.pass.cpp38 void* vp = operator new (std::numeric_limits<std::size_t>::max()); in main() local
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.dynamic/new.delete/new.delete.array/
Dnew_array_nothrow.pass.cpp38 void*volatile vp = operator new [] (std::numeric_limits<std::size_t>::max(), std::nothrow); in main() local
40 assert(vp == 0); in main()
Dnew_array.pass.cpp38 void*volatile vp = operator new[] (std::numeric_limits<std::size_t>::max()); in main() local
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_hash_fun.h134 __vp vp;
135 vp.p = __x;
136 return vp.s;
/ndk/sources/host-tools/make-3.81/
Dvariable.c292 struct variable **vp = (struct variable **) global_variable_set.table.ht_vec; in handle_special_var() local
293 struct variable **end = &vp[global_variable_set.table.ht_size]; in handle_special_var()
301 for (; vp < end; ++vp) in handle_special_var()
302 if (!HASH_VACANT (*vp)) in handle_special_var()
304 struct variable *v = *vp; in handle_special_var()
1339 struct variable *vp; in try_variable_definition() local
1349 vp = do_variable_definition (flocp, v.name, v.value, in try_variable_definition()
1354 return vp; in try_variable_definition()