Searched refs:np (Results 1 - 25 of 133) sorted by relevance

123456

/external/valgrind/none/tests/linux/
H A Dmremap.c31 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
[all...]
H A Dmremap6.c24 void *np, *p; local
27 np = mremap(p, 1024*1024, 2048*1024, MREMAP_MAYMOVE); /* grow, maymove */
28 assert(np != (void *)-1);
/external/clang/test/Analysis/
H A Dnullptr.cpp5 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
[all...]
/external/libcxx/test/std/localization/locale.categories/facet.numpunct/locale.numpunct/facet.numpunct.members/
H A Ddecimal_point.pass.cpp24 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'.');
H A Dgrouping.pass.cpp24 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());
H A Dthousands_sep.pass.cpp24 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',');
H A Dfalsename.pass.cpp24 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"));
H A Dtruename.pass.cpp24 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"));
/external/libcxx/test/std/localization/locale.categories/facet.numpunct/locale.numpunct.byname/
H A Ddecimal_point.pass.cpp30 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local
31 assert(np.decimal_point() == '.');
35 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local
36 assert(np.decimal_point() == L'.');
43 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local
44 assert(np.decimal_point() == '.');
48 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local
49 assert(np.decimal_point() == L'.');
56 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local
57 assert(np
61 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local
[all...]
H A Dgrouping.pass.cpp33 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local
34 assert(np.grouping() == "");
38 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local
39 assert(np.grouping() == "");
46 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local
47 assert(np.grouping() == "\3\3");
51 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local
52 assert(np.grouping() == "\3\3");
59 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local
60 assert(np
64 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local
[all...]
H A Dthousands_sep.pass.cpp33 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local
34 assert(np.thousands_sep() == ',');
38 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local
39 assert(np.thousands_sep() == L',');
46 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local
47 assert(np.thousands_sep() == ',');
51 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local
52 assert(np.thousands_sep() == L',');
59 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local
60 assert(np
64 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); local
[all...]
/external/toybox/lib/
H A Dportability.c21 ssize_t getdelim(char **linep, size_t *np, int delim, FILE *stream) argument
29 if (!linep || !np) {
34 if (*linep == NULL || *np == 0) {
35 *np = 1024;
36 *linep = calloc(1, *np);
42 if (i > *np) {
44 new_len = *np + 1024;
47 *np = new_len;
56 if (i > *np) {
61 *np
69 getline(char **linep, size_t *np, FILE *stream) argument
[all...]
/external/libcxx/test/std/localization/locale.stdcvt/
H A Dcodecvt_utf8_utf16_in.pass.cpp37 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 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...]
H A Dcodecvt_utf16_in.pass.cpp37 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 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...]
H A Dcodecvt_utf8_in.pass.cpp37 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 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...]
H A Dcodecvt_utf16_unshift.pass.cpp34 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);
H A Dcodecvt_utf8_unshift.pass.cpp34 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);
H A Dcodecvt_utf8_utf16_unshift.pass.cpp34 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);
H A Dcodecvt_utf16_out.pass.cpp37 char* np = nullptr; local
38 std::codecvt_base::result r = c.out(m, &w, &w+1, wp, n, n+4, np);
41 assert(np == n+4);
48 r = c.out(m, &w, &w+1, wp, n, n+4, np);
51 assert(np == n+2);
58 r = c.out(m, &w, &w+1, wp, n, n+4, np);
61 assert(np == n+2);
68 r = c.out(m, &w, &w+1, wp, n, n+4, np);
71 assert(np == n+2);
84 char* np local
131 char* np = nullptr; local
187 char* np = nullptr; local
234 char* np = nullptr; local
283 char* np = nullptr; local
[all...]
H A Dcodecvt_utf8_utf16_out.pass.cpp37 char* np = nullptr; local
38 std::codecvt_base::result r = c.out(m, w, w+2, wp, n, n+4, np);
41 assert(np == n+4);
48 r = c.out(m, w, w+1, wp, n, n+4, np);
51 assert(np == n+3);
57 r = c.out(m, w, w+1, wp, n, n+4, np);
60 assert(np == n+2);
65 r = c.out(m, w, w+1, wp, n, n+4, np);
68 assert(np == n+1);
78 char* np local
112 char* np = nullptr; local
165 char* np = nullptr; local
206 char* np = nullptr; local
240 char* np = nullptr; local
294 char* np = nullptr; local
335 char* np = nullptr; local
369 char* np = nullptr; local
[all...]
/external/openssh/openbsd-compat/
H A Dsetenv.c60 const char *np; local
66 for (np = name, i = len; i && *cp; i--)
67 if (*cp++ != *np++)
135 const char *np; local
138 for (np = name; *np && *np != '='; ++np)
141 if (*np) {
148 if ((C = __findenv(name, (int)(np
201 const char *np; local
[all...]
/external/tcpdump/
H A Dnameser.h240 #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)
[all...]
/external/clang/test/CXX/temp/temp.arg/temp.arg.nontype/
H A Dp1-11.cpp15 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;
63 NP<np> np2;
/external/aac/libAACenc/src/
H A Dnoisedet.h105 NOISEPARAMS *np,
/external/clang/test/CodeGenCXX/
H A Dpod-member-memcpys.cpp22 NonPOD np; member in struct:Basic
29 NonPOD np; member in struct:PODMember
36 NonPOD np; member in struct:PODLikeMember
43 NonPOD np; member in struct:ArrayMember
51 NonPOD np; member in struct:VolatileMember
57 NonPOD np; member in struct:BitfieldMember
67 NonPOD np; member in struct:BitfieldMember2
82 NonPOD np; member in struct:InnerClassMember
91 NonPOD np; member in struct:ReferenceMember
98 NonPOD np; member in struct:PackedMembers
[all...]

Completed in 1028 milliseconds

123456