/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | Debug.cpp | 38 kprintf("%s(%d, %d, %d)\n", prefix, (int)run.allocation_group, run.start, 167 int start = i; local 169 for (; i < start + DUMPED_BLOCK_SIZE; i++) { 180 for (i = start; i < start + DUMPED_BLOCK_SIZE; i++) { 254 kprintf(" (%d, %d)", (int)run.allocation_group, run.start); 335 run.start = HOST_ENDIAN_TO_BFS_INT16(strtoul(arg + 1, NULL, 0)); 379 "[start-offset] [search-offset]\n", argv[0]);
|
H A D | Query.cpp | 150 char* _CopyString(char* start, char* end); 220 char* start = string; local 225 // The whitespace at the start is already removed in 228 if (*start == '"' || *start == '\'') { 229 // string is quoted (start has to be on the beginning of a string) 230 if (_ParseQuotedString(&start, &end) < B_OK) 233 // set string to a valid start of the equation symbol 253 skipWhitespaceReverse(&end, start); 257 if (start > en [all...] |
/haiku/src/tests/kits/midi/synth_file_reader/ |
H A D | SynthFileReader.cpp | 149 bool SSynthFileReader::ReadSoundInRange(uint8& start, uint8& end, uint16& snd, uint32& size) { argument 151 return Read(start) && Read(end) && Read(snd) && Skip(4); 183 uint8 start, end; local 184 if (ReadSoundInRange(start, end, snd, size)) { 185 instr->Sounds()->AddItem(new SSoundInRange(start, end, synth->GetSound(snd))); 228 long start = ftell(fFile); local 234 printf("%6.6lx(%3.3lx) ", ftell(fFile)-1, ftell(fFile)-start-1);
|
H A D | SynthFile.cpp | 59 SSoundInRange::SSoundInRange(uint8 start, uint8 end, SSound* sound) argument 60 : fNoteStart(start) 168 printf("Sound id=%d start=%d end=%d name='%s'\n",
|
/haiku/src/add-ons/media/media-add-ons/radeon/ |
H A D | CC.cpp | 65 int start = C_RADEON_CC_BLANK_START + C_RADEON_CC_BIT_DURATION; local 66 while (start <= C_RADEON_CC_BLANK_START + 4 * C_RADEON_CC_BIT_DURATION) { 67 if (buffer[start + 0] < middle && buffer[start + 1] < middle && 68 buffer[start + 3] > middle && buffer[start + 4] > middle) 70 start++; 72 if (start >= C_RADEON_CC_BLANK_START + 4 * C_RADEON_CC_BIT_DURATION) 76 int end = start + 17 * C_RADEON_CC_BIT_DURATION; 78 // start i [all...] |
/haiku/src/add-ons/kernel/network/stack/ |
H A D | net_buffer.cpp | 80 uint8* start; // points to the start of the data member in struct:data_node 627 dump_block((char*)node->start - buffer->stored_header_length, 630 dump_block((char*)node->start, min_c(node->used, 64), " "); 955 node->start = header->data_end + header->space.free; 1048 if (append_data(dest, node->start, node->used) < B_OK) { 1057 if (append_data(dest, node->start, node->used - diff) < B_OK) { 1195 if (append_data(duplicate, node->start, node->used) < B_OK) { 1280 node->start = sourceNode->start; [all...] |
/haiku/src/kits/mail/ |
H A D | MailAttachment.cpp | 686 char *start = (char *)malloc(len); local 687 if (start == NULL) 690 MemoryDeleter deleter(start); 692 if (_attributes_attach->GetDecodedData()->ReadAt(0, start, len) < len) 697 char *name = &start[index]; 701 memcpy(&code, &start[index], sizeof(type_code)); 706 memcpy(&buf_length, &start[index], sizeof(buf_length)); 710 swap_data(code, &start[index], buf_length, B_SWAP_BENDIAN_TO_HOST); 711 _attributes.AddData(name, code, &start[index], buf_length);
|
/haiku/src/system/boot/platform/openfirmware/arch/ppc/ |
H A D | mmu.cpp | 59 insert_virtual_range_to_keep(void *start, uint32 size) argument 63 MAX_VIRTUAL_RANGES_TO_KEEP, (addr_t)start, size); 68 remove_virtual_range_to_keep(void *start, uint32 size) argument 72 MAX_VIRTUAL_RANGES_TO_KEEP, (addr_t)start, size); 426 return (void *)(addr_t)gKernelArgs.physical_memory_range[i].start; 446 = (void *)(addr_t)(gKernelArgs.physical_allocated_range[i].start 466 = (void *)(addr_t)(gKernelArgs.virtual_allocated_range[i].start 918 gKernelArgs.arch_args.page_table.start = (addr_t)sPageTable; 921 gKernelArgs.arch_args.exception_handlers.start = (addr_t)exceptionHandlers;
|
/haiku/src/add-ons/kernel/drivers/graphics/intel_extreme/ |
H A D | bios.cpp | 353 // first try to fetch Intel OpRegion which should be populated by the BIOS at start 510 int start = bdbOffset + bdbBlockOffset; local 512 int id = vbios.memory[start]; 513 blockSize = vbios.ReadWord(start + 1) + 3; 518 features = (struct bdb_general_features*)(vbios.memory + start); 534 defs = (struct bdb_general_definitions*)(vbios.memory + start); 554 lvds1 = (struct lvds_bdb1 *)(vbios.memory + start); 577 lvds2 = (struct lvds_bdb2 *)(vbios.memory + start); 613 bdb_generic_dtd* generic_dtd = (bdb_generic_dtd*)(vbios.memory + start); 661 = (bdb_lfp_backlight_data*)(vbios.memory + start); [all...] |
/haiku/src/system/libroot/posix/glibc/regex/ |
H A D | regexec.c | 41 int start, int range, int stop, 47 int start, int range, struct re_registers *regs, 50 const char *string, int length, int start, 230 int start, length; 238 start = pmatch[0].rm_so; 243 start = 0; 249 err = re_search_internal (preg, string, length, start, length - start, 252 err = re_search_internal (preg, string, length, start, length - start, 229 int start, length; local 323 int length, start, range; variable 336 int length1, length2, start, stop; variable 350 int length1, length2, start, range, stop; variable [all...] |
/haiku/src/add-ons/kernel/file_systems/btrfs/ |
H A D | Volume.cpp | 152 uint8* start = (uint8*)&fSuperBlock.system_chunk_array[0]; local 154 while (start < end) { 155 btrfs_key* key = (btrfs_key*)start; 167 start += sizeof(btrfs_key) + fChunk->Size(); 526 Volume::GetNewBlock(uint64& logical, fsblock_t& physical, uint64 start, argument 529 status_t status = fExtentAllocator->AllocateTreeBlock(logical, start, flags);
|
/haiku/src/system/boot/loader/file_systems/bfs/ |
H A D | Stream.cpp | 151 // begin from the start? 215 off_t start = pos - data.MaxIndirectRange(); local 216 int32 index = start / indirectSize; 223 //printf("\tstart = %lld, indirectSize = %ld, directSize = %ld, index = %ld\n",start,indirectSize,directSize,index); 224 //printf("\tlook for indirect block at %ld,%d\n",indirect[index].allocation_group,indirect[index].start); 226 int32 current = (start % indirectSize) / directSize; 236 //printf("\tfCurrent = %ld, fRunFileOffset = %lld, fRunBlockEnd = %lld, fRun = %ld,%d\n",fCurrent,fRunFileOffset,fRunBlockEnd,fRun.allocation_group,fRun.start); 262 //printf("reading from indirect block: %ld,%d\n",fRun.allocation_group,fRun.start); 263 //printf("### indirect-run[%ld] = (%ld,%d,%d), offset = %lld\n",fCurrent,fRun.allocation_group,fRun.start,fRun.length,fRunFileOffset); 284 //printf("### run[%ld] = (%ld,%d,%d), offset = %lld\n",fCurrent,fRun.allocation_group,fRun.start,fRu [all...] |
/haiku/src/system/kernel/ |
H A D | elf.cpp | 126 imageInfo.basic_info.text = (void *)image->text_region.start; 128 imageInfo.basic_info.data = (void *)image->data_region.start; 143 if (symbolAddress >= image->text_region.start 144 && symbolAddress - image->text_region.start + sizeof(uint32) 159 if (symbolAddress >= image->text_region.start 160 && symbolAddress - image->text_region.start + sizeof(uint32) 192 if ((address >= image->text_region.start && address 193 <= (image->text_region.start + image->text_region.size)) 194 || (address >= image->data_region.start 196 <= (image->data_region.start 1987 addr_t start = (addr_t)regionAddress local [all...] |
/haiku/src/system/kernel/debug/ |
H A D | tracing.cpp | 285 TRACE(("AllocateEntry(%lu), start %p, end %p, buffer %p\n", size * 4, 300 TRACE((" entry: %p, end %p, start %p, entries %ld\n", entry, 313 addr_t start = (addr_t)address; 314 addr_t end = start + size; 316 if (start < (addr_t)fBuffer || end > (addr_t)(fBuffer + kBufferSize)) 320 return start >= (addr_t)fFirstEntry || end <= (addr_t)fAfterLastEntry; 322 return start >= (addr_t)fFirstEntry && end <= (addr_t)fAfterLastEntry; 329 TRACE((" skip start %p, %lu*4 bytes\n", fFirstEntry, fFirstEntry->size)); 416 TRACE((" out: start %p, entries %ld\n", fFirstEntry, fEntries)); 945 out.Print("ktrace start"); [all...] |
/haiku/src/tests/add-ons/kernel/file_systems/random_file_actions/ |
H A D | random_file_actions.cpp | 332 bigtime_t start = system_time(); local 348 sWriteTime += system_time() - start; 359 int start = i; local 362 for (; i < start + DUMPED_BLOCK_SIZE; i++) { 373 for (i = start; i < start + DUMPED_BLOCK_SIZE; i++) { 417 bigtime_t start = system_time(); local 443 sReadTime += system_time() - start;
|
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | Cookie.cpp | 54 uint64 start = static_cast<uint64>(lock.l_start); local 57 return fStart == start && (fLength == length
|
/haiku/src/add-ons/kernel/partitioning_systems/gpt/ |
H A D | utility.cpp | 40 const char* start = to; local 88 return to - start;
|
/haiku/src/add-ons/kernel/power/cpuidle/intel_cstates/ |
H A D | intel_cstates.cpp | 97 bigtime_t start = system_time(); local 100 bigtime_t delta = system_time() - start;
|
/haiku/src/add-ons/kernel/file_systems/ext2/ |
H A D | Volume.h | 128 uint32& blockGroup, fsblock_t& start, 131 fsblock_t start, uint32 length);
|
/haiku/src/system/boot/platform/efi/arch/arm/ |
H A D | arch_start.cpp | 215 (uint32_t)(gKernelArgs.cpu_kstack[0].start + gKernelArgs.cpu_kstack[0].size)); 218 gKernelArgs.cpu_kstack[0].start + gKernelArgs.cpu_kstack[0].size);
|
/haiku/src/system/boot/platform/efi/arch/arm64/ |
H A D | arch_start.cpp | 185 && arch_mmu_read_access(gKernelArgs.cpu_kstack[0].start)) { 188 gKernelArgs.cpu_kstack[0].start + gKernelArgs.cpu_kstack[0].size);
|
/haiku/src/system/boot/platform/efi/arch/x86/ |
H A D | arch_start.cpp | 170 (uint32_t)(gKernelArgs.cpu_kstack[0].start + gKernelArgs.cpu_kstack[0].size), 174 gKernelArgs.cpu_kstack[0].start + gKernelArgs.cpu_kstack[0].size,
|
/haiku/src/apps/icon-o-matic/transformable/ |
H A D | TransformBox.cpp | 497 point_line_dist(BPoint start, BPoint end, BPoint p, float radius) argument 499 BRect r(min_c(start.x, end.x), min_c(start.y, end.y), max_c(start.x, end.x), 500 max_c(start.y, end.y)); 503 return fabs(agg::calc_line_point_distance(start.x, start.y, end.x, end.y, 507 return min_c(point_point_distance(start, p), point_point_distance(end, p));
|
/haiku/src/apps/webpositive/autocompletion/ |
H A D | AutoCompleterDefaultImpl.h | 19 int32 caretPos, int32* start,
|
/haiku/src/kits/storage/disk_device/ |
H A D | PartitionDelegate.cpp | 508 BPartition::Delegate::ValidateCreateChild(off_t* start, off_t* size, argument 514 return fPartitionHandle->ValidateCreateChild(start, size, type, name, 521 BPartition::Delegate::CreateChild(off_t start, off_t size, const char* type, argument 528 status_t error = fPartitionHandle->CreateChild(start, size, type, name,
|