/external/valgrind/main/none/tests/linux/ |
mremap.c | 31 char *np; local 35 np = mremap(p, 1024*1024, 256*1024, 0); /* shrink, fixed */ 36 if (np == (char *)-1) 38 if (np != p) 39 fprintf(stderr, "shrink, nomove: p=%p np=%p: shrink moved?!\n", 40 p, np); 41 if (np != (char *)-1) 42 munmap(np, 256*1024); 45 np = mremap(p, 1024*1024, 256*1024, MREMAP_MAYMOVE); /* shrink, maymove */ 46 if (np == (char *)-1 [all...] |
/ndk/tests/device/test-openmp/jni/ |
openmp.c | 7 int iam = 0, np = 1; local 12 #pragma omp parallel default(shared) private(iam, np) 15 np = omp_get_num_threads(); 18 printf("Hello from thread %d out of %d\n", iam, np);
|
/external/clang/test/Analysis/ |
nullptr.cpp | 5 char *np = nullptr; local 6 *np = 0; // expected-warning{{Dereference of null pointer}} 24 char *np = nullptr; local 26 int *ip = &(((struct foo *)np)->f); 29 // *np = 0; 34 char *np = nullptr; local 35 if (np != 0) 36 *np = 0; // no-warning 38 if (np != cp) 39 *np = 0; // no-warnin [all...] |
/bionic/libc/stdlib/ |
getenv.c | 50 const char *np; local 55 for (np = name; *np && *np != '='; ++np) 57 len = np - name; 59 for (np = name, i = len; i && *cp; i--) 60 if (*cp++ != *np++)
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/facet.numpunct/locale.numpunct/facet.numpunct.members/ |
decimal_point.pass.cpp | 24 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local 25 assert(np.decimal_point() == '.'); 29 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local 30 assert(np.decimal_point() == L'.');
|
thousands_sep.pass.cpp | 24 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local 25 assert(np.thousands_sep() == ','); 29 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local 30 assert(np.thousands_sep() == L',');
|
falsename.pass.cpp | 24 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local 25 assert(np.falsename() == std::string("false")); 29 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local 30 assert(np.falsename() == std::wstring(L"false"));
|
grouping.pass.cpp | 24 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local 25 assert(np.grouping() == std::string()); 29 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local 30 assert(np.grouping() == std::string());
|
truename.pass.cpp | 24 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local 25 assert(np.truename() == std::string("true")); 29 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local 30 assert(np.truename() == std::wstring(L"true"));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/facet.numpunct/locale.numpunct.byname/ |
decimal_point.pass.cpp | 27 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local 28 assert(np.decimal_point() == '.'); 32 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local 33 assert(np.decimal_point() == L'.'); 40 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local 41 assert(np.decimal_point() == '.'); 45 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local 46 assert(np.decimal_point() == L'.'); 53 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local 54 assert(np.decimal_point() == ',') 58 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local [all...] |
grouping.pass.cpp | 27 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local 28 assert(np.grouping() == ""); 32 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local 33 assert(np.grouping() == ""); 40 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local 41 assert(np.grouping() == "\3\3"); 45 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local 46 assert(np.grouping() == "\3\3"); 53 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local 54 assert(np.grouping() == "\x7F") 58 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local [all...] |
thousands_sep.pass.cpp | 27 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local 28 assert(np.thousands_sep() == ','); 32 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local 33 assert(np.thousands_sep() == L','); 40 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local 41 assert(np.thousands_sep() == ','); 45 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local 46 assert(np.thousands_sep() == L','); 53 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local 54 assert(np.thousands_sep() == ',') 58 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local [all...] |
/cts/suite/audio_quality/test_description/conf/ |
check_conf.py | 18 import numpy as np namespace 25 a = np.array([1,2,3])
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.stdcvt/ |
codecvt_utf8_utf16_in.pass.cpp | 37 const char* np = nullptr; local 38 std::codecvt_base::result r = c.in(m, n, n+4, np, w, w+2, wp); 41 assert(np == n+4); 48 r = c.in(m, n, n+3, np, w, w+2, wp); 51 assert(np == n+3); 56 r = c.in(m, n, n+2, np, w, w+2, wp); 59 assert(np == n+2); 63 r = c.in(m, n, n+1, np, w, w+2, wp); 66 assert(np == n+1); 76 const char* np = nullptr local 112 const char* np = nullptr; local 151 const char* np = nullptr; local 190 const char* np = nullptr; local 226 const char* np = nullptr; local 265 const char* np = nullptr; local 304 const char* np = nullptr; local 340 const char* np = nullptr; local [all...] |
codecvt_utf16_in.pass.cpp | 37 const char* np = nullptr; local 38 std::codecvt_base::result r = c.in(m, n, n+4, np, &w, &w+1, wp); 41 assert(np == n+4); 46 r = c.in(m, n, n+2, np, &w, &w+1, wp); 49 assert(np == n+2); 54 r = c.in(m, n, n+2, np, &w, &w+1, wp); 57 assert(np == n+2); 63 r = c.in(m, n, n+2, np, &w, &w+1, wp); 66 assert(np == n+2); 76 const char* np = nullptr local 115 const char* np = nullptr; local 154 const char* np = nullptr; local 193 const char* np = nullptr; local 234 const char* np = nullptr; local 273 const char* np = nullptr; local 312 const char* np = nullptr; local 351 const char* np = nullptr; local 390 const char* np = nullptr; local 429 const char* np = nullptr; local 470 const char* np = nullptr; local 510 const char* np = nullptr; local 549 const char* np = nullptr; local 588 const char* np = nullptr; local 627 const char* np = nullptr; local 666 const char* np = nullptr; local 707 const char* np = nullptr; local [all...] |
codecvt_utf8_in.pass.cpp | 37 const char* np = nullptr; local 38 std::codecvt_base::result r = c.in(m, n, n+4, np, &w, &w+1, wp); 41 assert(np == n+4); 47 r = c.in(m, n, n+3, np, &w, &w+1, wp); 50 assert(np == n+3); 55 r = c.in(m, n, n+2, np, &w, &w+1, wp); 58 assert(np == n+2); 63 r = c.in(m, n, n+1, np, &w, &w+1, wp); 66 assert(np == n+1); 76 const char* np = nullptr local 115 const char* np = nullptr; local 157 const char* np = nullptr; local 196 const char* np = nullptr; local 235 const char* np = nullptr; local 277 const char* np = nullptr; local 307 const char* np = nullptr; local 337 const char* np = nullptr; local [all...] |
codecvt_utf16_unshift.pass.cpp | 34 char* np = nullptr; local 35 std::codecvt_base::result r = c.unshift(m, n, n+4, np); 43 char* np = nullptr; local 44 std::codecvt_base::result r = c.unshift(m, n, n+4, np); 52 char* np = nullptr; local 53 std::codecvt_base::result r = c.unshift(m, n, n+4, np);
|
codecvt_utf8_unshift.pass.cpp | 34 char* np = nullptr; local 35 std::codecvt_base::result r = c.unshift(m, n, n+4, np); 43 char* np = nullptr; local 44 std::codecvt_base::result r = c.unshift(m, n, n+4, np); 52 char* np = nullptr; local 53 std::codecvt_base::result r = c.unshift(m, n, n+4, np);
|
codecvt_utf8_utf16_unshift.pass.cpp | 34 char* np = nullptr; local 35 std::codecvt_base::result r = c.unshift(m, n, n+4, np); 43 char* np = nullptr; local 44 std::codecvt_base::result r = c.unshift(m, n, n+4, np); 52 char* np = nullptr; local 53 std::codecvt_base::result r = c.unshift(m, n, n+4, np);
|
/external/tcpdump/ |
nameser.h | 240 #define DNS_QR(np) ((np)->flags1 & 0x80) /* response flag */ 241 #define DNS_OPCODE(np) ((((np)->flags1) >> 3) & 0xF) /* purpose of message */ 242 #define DNS_AA(np) ((np)->flags1 & 0x04) /* authoritative answer */ 243 #define DNS_TC(np) ((np)->flags1 & 0x02) /* truncated message */ 244 #define DNS_RD(np) ((np)->flags1 & 0x01) /* recursion desired * [all...] |
/external/clang/test/CXX/temp/temp.arg/temp.arg.nontype/ |
p1-11.cpp | 15 constexpr std::nullptr_t np = nullptr; variable 26 IP<np> ip5; 44 PM<np> pm5; 55 PMF<np> pmf5; 58 template<std::nullptr_t np> struct NP { // expected-note 2{{template parameter is declared here}} 59 NP<np> *np2; 62 NP<nullptr> np1; 63 NP<np> np2 [all...] |
/external/aac/libAACenc/src/ |
noisedet.h | 105 NOISEPARAMS *np,
|
/external/openssh/openbsd-compat/ |
setenv.c | 54 const char *np; local 59 for (np = name; *np && *np != '='; ++np) 61 len = np - name; 63 for (np = name, i = len; i && *cp; i--) 64 if (*cp++ != *np++)
|
/external/chromium/webkit/glue/ |
cpp_variant_unittest.cc | 17 void MakeStdString(const NPVariant& np, std::string* std_string) { 18 if (np.type == NPVariantType_String) { 20 reinterpret_cast<const char*>(np.value.stringValue.UTF8Characters); 21 (*std_string).assign(chars, np.value.stringValue.UTF8Length); 177 NPVariant np; local 181 cpp.CopyToNPVariant(&np); 182 EXPECT_EQ(cpp.type, np.type); 183 EXPECT_EQ(cpp.value.boolValue, np.value.boolValue); 184 WebBindings::releaseVariantValue(&np); 187 cpp.CopyToNPVariant(&np); 218 NPVariant np; local [all...] |
/external/chromium_org/webkit/renderer/ |
cpp_variant_unittest.cc | 19 void MakeStdString(const NPVariant& np, std::string* std_string) { 20 if (np.type == NPVariantType_String) { 22 reinterpret_cast<const char*>(np.value.stringValue.UTF8Characters); 23 (*std_string).assign(chars, np.value.stringValue.UTF8Length); 198 NPVariant np; local 202 cpp.CopyToNPVariant(&np); 203 EXPECT_EQ(cpp.type, np.type); 204 EXPECT_EQ(cpp.value.boolValue, np.value.boolValue); 205 WebBindings::releaseVariantValue(&np); 208 cpp.CopyToNPVariant(&np); 239 NPVariant np; local [all...] |