Home
last modified time | relevance | path

Searched refs:np (Results 1 – 25 of 297) sorted by relevance

12345678910>>...12

/external/syslinux/gpxe/src/drivers/net/
Dnatsemi.c106 struct natsemi_private *np = container_of ( basher, struct natsemi_private, in natsemi_spi_read_bit() local
111 eereg = inb ( np->ioaddr + EE_REG ); in natsemi_spi_read_bit()
117 struct natsemi_private *np = container_of ( basher, struct natsemi_private, in natsemi_spi_write_bit() local
122 eereg = inb ( np->ioaddr + EE_REG ); in natsemi_spi_write_bit()
125 outb ( eereg, np->ioaddr + EE_REG ); in natsemi_spi_write_bit()
147 static void natsemi_init_eeprom ( struct natsemi_private *np ) { in natsemi_init_eeprom() argument
151 np->spibit.basher.op = &natsemi_basher_ops; in natsemi_init_eeprom()
152 np->spibit.bus.mode = SPI_MODE_THREEWIRE; in natsemi_init_eeprom()
153 np->spibit.endianness = SPI_BIT_LITTLE_ENDIAN; in natsemi_init_eeprom()
154 init_spi_bit_basher ( &np->spibit ); in natsemi_init_eeprom()
[all …]
Dforcedeth.c428 static struct forcedeth_private *np; variable
517 miicontrol = mii_rw(nic, np->phyaddr, MII_BMCR, MII_READ); in phy_reset()
519 if (mii_rw(nic, np->phyaddr, MII_BMCR, miicontrol)) { in phy_reset()
529 miicontrol = mii_rw(nic, np->phyaddr, MII_BMCR, MII_READ); in phy_reset()
544 reg = mii_rw(nic, np->phyaddr, MII_ADVERTISE, MII_READ); in phy_init()
548 if (mii_rw(nic, np->phyaddr, MII_ADVERTISE, reg)) { in phy_init()
557 mii_status = mii_rw(nic, np->phyaddr, MII_BMSR, MII_READ); in phy_init()
560 np->gigabit = PHY_GIGABIT; in phy_init()
562 mii_rw(nic, np->phyaddr, MII_CTRL1000, MII_READ); in phy_init()
570 (nic, np->phyaddr, MII_CTRL1000, mii_control_1000)) { in phy_init()
[all …]
/external/valgrind/none/tests/linux/
Dmremap.c31 char *np; in main() local
35 np = mremap(p, 1024*1024, 256*1024, 0); /* shrink, fixed */ in main()
36 if (np == (char *)-1) in main()
38 if (np != p) in main()
40 p, np); in main()
41 if (np != (char *)-1) in main()
42 munmap(np, 256*1024); in main()
45 np = mremap(p, 1024*1024, 256*1024, MREMAP_MAYMOVE); /* shrink, maymove */ in main()
46 if (np == (char *)-1) in main()
48 if (np != p) in main()
[all …]
/external/libcxx/test/std/localization/locale.stdcvt/
Dcodecvt_utf16_in.pass.cpp37 const char* np = nullptr; in main() local
38 std::codecvt_base::result r = c.in(m, n, n+4, np, &w, &w+1, wp); in main()
41 assert(np == n+4); in main()
46 r = c.in(m, n, n+2, np, &w, &w+1, wp); in main()
49 assert(np == n+2); in main()
54 r = c.in(m, n, n+2, np, &w, &w+1, wp); in main()
57 assert(np == n+2); in main()
63 r = c.in(m, n, n+2, np, &w, &w+1, wp); in main()
66 assert(np == n+2); in main()
76 const char* np = nullptr; in main() local
[all …]
Dcodecvt_utf8_utf16_out.pass.cpp37 char* np = nullptr; in main() local
38 std::codecvt_base::result r = c.out(m, w, w+2, wp, n, n+4, np); in main()
41 assert(np == n+4); in main()
48 r = c.out(m, w, w+1, wp, n, n+4, np); in main()
51 assert(np == n+3); in main()
57 r = c.out(m, w, w+1, wp, n, n+4, np); in main()
60 assert(np == n+2); in main()
65 r = c.out(m, w, w+1, wp, n, n+4, np); in main()
68 assert(np == n+1); in main()
78 char* np = nullptr; in main() local
[all …]
Dcodecvt_utf8_utf16_in.pass.cpp37 const char* np = nullptr; in main() local
38 std::codecvt_base::result r = c.in(m, n, n+4, np, w, w+2, wp); in main()
41 assert(np == n+4); in main()
48 r = c.in(m, n, n+3, np, w, w+2, wp); in main()
51 assert(np == n+3); in main()
56 r = c.in(m, n, n+2, np, w, w+2, wp); in main()
59 assert(np == n+2); in main()
63 r = c.in(m, n, n+1, np, w, w+2, wp); in main()
66 assert(np == n+1); in main()
76 const char* np = nullptr; in main() local
[all …]
Dcodecvt_utf8_in.pass.cpp37 const char* np = nullptr; in main() local
38 std::codecvt_base::result r = c.in(m, n, n+4, np, &w, &w+1, wp); in main()
41 assert(np == n+4); in main()
47 r = c.in(m, n, n+3, np, &w, &w+1, wp); in main()
50 assert(np == n+3); in main()
55 r = c.in(m, n, n+2, np, &w, &w+1, wp); in main()
58 assert(np == n+2); in main()
63 r = c.in(m, n, n+1, np, &w, &w+1, wp); in main()
66 assert(np == n+1); in main()
76 const char* np = nullptr; in main() local
[all …]
Dcodecvt_utf8_out.pass.cpp37 char* np = nullptr; in main() local
38 std::codecvt_base::result r = c.out(m, &w, &w+1, wp, n, n+4, np); in main()
41 assert(np == n+4); in main()
48 r = c.out(m, &w, &w+1, wp, n, n+4, np); in main()
51 assert(np == n+3); in main()
58 r = c.out(m, &w, &w+1, wp, n, n+4, np); in main()
61 assert(np == n+2); in main()
68 r = c.out(m, &w, &w+1, wp, n, n+4, np); in main()
71 assert(np == n+1); in main()
84 char* np = nullptr; in main() local
[all …]
Dcodecvt_utf16_out.pass.cpp37 char* np = nullptr; in main() local
38 std::codecvt_base::result r = c.out(m, &w, &w+1, wp, n, n+4, np); in main()
41 assert(np == n+4); in main()
48 r = c.out(m, &w, &w+1, wp, n, n+4, np); in main()
51 assert(np == n+2); in main()
58 r = c.out(m, &w, &w+1, wp, n, n+4, np); in main()
61 assert(np == n+2); in main()
68 r = c.out(m, &w, &w+1, wp, n, n+4, np); in main()
71 assert(np == n+2); in main()
84 char* np = nullptr; in main() local
[all …]
/external/e2fsprogs/intl/
Dprintf-parse.c137 const CHAR_T *np; in PRINTF_PARSE() local
139 for (np = cp; *np >= '0' && *np <= '9'; np++) in PRINTF_PARSE()
141 if (*np == '$') in PRINTF_PARSE()
145 for (np = cp; *np >= '0' && *np <= '9'; np++) in PRINTF_PARSE()
146 n = xsum (xtimes (n, 10), *np - '0'); in PRINTF_PARSE()
154 cp = np + 1; in PRINTF_PARSE()
207 const CHAR_T *np; in PRINTF_PARSE() local
209 for (np = cp; *np >= '0' && *np <= '9'; np++) in PRINTF_PARSE()
211 if (*np == '$') in PRINTF_PARSE()
215 for (np = cp; *np >= '0' && *np <= '9'; np++) in PRINTF_PARSE()
[all …]
/external/openssh/openbsd-compat/
Dsetenv.c60 const char *np; in __findenv() local
66 for (np = name, i = len; i && *cp; i--) in __findenv()
67 if (*cp++ != *np++) in __findenv()
135 const char *np; in setenv() local
138 for (np = name; *np && *np != '='; ++np) in setenv()
141 if (*np) { in setenv()
148 if ((C = __findenv(name, (int)(np - name), &offset)) != NULL) { in setenv()
160 while (__findenv(name, (int)(np - name), &tmpoff)) { in setenv()
181 malloc((size_t)((int)(np - name) + l_value + 2)))) in setenv()
201 const char *np; in unsetenv() local
[all …]
/external/boringssl/src/crypto/fipsmodule/bn/asm/
Drsaz-avx2.pl97 my $np="%rdx"; # const BN_ULONG *np,
139 $np="%r13"; # reassigned argument
182 mov %rdx, $np # reassigned argument
184 mov $np, $tmp
187 sub \$-128, $np
189 and \$4095, $tmp # see if $np crosses page
196 # cause >2x performance degradation here, so if $np does
200 vmovdqu 32*0-128($np), $ACC0
202 vmovdqu 32*1-128($np), $ACC1
203 vmovdqu 32*2-128($np), $ACC2
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRMap.m98 -(void)deleteANTLRMap:(ANTLRMapElement *)np
199 ANTLRMapElement *np;
201 for( np = self->ptrBuffer[[self hash:s]]; np != nil; np = [np getfNext] ) {
202 if ( [s isEqualToString:[np getName]] ) {
203 return( np ); /* found it */
225 ANTLRMapElement *np;
227 np = [self lookup:[sym getName]];
228 if ( np == nil ) {
251 ANTLRMapElement *np, *tmp;
255 for ( tmp = self->ptrBuffer[idx], np = self->ptrBuffer[idx]; np != nil; np = [np getfNext] ) {
[all …]
DANTLRPtrStack.m53 -(void)deleteANTLRPtrStack:(ANTLRPtrStack *)np
109 ANTLRLinkBase *np;
111 for( np = ptrBuffer[[self hash:s]]; np != nil; np = [np getfNext] ) {
112 if ( [s isEqualToString:[np getName]] ) {
113 return( np ); /* found it */
135 ANTLRLinkBase *np;
137 np = [self lookup:[sym getName]];
138 if ( np == nil ) {
157 -(void)setptrBuffer:(id *)np
159 ptrBuffer = np;
[all …]
DANTLRHashMap.m147 -(void)deleteANTLRHashMap:(ANTLRMapElement *)np
271 ANTLRMapElement *np;
273 for( np = self->ptrBuffer[[self hash:s]]; np != nil; np = [np getfNext] ) {
274 if ( [s isEqualToString:[np getName]] ) {
275 return( np ); /* found it */
297 ANTLRMapElement *np;
299 np = [self lookup:[sym getName] Scope:scope ];
300 if ( np == nil ) {
323 ANTLRMapElement *np, *tmp;
327 for ( tmp = self->ptrBuffer[idx], np = self->ptrBuffer[idx]; np != nil; np = [np getfNext] ) {
[all …]
/external/bison/lib/
Dprintf-parse.c156 const CHAR_T *np; in PRINTF_PARSE() local
158 for (np = cp; *np >= '0' && *np <= '9'; np++) in PRINTF_PARSE()
160 if (*np == '$') in PRINTF_PARSE()
164 for (np = cp; *np >= '0' && *np <= '9'; np++) in PRINTF_PARSE()
165 n = xsum (xtimes (n, 10), *np - '0'); in PRINTF_PARSE()
173 cp = np + 1; in PRINTF_PARSE()
233 const CHAR_T *np; in PRINTF_PARSE() local
235 for (np = cp; *np >= '0' && *np <= '9'; np++) in PRINTF_PARSE()
237 if (*np == '$') in PRINTF_PARSE()
241 for (np = cp; *np >= '0' && *np <= '9'; np++) in PRINTF_PARSE()
[all …]
/external/tcpdump/
Dnameser.h225 #define DNS_QR(np) ((np)->flags1 & 0x80) /* response flag */ argument
226 #define DNS_OPCODE(np) ((((np)->flags1) >> 3) & 0xF) /* purpose of message */ argument
227 #define DNS_AA(np) ((np)->flags1 & 0x04) /* authoritative answer */ argument
228 #define DNS_TC(np) ((np)->flags1 & 0x02) /* truncated message */ argument
229 #define DNS_RD(np) ((np)->flags1 & 0x01) /* recursion desired */ argument
231 #define DNS_RA(np) ((np)->flags2 & 0x80) /* recursion available */ argument
232 #define DNS_AD(np) ((np)->flags2 & 0x20) /* authentic data from named */ argument
233 #define DNS_CD(np) ((np)->flags2 & 0x10) /* checking disabled by resolver */ argument
234 #define DNS_RCODE(np) ((np)->flags2 & 0xF) /* response code */ argument
/external/libcxx/test/std/localization/locale.categories/facet.numpunct/locale.numpunct.byname/
Dgrouping.pass.cpp31 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); in main() local
32 assert(np.grouping() == ""); in main()
36 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); in main() local
37 assert(np.grouping() == ""); in main()
44 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); in main() local
45 assert(np.grouping() == "\3\3"); in main()
49 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); in main() local
50 assert(np.grouping() == "\3\3"); in main()
62 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); in main() local
63 assert(np.grouping() == group); in main()
[all …]
Ddecimal_point.pass.cpp30 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); in main() local
31 assert(np.decimal_point() == '.'); in main()
35 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); in main() local
36 assert(np.decimal_point() == L'.'); in main()
43 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); in main() local
44 assert(np.decimal_point() == '.'); in main()
48 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); in main() local
49 assert(np.decimal_point() == L'.'); in main()
56 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); in main() local
57 assert(np.decimal_point() == ','); in main()
[all …]
Dthousands_sep.pass.cpp32 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); in main() local
33 assert(np.thousands_sep() == ','); in main()
37 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); in main() local
38 assert(np.thousands_sep() == L','); in main()
45 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); in main() local
46 assert(np.thousands_sep() == ','); in main()
50 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); in main() local
51 assert(np.thousands_sep() == L','); in main()
65 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); in main() local
66 assert(np.thousands_sep() == sep); in main()
[all …]
/external/toybox/lib/
Dportability.c34 ssize_t getdelim(char **linep, size_t *np, int delim, FILE *stream) in getdelim() argument
42 if (!linep || !np) { in getdelim()
47 if (*linep == NULL || *np == 0) { in getdelim()
48 *np = 1024; in getdelim()
49 *linep = calloc(1, *np); in getdelim()
55 if (i > *np) { in getdelim()
57 new_len = *np + 1024; in getdelim()
60 *np = new_len; in getdelim()
69 if (i > *np) { in getdelim()
74 *np = new_len; in getdelim()
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
DANTLRHashMap.m145 -(void)deleteANTLRHashMap:(ANTLRMapElement *)np
269 ANTLRMapElement *np;
271 for( np = self->ptrBuffer[[self hash:s]]; np != nil; np = [np getfNext] ) {
272 if ( [s isEqualToString:[np getName]] ) {
273 return( np ); /* found it */
295 ANTLRMapElement *np;
297 np = [self lookup:[sym getName] Scope:scope ];
298 if ( np == nil ) {
321 ANTLRMapElement *np, *tmp;
325 for ( tmp = self->ptrBuffer[idx], np = self->ptrBuffer[idx]; np != nil; np = [np getfNext] ) {
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
DANTLRHashMap.m145 -(void)deleteANTLRHashMap:(ANTLRMapElement *)np
269 ANTLRMapElement *np;
271 for( np = self->ptrBuffer[[self hash:s]]; np != nil; np = [np getfNext] ) {
272 if ( [s isEqualToString:[np getName]] ) {
273 return( np ); /* found it */
295 ANTLRMapElement *np;
297 np = [self lookup:[sym getName] Scope:scope ];
298 if ( np == nil ) {
321 ANTLRMapElement *np, *tmp;
325 for ( tmp = self->ptrBuffer[idx], np = self->ptrBuffer[idx]; np != nil; np = [np getfNext] ) {
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRHashMap.m145 -(void)deleteANTLRHashMap:(ANTLRMapElement *)np
269 ANTLRMapElement *np;
271 for( np = self->ptrBuffer[[self hash:s]]; np != nil; np = [np getfNext] ) {
272 if ( [s isEqualToString:[np getName]] ) {
273 return( np ); /* found it */
295 ANTLRMapElement *np;
297 np = [self lookup:[sym getName] Scope:scope ];
298 if ( np == nil ) {
321 ANTLRMapElement *np, *tmp;
325 for ( tmp = self->ptrBuffer[idx], np = self->ptrBuffer[idx]; np != nil; np = [np getfNext] ) {
[all …]
/external/fio/tools/hist/
Dfiologparser_hist.py19 import numpy as np namespace
36 idx = np.argsort(vs)
39 return np.interp(percs, cdf, vs) # linear interpolation
55 sbounds = np.maximum(start_ts, start).astype(float)
56 ebounds = np.minimum(end_ts, end).astype(float)
58 if np.any(np.isnan(ws)):
61 ws[np.where(np.isnan(ws))] = 0.0;
65 return np.sum(vs * ws) / np.sum(ws)
97 arr = np.append(times, hists, axis=1)
129 yield np.insert(arr[0], 1, fps.index(fp))
[all …]

12345678910>>...12