Home
last modified time | relevance | path

Searched refs:nr (Results 1 – 25 of 54) sorted by relevance

123

/reactos/base/applications/cmdutils/sort/
H A Dsort.c93 int i, nr; in main() local
141 for (nr = 0; nr < MAXRECORDS; nr++) in main()
153 list[nr] = (char *) malloc(strlen(temp) + 1); in main()
154 if (list[nr] == NULL) in main()
159 for (i = 0; i < nr; i++) in main()
167 strcpy(list[nr], temp); in main()
170 if (nr == MAXRECORDS) in main()
175 for (i = 0; i < nr; i++) in main()
185 qsort((void *)list, nr, sizeof(char *), cmpr); in main()
187 for (i = 0; i < nr; i++) in main()
[all …]
/reactos/modules/rostests/tests/thread/
H A Dthread.c7 ULONG nr; variable
14 s = nr = ((nr * 1103515245) + 12345) & 0x7fffffff; in thread_main1()
38 ULONG nr; in main() local
49 nr = 500; in main()
50 printf("Seed %ld\n", nr); in main()
/reactos/sdk/lib/3rdparty/libxml2/
H A Dxinclude.c1516 ctxt->incTab[nr]->doc = doc; in xmlXIncludeLoadDoc()
1529 ctxt->incTab[nr]->count++; in xmlXIncludeLoadDoc()
1680 ctxt->incTab[nr]->inc = in xmlXIncludeLoadDoc()
1753 ctxt->incTab[nr]->ref, in xmlXIncludeLoadDoc()
1772 if ((nr < ctxt->incNr) && (ctxt->incTab[nr]->doc != NULL) && in xmlXIncludeLoadDoc()
1778 ctxt->incTab[nr]->doc = NULL; in xmlXIncludeLoadDoc()
1859 if ((ctxt->incTab[nr] != NULL) && (ctxt->incTab[nr]->ref != NULL)) { in xmlXIncludeLoadTxt()
2049 if ((nr < 0) || (nr >= ctxt->incNr)) in xmlXIncludeLoadNode()
2051 cur = ctxt->incTab[nr]->ref; in xmlXIncludeLoadNode()
2198 if ((nr < 0) || (nr >= ctxt->incNr)) in xmlXIncludeIncludeNode()
[all …]
/reactos/drivers/filesystems/ext2/inc/linux/
H A Dbitops.h8 #define BIT(nr) (1 << (nr)) argument
9 #define BIT_MASK(nr) (1 << ((nr) % BITS_PER_LONG)) argument
10 #define BIT_WORD(nr) ((nr) / BITS_PER_LONG) argument
11 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_LONG) argument
H A Dmodule.h340 static inline int set_bit(int nr, volatile unsigned long *addr) in set_bit() argument
342 addr += (nr >> ORDER_PER_LONG); in set_bit()
343 nr &= (BITS_PER_LONG - 1); in set_bit()
345 return !!(InterlockedOr(addr, (1 << nr)) & (1 << nr)); in set_bit()
361 addr += (nr >> ORDER_PER_LONG); in clear_bit()
362 nr &= (BITS_PER_LONG - 1); in clear_bit()
364 return !!(InterlockedAnd(addr, ~(1 << nr)) & (1 << nr)); in clear_bit()
377 return clear_bit(nr, addr); in test_and_clear_bit()
385 return !!((1 << (nr & (BITS_PER_LONG - 1))) & in test_bit()
386 (addr[nr >> ORDER_PER_LONG])); in test_bit()
[all …]
/reactos/sdk/lib/rossym/
H A Ddwarfcfa.c38 int nr; member
54 initr = mallocz(nr*sizeof(initr[0]), 1); in dwarfunwind()
63 s.nr = nr; in dwarfunwind()
70 memset(r, 0, nr*sizeof(r[0])); in dwarfunwind()
71 for(i=0; i<nr; i++) in dwarfunwind()
79 memmove(initr, r, nr*sizeof(initr[0])); in dwarfunwind()
155 if(s->rareg > s->nr){ in findfde()
157 s->rareg, s->nr); in findfde()
181 if(r < 0 || r >= s->nr){ in checkreg()
299 e = malloc(s->nr*sizeof(e[0])); in dexec()
[all …]
/reactos/sdk/lib/rossym_new/
H A Ddwarfcfa.c33 int nr; member
49 initr = mallocz(nr*sizeof(initr[0]), 1); in dwarfunwind()
58 s.nr = nr; in dwarfunwind()
65 memset(r, 0, nr*sizeof(r[0])); in dwarfunwind()
66 for(i=0; i<nr; i++) in dwarfunwind()
151 if(s->rareg > s->nr){ in findfde()
153 s->rareg, s->nr); in findfde()
178 if(r < 0 || r >= s->nr){ in checkreg()
297 e = malloc(s->nr*sizeof(e[0])); in dexec()
427 int nr = s.nr = sizeof(registers->Registers) / sizeof(registers->Registers[0]); in dwarfregunwind() local
[all …]
/reactos/modules/rosapps/applications/net/ncftp/sio/
H A DSReadline.c83 int nr; in SReadline() local
109 nr = SRead(srl->fd, srl->buf, srl->bufSizeMax, srl->timeoutLen, 0); in SReadline()
110 if (nr == 0) { in SReadline()
113 } else if (nr < 0) { in SReadline()
115 err = nr; in SReadline()
119 srl->bufLim = srl->buf + nr; in SReadline()
/reactos/dll/3rdparty/mbedtls/
H A Dpadlock.c121 *ctrl = 0x80 | ctx->nr | ( ( ctx->nr + ( mode^1 ) - 10 ) << 9 ); in mbedtls_padlock_xcryptecb()
168 *ctrl = 0x80 | ctx->nr | ( ( ctx->nr + ( mode ^ 1 ) - 10 ) << 9 ); in mbedtls_padlock_xcryptcbc()
H A Daesni.c161 : "r" (ctx->nr), "r" (ctx->rk), "r" (mode), "r" (input), "r" (output) in mbedtls_aesni_crypt_ecb()
284 const unsigned char *fwdkey, int nr ) in mbedtls_aesni_inverse_key() argument
287 const unsigned char *fk = fwdkey + 16 * nr; in mbedtls_aesni_inverse_key()
H A Dcamellia.c392 case 128: ctx->nr = 3; idx = 0; break; in mbedtls_camellia_setkey_enc()
394 case 256: ctx->nr = 4; idx = 1; break; in mbedtls_camellia_setkey_enc()
497 ctx->nr = cty.nr; in mbedtls_camellia_setkey_dec()
498 idx = ( ctx->nr == 4 ); in mbedtls_camellia_setkey_dec()
545 NR = ctx->nr; in mbedtls_camellia_crypt_ecb()
H A Dx509.c836 size_t i, n, nr; in mbedtls_x509_serial_gets() local
842 nr = ( serial->len <= 32 ) in mbedtls_x509_serial_gets()
845 for( i = 0; i < nr; i++ ) in mbedtls_x509_serial_gets()
847 if( i == 0 && nr > 1 && serial->p[i] == 0x0 ) in mbedtls_x509_serial_gets()
851 serial->p[i], ( i < nr - 1 ) ? ":" : "" ); in mbedtls_x509_serial_gets()
855 if( nr != serial->len ) in mbedtls_x509_serial_gets()
/reactos/sdk/lib/fslib/ext2lib/
H A DBitmap.c18 bool ext2_set_bit(int nr,void * addr) in ext2_set_bit() argument
23 ADDR += nr >> 3; in ext2_set_bit()
24 mask = 1 << (nr & 0x07); in ext2_set_bit()
30 bool ext2_clear_bit(int nr, void * addr) in ext2_clear_bit() argument
35 ADDR += nr >> 3; in ext2_clear_bit()
36 mask = 1 << (nr & 0x07); in ext2_clear_bit()
41 bool ext2_test_bit(int nr, void * addr) in ext2_test_bit() argument
46 ADDR += nr >> 3; in ext2_test_bit()
47 mask = 1 << (nr & 0x07); in ext2_test_bit()
H A DMke2fs.h220 bool ext2_set_bit(int nr, void * addr);
221 bool ext2_clear_bit(int nr, void * addr);
222 bool ext2_test_bit(int nr, void * addr);
/reactos/modules/rosapps/applications/sysutils/gettype/
H A Dgettype.c295 NETRESOURCE nr; in _tmain() local
301 nr.dwType = RESOURCETYPE_ANY; in _tmain()
302 nr.lpLocalName = NULL; in _tmain()
303 nr.lpProvider= NULL; in _tmain()
304 nr.lpRemoteName = RemoteResource; in _tmain()
307 …nStatus = WNetAddConnection2(&nr, UserName[0]?UserName:NULL,Password[0]?Password:NULL, CONNECT_INT… in _tmain()
/reactos/dll/win32/avifil32/
H A Deditstream.c166 static HRESULT AVIFILE_RemoveStream(IAVIEditStreamImpl* const This, DWORD nr) in AVIFILE_RemoveStream() argument
169 assert(nr < This->nStreams); in AVIFILE_RemoveStream()
172 IAVIStream_Release(This->pStreams[nr].pStream); in AVIFILE_RemoveStream()
174 if (nr < This->nStreams) in AVIFILE_RemoveStream()
175 memmove(&This->pStreams[nr], &This->pStreams[nr + 1], in AVIFILE_RemoveStream()
176 (This->nStreams - nr) * sizeof(This->pStreams[0])); in AVIFILE_RemoveStream()
182 if (0 < nr && 0 < This->nStreams && in AVIFILE_RemoveStream()
183 This->pStreams[nr - 1].pStream == This->pStreams[nr].pStream) { in AVIFILE_RemoveStream()
184 if (EditStreamEnd(This, nr - 1) == This->pStreams[nr].dwStart) { in AVIFILE_RemoveStream()
185 This->pStreams[nr - 1].dwLength += This->pStreams[nr].dwLength; in AVIFILE_RemoveStream()
[all …]
/reactos/drivers/network/tcpip/include/
H A Dlinux.h1790 #define FDS_LONGS(nr) (((nr)+FDS_BITPERLONG-1)/FDS_BITPERLONG) argument
1791 #define FDS_BYTES(nr) (FDS_LONGS(nr)*sizeof(long)) argument
1800 int get_fd_set(unsigned long nr, void *ufdset, unsigned long *fdset) in get_fd_set() argument
1803 nr = FDS_BYTES(nr); in get_fd_set()
1806 error = verify_area(VERIFY_WRITE, ufdset, nr); in get_fd_set()
1807 if (!error && __copy_from_user(fdset, ufdset, nr)) in get_fd_set()
1811 memset(fdset, 0, nr); in get_fd_set()
1819 void set_fd_set(unsigned long nr, void *ufdset, unsigned long *fdset) in set_fd_set() argument
1823 __copy_to_user(ufdset, fdset, FDS_BYTES(nr)); in set_fd_set()
1828 void zero_fd_set(unsigned long nr, unsigned long *fdset) in zero_fd_set() argument
[all …]
/reactos/drivers/network/tcpip/lwip/src/netif/ppp/
H A Dpppol2tp.c81 …pol2tp_dispatch_control_packet(pppol2tp_pcb *l2tp, u16_t port, struct pbuf *p, u16_t ns, u16_t nr);
88 static err_t pppol2tp_send_zlb(pppol2tp_pcb *l2tp, u16_t ns, u16_t nr);
350 u16_t hflags, hlen, len=0, tunnel_id=0, session_id=0, ns=0, nr=0, offset=0; in pppol2tp_input() local
403 hlen += sizeof(ns) + sizeof(nr); in pppol2tp_input()
422 GETSHORT(nr, inp); in pppol2tp_input()
446 p->tot_len, tunnel_id, session_id, ns, nr)); in pppol2tp_input()
450 pppol2tp_dispatch_control_packet(l2tp, port, p, ns, nr); in pppol2tp_input()
522 pppol2tp_send_zlb(l2tp, nr, ns+1); in pppol2tp_dispatch_control_packet()
527 l2tp->peer_nr = nr; in pppol2tp_dispatch_control_packet()
1065 static err_t pppol2tp_send_zlb(pppol2tp_pcb *l2tp, u16_t ns, u16_t nr) { in pppol2tp_send_zlb() argument
[all …]
/reactos/dll/win32/themeui/lang/
H A Dpl-PL.rc8 IDS_HCONTRAST_1 "Duży kontrast nr 1"
9 IDS_HCONTRAST_2 "Duży kontrast nr 2"
/reactos/dll/win32/kernel32/winnls/string/
H A Dformat_msg.c149 static ULONG_PTR get_arg( int nr, DWORD flags, struct format_args *args ) in get_arg() argument
151 if (nr == -1) nr = args->last + 1; in get_arg()
155 while (nr > args->last) in get_arg()
158 if (nr > args->last) args->last = nr; in get_arg()
159 return args->args[nr - 1]; in get_arg()
/reactos/modules/rosapps/applications/devutils/vgafontedit/lang/
H A Dpl-PL.rc77 IDS_OPENERROR, "Błąd poczas otwierania pliku! (Błąd nr. %1!u!)"
78 IDS_READERROR, "Błąd poczas wczytywania pliku! (Błąd nr. %1!u!)"
79 IDS_WRITEERROR, "Błąd podczas zapisu do pliku! (Błąd nr. %1!u!)"
/reactos/modules/rosapps/applications/net/ncftp/libncftp/
H A Drcmd.c985 int nr; in BufferGets() local
1000 nr = (int) read(inStream, secondaryBuf, secBufSize); in BufferGets()
1001 if (nr == 0) { in BufferGets()
1005 } else if (nr < 0) { in BufferGets()
1011 (*secBufLimit) = secondaryBuf + nr; in BufferGets()
1013 if (nr < (int) secBufSize) in BufferGets()
1014 src[nr] = '\0'; in BufferGets()
/reactos/sdk/include/reactos/libs/libxslt/
H A DxsltInternals.h241 #define XSLT_RUNTIME_EXTRA_LST(ctxt, nr) (ctxt)->extras[(nr)].info argument
249 #define XSLT_RUNTIME_EXTRA_FREE(ctxt, nr) (ctxt)->extras[(nr)].deallocate argument
257 #define XSLT_RUNTIME_EXTRA(ctxt, nr, typ) (ctxt)->extras[(nr)].val.typ argument
/reactos/drivers/filesystems/ext2/src/jbd/
H A Drecovery.c186 int nr = 0; in count_tags() local
193 nr++; in count_tags()
202 return nr; in count_tags()
/reactos/sdk/include/reactos/libs/mbedtls/
H A Daesni.h139 int nr );

123