Searched refs:range (Results 76 - 100 of 128) sorted by relevance

123456

/haiku/src/tools/fs_shell/
H A Dmodule.cpp81 module_hash(void *_module, const void *_key, uint32_t range) argument
87 return hash_hash_string(module->name) % range;
90 return hash_hash_string(name) % range;
H A Dhash.cpp41 uint32_t (*hash_func)(void *e, const void *key, uint32_t range);
61 uint32_t hash_func(void *e, const void *key, uint32_t range))
59 hash_init(uint32_t table_size, int next_ptr_offset, int compare_func(void *e, const void *key), uint32_t hash_func(void *e, const void *key, uint32_t range)) argument
/haiku/src/kits/storage/sniffer/
H A DPattern.cpp83 each offset withing the given range. Returns true is a match is found,
87 Pattern::Sniff(Range range, BPositionIO *data, bool caseInsensitive) const { argument
88 int32 start = range.Start();
89 int32 end = range.End();
H A DParser.cpp1110 Range range(start, end);
1111 if (range.InitCheck() == B_OK)
1112 return range;
1114 throw range.GetErr();
1118 Parser::ParsePatternList(Range range) { argument
1119 PatternList *list = new(std::nothrow) PatternList(range);
1180 Range range = ParseRange(); local
1184 RPattern *result = new(std::nothrow) RPattern(range, pattern);
/haiku/headers/private/kernel/vm/
H A DVMArea.h45 bool implicit; // range created automatically
82 VMAreaWiredRange range; member in struct:VMPageWiringInfo
140 void Wire(VMAreaWiredRange* range);
141 void Unwire(VMAreaWiredRange* range);
/haiku/src/system/kernel/vm/
H A DVMUserAddressSpace.cpp354 // the area must be completely part of the reserved range
365 // remove reserved range
429 addr_t range = end - start + 1;
431 range = std::min(range, kMaxInitialRandomize);
433 range = std::min(range, kMaxRandomize);
436 random %= range;
458 // This area covers the requested range
465 // range t
[all...]
/haiku/src/add-ons/accelerants/common/
H A Dcreate_display_modes.cpp240 edid1_monitor_range& range local
244 minHorizontalFrequency = range.min_h;
245 maxHorizontalFrequency = range.max_h;
246 minVerticalFrequency = range.min_v;
247 maxVerticalFrequency = range.max_v;
248 maxPixelClock = range.max_clock * 10000;
/haiku/src/build/libgnuregex/
H A Dregex.c270 the range 0 to one less than the pattern buffer's re_nsub
279 number, in the range 0 to one less than `re_nsub' in the
833 "Invalid range end", /* REG_ERANGE */
1408 /* Look ahead to see if it's a range when the last thing
1413 /* Look ahead to see if it's a range when the last thing
1415 beginning or the end of a list, then it's the range
2192 /* Read the ending character of a range (in a bracket expression) from the
2220 is set, the range endpoints will be negative if we fetch using a
2232 /* If the start is after the end, the range is empty. */
2237 char' -- the range i
[all...]
/haiku/src/add-ons/kernel/busses/pci/x86/
H A DX86PCIController.cpp155 X86PCIController::GetRange(uint32 index, pci_resource_range* range) argument
371 // fallback to mechanism 1 for out of range busses
386 // fallback to mechanism 1 for out of range busses
404 X86PCIControllerMethPcie::GetRange(uint32 index, pci_resource_range* range) argument
406 return fECAMPCIController.GetRange(index, range);
/haiku/headers/private/fs_shell/
H A Dfssh_drivers.h220 struct range { struct in struct:__anon26
/haiku/headers/os/drivers/
H A DDrivers.h179 struct range { struct in struct:__anon7
/haiku/src/system/boot/platform/efi/
H A Ddtb.cpp220 } else if (strcmp(fdt_string(fdt, fdt32_to_cpu(property->nameoff)), "bus-range") == 0) {
377 dtb_get_reg(const void* fdt, int node, size_t idx, addr_range& range) argument
394 case 1: range.start = fdt32_to_cpu(*(uint32*)prop); prop += 4; break;
395 case 2: range.start = fdt64_to_cpu(*(uint64*)prop); prop += 8; break;
399 case 1: range.size = fdt32_to_cpu(*(uint32*)prop); prop += 4; break;
400 case 2: range.size = fdt64_to_cpu(*(uint64*)prop); prop += 8; break;
440 if ((range.start >= childAddress) && (range.start <= childAddress + rangeSize)) {
441 range.start -= childAddress;
442 range
[all...]
/haiku/src/system/libroot/posix/glibc/regex/
H A Dregexec.c41 int start, int range, int stop,
47 int start, int range, struct re_registers *regs,
51 int range, int stop, struct re_registers *regs,
321 re_search (bufp, string, length, start, range, regs)
324 int length, start, range;
327 return re_search_stub (bufp, string, length, start, range, length, regs, 0);
348 re_search_2 (bufp, string1, length1, string2, length2, start, range, regs, stop)
351 int length1, length2, start, range, stop;
355 start, range, regs, stop, 0);
362 re_search_2_stub (bufp, string1, length1, string2, length2, start, range, reg
323 int length, start, range; variable
350 int length1, length2, start, range, stop; variable
[all...]
/haiku/src/add-ons/kernel/busses/pci/ecam/
H A DECAMPCIController.cpp246 ECAMPCIController::GetRange(uint32 index, pci_resource_range* range) argument
251 *range = fResourceRanges[index];
H A DECAMPCIController.h113 status_t GetRange(uint32 index, pci_resource_range* range);
/haiku/src/apps/debuganalyzer/gui/main_window/
H A DSchedulingPage.cpp264 ChartDataRange range = ChartDataRange(timeRange->startTime, local
266 if (range != fRange) {
267 fAxis.SetRange(range);
268 fRange = range;
698 float range = dataWidth - width; local
699 if (range > 0) {
700 scrollBar->SetRange(0, range);
1025 // get the interesting event time range
1038 //printf(" time range: %lld - %lld\n", startTime, endTime);
1302 // collect the requests in the range
1644 float range = dataHeight - height; local
1730 TimeRange* range = new(std::nothrow) TimeRange(startTime, endTime); local
[all...]
/haiku/src/kits/package/hpkg/
H A DPackageFileHeapWriter.cpp344 const Range<uint64>& range = ranges[i]; local
345 if (range.size > 0) {
346 _PushChunks(chunkBuffer, readOffset, range.offset);
347 readOffset = range.offset + range.size;
356 // all chunks after the last range
606 fErrorOutput->PrintError("Invalid range to remove from heap\n");
/haiku/src/apps/debuganalyzer/gui/chart/
H A DLegendChartAxis.cpp170 LegendChartAxis::SetRange(const ChartDataRange& range) argument
172 if (range != fRange) {
173 fRange = range;
/haiku/src/kits/interface/textview_support/
H A DStyleBuffer.cpp263 STEStyleRange* range = (STEStyleRange*)malloc(sizeof(int32) local
265 if (range != NULL)
266 range->count = numStyles;
268 return range;
/haiku/headers/private/storage/sniffer/
H A DParser.h293 DisjList* ParsePatternList(Range range);
/haiku/headers/os/drivers/bus/
H A DPCI.h93 status_t (*get_range)(void *cookie, uint32 index, pci_resource_range *range);
/haiku/src/kits/interface/
H A DSlider.cpp807 float range = (float)(fMaxValue - fMinValue); local
808 if (range == 0.0f)
809 range = 1.0f;
811 return (float)(Value() - fMinValue) / range;
1627 float range = (float)(fMaxValue - fMinValue); local
1628 if (range == 0)
1629 range = 1;
1631 float pos = (float)(value - fMinValue) / range *
/haiku/src/kits/debugger/model/
H A DTeam.cpp443 Team::GetBreakpointsInAddressRange(TargetAddressRange range, argument
447 BreakpointByAddressPredicate(range.Start()));
449 if (breakpoint->Address() > range.End())
557 Team::GetWatchpointsInAddressRange(TargetAddressRange range, argument
561 WatchpointByAddressPredicate(range.Start()));
563 if (watchpoint->Address() > range.End())
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_ht.c369 struct printranges *range; local
371 for (range = ranges; range->txstream != 0; range++) {
372 if (ic->ic_txstream < range->txstream)
374 if (range->htcapflags &&
375 (ic->ic_htcaps & range->htcapflags) == 0)
377 if (ratetype < range->ratetype)
379 minrate = ht_getrate(ic, range->minmcs, mode, ratetype);
380 maxrate = ht_getrate(ic, range
[all...]
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DBlockAllocator.cpp19 // - find a range of blocks of a certain size nearby a specific position
20 // - allocating an unsharp range of blocks for pre-allocation
357 // PRINT(("range of %ld blocks starting at %ld\n",blocks,start)));
458 // The range to be freed cannot be part of the valid largest range
655 int32 start = -1, range = 0;
663 if (range > 0) {
664 groups[i].AddFreeRange(start, range);
665 range = 0;
667 } else if (range
[all...]

Completed in 146 milliseconds

123456