Searched refs:count (Results 76 - 100 of 2328) sorted by relevance

1234567891011>>

/haiku-fatelf/src/servers/net/
H A DSimpleMessageFilter.cpp34 int32 count = 0; local
35 while(what[count++] != 0)
37 fWhatArray = new uint32[count];
38 memcpy(fWhatArray, what, count * sizeof(uint32));
/haiku-fatelf/src/system/libroot/posix/glibc/libio/
H A Diofgets_u.c37 _IO_size_t count; local
48 count = INTUSE(_IO_getline) (fp, buf, n - 1, '\n', 1);
51 if (count == 0 || ((fp->_IO_file_flags & _IO_ERR_SEEN)
56 buf[count] = '\0';
H A Diofgetws_u.c37 _IO_size_t count; local
48 count = _IO_getwline (fp, buf, n - 1, L'\n', 1);
51 if (count == 0 || ((fp->_IO_file_flags & _IO_ERR_SEEN)
56 buf[count] = '\0';
H A Diofread.c31 _IO_fread (buf, size, count, fp)
34 _IO_size_t count;
37 _IO_size_t bytes_requested = size * count;
47 return bytes_requested == bytes_read ? count : bytes_read / size;
/haiku-fatelf/src/system/libroot/posix/stdio/
H A Dfwrite.c42 * Write `count' objects (each size `size') from memory to the given file.
46 fwrite(buf, size, count, fp)
48 size_t size, count;
56 uio.uio_resid = iov.iov_len = n = count * size;
66 return (count);
/haiku-fatelf/src/system/libroot/posix/string/
H A Dstrnlen.cpp17 strnlen(const char* string, size_t count) argument
22 if (length == count || string[length] == '\0')
27 const uint32* kMaxScanPosition = (uint32*)(string + count - 4);
34 for (length = ((char*)valuePointer) - string; length < count
/haiku-fatelf/src/system/libroot/posix/wchar/
H A Dmbsinit.c12 return ps == NULL || ps->count == 0;
H A Dwcsncasecmp.c12 __wcsncasecmp(const wchar_t* wcs1, const wchar_t* wcs2, size_t count) argument
16 while (count-- > 0) {
H A Dwcsncmp.c10 __wcsncmp(const wchar_t* wcs1, const wchar_t* wcs2, size_t count) argument
14 while (count-- > 0) {
H A Dwmemcmp.c10 __wmemcmp(const wchar_t* wcs1, const wchar_t* wcs2, size_t count) argument
12 while (count-- > 0) {
/haiku-fatelf/src/documentation/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/
H A DTable.java318 for (int count = 0; count < numColumns; count++) {
319 String width = widths[count];
329 relParts[count] = rel;
340 absParts[count] = pixels;
342 relParts[count] = 0;
350 absParts[count] = pixels;
367 for (int count = 0; count < numColumn
[all...]
/haiku-fatelf/src/libs/iconv/
H A Diso2022_jp.h40 int count = 0; local
45 if (n < count+3)
50 s += 3; count += 3;
51 if (n < count+1)
57 s += 3; count += 3;
58 if (n < count+1)
68 s += 3; count += 3;
69 if (n < count+1)
87 return count+1;
97 return count
132 int count = (state == STATE_ASCII ? 1 : 4); local
153 int count = (state == STATE_JISX0201ROMAN ? 1 : 4); local
174 int count = (state == STATE_JISX0208 ? 2 : 5); local
[all...]
/haiku-fatelf/src/bin/gdb/readline/
H A Dvi_mode.c147 _rl_vi_stuff_insert (count)
148 int count;
151 while (count--)
160 rl_vi_redo (count, c)
161 int count, c;
177 _rl_vi_stuff_insert (count);
191 rl_vi_undo (count, key)
192 int count, key;
194 return (rl_undo_command (count, key));
199 rl_vi_yank_arg (count, ke
1166 int count = 1, brack, pos, tmp, pre; local
[all...]
/haiku-fatelf/headers/os/app/
H A DMessageRunner.h16 int32 count = -1);
19 int32 count = -1);
22 int32 count, BMessenger replyTo);
25 int32 count, BMessenger replyTo);
31 status_t SetCount(int32 count);
33 int32* count) const;
37 int32 count);
40 int32 count, BMessenger replyTo);
49 int32 count, bool detach,
54 int32 count, BMessenge
[all...]
/haiku-fatelf/src/documentation/docbook-xsl/fo/
H A Dpdf2index38 for (my $count = $1; $count <= $2; $count++) {
39 push (@mpages, "<phrase role=\"$pageno\">$count</phrase>");
66 my $count = 0;
67 my $len = &rangelen($count, @pages);
121 my $count = shift;
126 my $current = &pageno($pages[$count]);
127 while ($count < $#pages && $inrange) {
128 $count
[all...]
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dbitmap.c107 * @count: number of bits to set
110 * Set @count bits starting at bit @start_bit in the bitmap described by the
116 s64 count, int value)
122 if (!na || start_bit < 0 || count < 0) {
125 __FUNCTION__, na, (long long)start_bit, (long long)count);
136 bufsize = ((count - (bit ? 8 - bit : 0) + 7) >> 3) + firstbyte;
157 while ((bit & 7) && count--) {
167 /* Loop until @count reaches zero. */
170 bit = count & 7;
173 if (count >
115 ntfs_bitmap_set_bits_in_run(ntfs_attr *na, s64 start_bit, s64 count, int value) argument
268 ntfs_bitmap_set_run(ntfs_attr *na, s64 start_bit, s64 count) argument
290 ntfs_bitmap_clear_run(ntfs_attr *na, s64 start_bit, s64 count) argument
[all...]
/haiku-fatelf/src/tests/kits/app/bmessagerunner/
H A DSetIntervalTester.cpp47 bigtime_t interval = 0, int32 count = 0)
54 CHK(runnerCount == count);
71 int32 count = 0; local
72 BMessageRunner runner(target, &message, interval, count);
95 int32 count = 1; local
96 BMessageRunner runner(target, &message, interval, count);
98 check_message_runner_info(runner, B_OK, interval, count);
99 snooze(count * interval + 10000);
124 int32 count = 5; local
125 BMessageRunner runner(target, &message, interval, count);
161 int32 count = 5; local
198 int32 count = -1; local
239 int32 count = 5; local
285 int32 count = 5; local
[all...]
/haiku-fatelf/src/apps/mediaplayer/playlist/
H A DPLItemsCommand.cpp32 PLItemsCommand::_CleanUp(PlaylistItem**& items, int32 count, bool deleteItems) argument
37 for (int32 i = 0; i < count; i++)
/haiku-fatelf/src/bin/coreutils/man/
H A Dcksum.x2 cksum \- checksum and count the bytes in a file
H A Dsum.x2 sum \- checksum and count the blocks in a file
/haiku-fatelf/src/libs/stdc++/legacy/
H A Dsbform.cc37 int count = _IO_vfprintf(this, format, ap); local
39 return count;
/haiku-fatelf/src/system/libroot/posix/sys/
H A Duio.c24 readv(int fd, const struct iovec *vecs, size_t count) argument
26 ssize_t bytes = _kern_readv(fd, -1, vecs, count);
33 readv_pos(int fd, off_t pos, const struct iovec *vecs, size_t count) argument
40 bytes = _kern_readv(fd, pos, vecs, count);
47 writev(int fd, const struct iovec *vecs, size_t count) argument
49 ssize_t bytes = _kern_writev(fd, -1, vecs, count);
56 writev_pos(int fd, off_t pos, const struct iovec *vecs, size_t count) argument
63 bytes = _kern_writev(fd, pos, vecs, count);
/haiku-fatelf/src/bin/
H A Dfortune.c24 int count = 0; local
31 // count directory entries
37 count++;
40 if (count == 0)
45 chosen = rand() % count;
46 count = 0;
53 if (chosen <= count) {
68 count++;
84 unsigned count; local
138 // count fortune
[all...]
/haiku-fatelf/src/documentation/docbook-xsl/slides/browser/
H A Dslides.js73 var count = 0;
76 for (count = 0; count < links.length; count++) {
77 if (home && (links[count].getAttribute("rel") == 'top')) {
78 target = links[count].getAttribute("href");
80 if (toc && (links[count].getAttribute("rel") == 'contents')) {
81 target = links[count].getAttribute("href");
83 if (up && (links[count].getAttribute("rel") == 'up')) {
84 target = links[count]
[all...]
/haiku-fatelf/src/tests/kits/app/blooper/
H A DIsMessageWaitingTest.cpp79 int32 count;
82 count = port_buffer_size_etc(_get_looper_port_(&Looper), B_TIMEOUT, 0);
83 } while (count == B_INTERRUPTED);
85 CPPUNIT_ASSERT(count < 0);
86 cout << endl << "port_buffer_size_etc: " << strerror(count) << endl;
140 ssize_t count;
143 count = port_buffer_size_etc(_get_looper_port_(Looper), B_TIMEOUT, 0);
144 } while (count == B_INTERRUPTED);
147 if (count < 0)
149 cout << strerror(count);
[all...]

Completed in 197 milliseconds

1234567891011>>