/haiku-fatelf/src/libs/iconv/ |
H A D | big5hkscs2004.h | 121 int count = 0; local 143 count = 2; 149 if (n > count) { 152 return count+1; 164 if (n >= count+2) { 168 return count+2; 181 return count+0; 183 if (n >= count+2) { 187 return count+2; 194 if (n >= count [all...] |
H A D | big5hkscs1999.h | 109 int count = 0; local 131 count = 2; 137 if (n > count) { 140 return count+1; 152 if (n >= count+2) { 156 return count+2; 169 return count+0; 171 if (n >= count+2) { 175 return count+2;
|
/haiku-fatelf/headers/libs/agg/ |
H A D | agg_alpha_mask_u8.h | 103 int count = num_pix; local 114 count += x; 115 if(count <= 0) 125 if(x + count > xmax) 127 int rest = x + count - xmax - 1; 128 count -= rest; 129 if(count <= 0) 134 memset(covers + count, 0, rest * sizeof(cover_type)); 143 while(--count); 153 int count local 205 int count = num_pix; local 254 int count = num_pix; local [all...] |
/haiku-fatelf/src/add-ons/media/media-add-ons/mixer/ |
H A D | Resampler.cpp | 17 offset (in bytes) to the next sample, and count of samples for 95 register int32 count = destSampleCount; local 100 while (count--) { 113 while (count--) { 124 while (count--) { 143 register int32 count = destSampleCount; local 148 while (count--) { 161 while (count--) { 172 while (count--) { 191 register int32 count local 239 register int32 count = destSampleCount; local 287 register int32 count = destSampleCount; local 335 register int32 count = destSampleCount; local 401 register int32 count = destSampleCount; local 467 register int32 count = destSampleCount; local 533 register int32 count = destSampleCount; local [all...] |
/haiku-fatelf/headers/private/kernel/ |
H A D | sem.h | 33 extern sem_id create_sem_etc(int32 count, const char *name, team_id owner); 38 sem_id _user_create_sem(int32 count, const char *name); 41 status_t _user_acquire_sem_etc(sem_id id, int32 count, uint32 flags, bigtime_t timeout); 43 status_t _user_switch_sem_etc(sem_id releaseSem, sem_id id, int32 count, uint32 flags, bigtime_t timeout); 45 status_t _user_release_sem_etc(sem_id id, int32 count, uint32 flags);
|
/haiku-fatelf/headers/private/libroot/ |
H A D | libroot_lock.h | 23 int32 count; member in struct:BPrivate::benaphore 33 ben->count = 1; 47 if (atomic_add(&ben->count, -1) <= 0) 57 if (atomic_add(&ben->count, -1) <= 0) { 73 if (atomic_add(&ben->count, 1) < 0)
|
/haiku-fatelf/src/add-ons/accelerants/s3/ |
H A D | accel.h | 58 void (*FillRectangle)(engine_token*, uint32 color, fill_rect_params*, uint32 count); 59 void (*FillSpan)(engine_token*, uint32 color, uint16* list, uint32 count); 60 void (*InvertRectangle)(engine_token*, fill_rect_params*, uint32 count); 61 void (*ScreenToScreenBlit)(engine_token*, blit_params*, uint32 count); 68 void (*SetIndexedColors)(uint count, uint8 first, uint8* color_data, uint32 flags); 103 void Savage_SetIndexedColors(uint count, uint8 first, uint8* color_data, uint32 flags); 104 void Trio64_SetIndexedColors(uint count, uint8 first, uint8* color_data, uint32 flags); 105 void Virge_SetIndexedColors(uint count, uint8 first, uint8* color_data, uint32 flags); 139 void Savage_FillRectangle(engine_token* et, uint32 color, fill_rect_params* list, uint32 count); 140 void Savage_FillSpan(engine_token* et, uint32 color, uint16* list, uint32 count); [all...] |
/haiku-fatelf/src/apps/debuganalyzer/gui/chart/ |
H A D | BigtimeChartAxisLegendSource.cpp | 55 int32 count = 0; local 71 return count; 73 legends[count] = legend; 74 values[count++] = (double)time; 77 return count;
|
H A D | NanotimeChartAxisLegendSource.cpp | 56 int32 count = 0; local 72 return count; 74 legends[count] = legend; 75 values[count++] = (double)time; 78 return count;
|
/haiku-fatelf/src/apps/networkstatus/ |
H A D | RadioView.h | 30 int32 count); 45 int32& count, int32 max, float& step); 47 const BPoint& center, int32 count, 50 int32 phase, int32 index, int32 count); 52 int32 count);
|
/haiku-fatelf/src/libs/ncurses/ncurses/ |
H A D | expanded.c | 13 int _nc_DelCharCost (int count) argument 15 return ((cur_term->type. Strings[105] != 0) ? SP->_dch_cost : ((cur_term->type. Strings[21] != 0) ? (SP->_dch1_cost * count ) : 1000000 )) ; 17 int _nc_InsCharCost (int count) argument 19 return ((cur_term->type. Strings[108] != 0) ? SP->_ich_cost : ((cur_term->type. Strings[31] && cur_term->type. Strings[42] ) ? SP->_smir_cost + SP->_rmir_cost + (SP->_ip_cost * count ) : ((cur_term->type. Strings[52] != 0) ? ((SP->_ich1_cost + SP->_ip_cost) * count ) : 1000000 ))) ;
|
/haiku-fatelf/src/servers/app/ |
H A D | RegionPool.cpp | 37 int32 count = fAvailable.CountItems(); local 38 for (int32 i = 0; i < count; i++) 67 int32 count = fAvailable.CountItems(); local 68 if (count > 0) { 69 region = (BRegion*)fAvailable.RemoveItem(count - 1);
|
/haiku-fatelf/src/tests/kits/media/ |
H A D | BufferTest.cpp | 13 int32 count; local 24 s = group->CountBuffers(&count); 25 printf("CountBuffers: count = %ld, status = %ld\n",count,s); 36 s = group->CountBuffers(&count); 37 printf("CountBuffers: count = %ld, status = %ld\n",count,s); 61 s = group2->CountBuffers(&count); 62 printf("CountBuffers: count = %ld, status = %ld\n",count, [all...] |
/haiku-fatelf/src/bin/network/tcpdump/ |
H A D | print-snmp.c | 1203 int count = 0, ind; local 1210 if ((count = asn1_parse(np, length, &elem)) < 0) 1217 if ((u_int)count < length) 1218 printf("[%d extra after SEQ of varbind]", length - count); 1230 if ((count = asn1_parse(np, length, &elem)) < 0) 1237 vbend = np + count; 1238 vblength = length - count; 1244 if ((count = asn1_parse(np, length, &elem)) < 0) 1258 length -= count; 1259 np += count; 1299 int count = 0, error; local 1379 int count = 0, generic; local 1469 int count = 0; local 1530 int i, count = 0; local 1583 int count = 0; local 1612 int count = 0; local 1708 int count = 0; local 1845 int count = 0; local [all...] |
/haiku-fatelf/src/add-ons/kernel/file_systems/userlandfs/shared/ |
H A D | DriverSettings.cpp | 111 Iterator(const driver_parameter* parameters, int32 count) argument 114 fCount(count) 153 NameIterator(const driver_parameter* parameters, int32 count, argument 157 fCount(count), 224 int32 count; local 225 return (GetParametersAndCount(&count) ? count : 0); 233 int32 count; local 234 return GetParametersAndCount(&count); 242 int32 count; local 277 int32 count; local 289 int32 count; local [all...] |
/haiku-fatelf/src/kits/support/ |
H A D | List.cpp | 24 move_items(void** items, int32 offset, int32 count) argument 26 if (count > 0 && offset != 0) 27 memmove(items + offset, items, count * sizeof(void*)); 31 BList::BList(int32 count) argument 36 fBlockSize(count), 143 int32 count = list->fItemCount; local 144 if (fItemCount + count > fPhysicalSize) 145 result = _ResizeArray(fItemCount + count); 147 fItemCount += count; 148 move_items(fObjectList + index, count, fItemCoun 163 int32 count = list->fItemCount; local 203 RemoveItems(int32 index, int32 count) argument 473 _ResizeArray(int32 count) argument [all...] |
H A D | StringList.cpp | 36 BStringList::BStringList(int32 count) argument 38 fStrings(count) 107 int32 count = fStrings.CountItems(); local 112 for (int32 i = count - 1; i >= 0; i--) { 120 for (int32 i = count - 1; i >= 0; i--) { 158 BStringList::Remove(int32 index, int32 count) argument 164 int32 end = index + std::min(stringCount - index, count); 243 int32 count = fStrings.CountItems(); local 248 for (int32 i = 0; i < count; i++) { 254 for (int32 i = 0; i < count; 281 int32 count = fStrings.CountItems(); local 291 int32 count = fStrings.CountItems(); local 355 int32 count = CountStrings(); local 412 int32 count = fStrings.CountItems(); local 422 int32 count = fStrings.CountItems(); local [all...] |
/haiku-fatelf/headers/os/interface/ |
H A D | Polygon.h | 18 BPolygon(const BPoint* points, int32 count); 27 void AddPoints(const BPoint* points, int32 count); 41 bool _AddPoints(const BPoint* points, int32 count,
|
/haiku-fatelf/headers/private/userlandfs/shared/ |
H A D | RecursiveLock.h | 58 int32 count = recursive_lock_get_recursion( local 60 return count >= 0 ? count : 0;
|
/haiku-fatelf/src/apps/icon-o-matic/shape/commands/ |
H A D | RemovePointsCommand.h | 23 int32 count); 27 int32 count); 39 void _Init(const int32* indices, int32 count,
|
/haiku-fatelf/src/system/boot/platform/atari_m68k/ |
H A D | mk_floppy_prg_atari.sh | 5 dd if=/dev/zero of=$IMG bs=1k count=1440 && \ 12 dd if=generated/objects/haiku/m68k/release/system/boot/$ZBEOS of=$IMG bs=512 count=9 conv=notrunc && \ 13 dd if=generated/objects/haiku/m68k/release/system/boot/$ZBEOS of=$IMG bs=512 count=9 conv=notrunc skip=9 seek=$((9*180)) && \ 14 dd if=generated/objects/haiku/m68k/release/system/boot/$ZBEOS of=$IMG bs=512 count=9 conv=notrunc skip=9 seek=$((2*9)) && \ 15 dd if=generated/objects/haiku/m68k/release/system/boot/$ZBEOS of=$IMG bs=512 count=9 conv=notrunc skip=$((2*9)) seek=$((2*2*9)) && \ 16 dd if=generated/objects/haiku/m68k/release/system/boot/$ZBEOS of=$IMG bs=512 count=9 conv=notrunc skip=$((3*9)) seek=$((3*2*9)) && \ 24 #dd if=generated/objects/haiku/m68k/release/system/boot/$ZBEOS of=$IMG bs=512 count=500 conv=notrunc && \
|
/haiku-fatelf/src/system/libroot/posix/glibc/libio/ |
H A D | iopadn.c | 37 _IO_padn (fp, pad, count) 40 _IO_ssize_t count; 58 for (i = count; i >= PADSIZE; i -= PADSIZE)
|
/haiku-fatelf/src/system/libroot/posix/stdlib/ |
H A D | heapsort.c | 53 #define SWAP(a, b, count, size, tmp) { \ 54 count = size; \ 59 } while (--count); \ 63 #define COPY(a, b, count, size, tmp1, tmp2) { \ 64 count = size; \ 69 } while (--count); \ 79 #define CREATE(initval, nmemb, par_i, child_i, par, child, size, count, tmp) { \ 90 SWAP(par, child, count, size, tmp); \ 111 #define SELECT(par_i, child_i, nmemb, par, child, size, k, count, tmp1, tmp2) { \ 119 COPY(par, child, count, siz [all...] |
/haiku-fatelf/src/add-ons/kernel/file_systems/netfs/shared/ |
H A D | Blocker.cpp | 76 // get semaphore count 77 int32 count; 78 status_t error = get_sem_count(fData->semaphore, &count); 81 // set the semaphore count to zero 82 if (count > 0) 83 error = acquire_sem_etc(fData->semaphore, count, B_RELATIVE_TIMEOUT, 0); 84 else if (count < 0) 85 error = release_sem_etc(fData->semaphore, -count, 0);
|
/haiku-fatelf/src/add-ons/kernel/file_systems/packagefs/ |
H A D | UnpackingAttributeDirectoryCookie.cpp | 54 uint32 count = 0; local 60 if (count >= maxCount) 64 if (count > 0) { 88 if (count == 0) 97 count++; 108 *_count = count;
|