Searched refs:unit (Results 1 - 25 of 93) sorted by relevance

1234

/haiku-fatelf/src/add-ons/translators/hpgs/lib/
H A Dhpgsbase.c38 Parses a physical paper size with a given unit and returns the
125 Parses a physical length with a given unit and returns the length
139 If no unit is specified, PostScript points (1/72 inch) are assumed.
147 const char *unit="pt"; local
154 if (*endptr) unit = endptr;
156 if (strcmp(unit,"cm")==0)
160 else if (strcmp(unit,"mm")==0)
164 else if (strcmp(unit,"m")==0)
168 else if (strcmp(unit,"inch")==0)
172 else if (strcmp(unit,"p
[all...]
/haiku-fatelf/src/bin/gdb/gdb/
H A Ddwarf2-frame.c1066 read_encoded_value (struct comp_unit *unit, unsigned char encoding,
1087 base = bfd_get_section_vma (unit->bfd, unit->dwarf_frame_section);
1088 base += (buf - unit->dwarf_frame_buffer);
1091 base = unit->dbase;
1094 base = unit->tbase;
1106 offset = buf - unit->dwarf_frame_buffer;
1124 return (base + bfd_get_16 (unit->abfd, (bfd_byte *) buf));
1127 return (base + bfd_get_32 (unit->abfd, (bfd_byte *) buf));
1130 return (base + bfd_get_64 (unit
1058 read_encoded_value(struct comp_unit *unit, unsigned char encoding, char *buf, unsigned int *bytes_read_ptr) argument
1142 find_cie(struct comp_unit *unit, ULONGEST cie_pointer) argument
1158 add_cie(struct comp_unit *unit, struct dwarf2_cie *cie) argument
1201 add_fde(struct comp_unit *unit, struct dwarf2_fde *fde) argument
1219 decode_frame_entry_1(struct comp_unit *unit, char *start, int eh_frame_p) argument
1446 decode_frame_entry(struct comp_unit *unit, char *start, int eh_frame_p) argument
1550 struct comp_unit unit; local
[all...]
/haiku-fatelf/src/bin/gdb/bfd/
H A Ddwarf2.c82 /* The next unread compilation unit within the .debug_info section.
136 unit as specified in the compilation unit header. */
151 /* TRUE if there is a line number table associated with this comp. unit. */
157 /* Pointer to the first child die for the comp unit. */
160 /* The end of the comp unit. */
166 /* A list of the functions found in this comp. unit. */
172 /* Address size for this unit - from unit header. */
175 /* Offset size for this unit
267 read_indirect_string(struct comp_unit* unit, char *buf, unsigned int *bytes_read_ptr) argument
384 read_address(struct comp_unit *unit, char *buf) argument
538 read_attribute_value(struct attribute *attr, unsigned form, struct comp_unit *unit, char *info_ptr) argument
666 read_attribute(struct attribute *attr, struct attr_abbrev *abbrev, struct comp_unit *unit, char *info_ptr) argument
858 arange_add(struct comp_unit *unit, bfd_vma low_pc, bfd_vma high_pc) argument
902 decode_line_info(struct comp_unit *unit, struct dwarf2_debug *stash) argument
1327 scan_unit_for_functions(struct comp_unit *unit) argument
1438 struct comp_unit* unit; local
1570 comp_unit_contains_address(struct comp_unit *unit, bfd_vma addr) argument
1598 comp_unit_find_nearest_line(struct comp_unit *unit, bfd_vma addr, const char **filename_ptr, const char **functionname_ptr, unsigned int *linenumber_ptr, struct dwarf2_debug *stash) argument
[all...]
/haiku-fatelf/src/apps/debugger/dwarf/
H A DDwarfFile.h47 TargetAddressRangeList* ResolveRangeList(CompilationUnit* unit,
50 status_t UnwindCallFrame(CompilationUnit* unit,
58 status_t EvaluateExpression(CompilationUnit* unit,
68 status_t ResolveLocation(CompilationUnit* unit,
83 status_t EvaluateConstantValue(CompilationUnit* unit,
91 status_t EvaluateDynamicValue(CompilationUnit* unit, uint8 addressSize,
108 status_t _ParseCompilationUnit(CompilationUnit* unit);
113 status_t _FinishCompilationUnit(CompilationUnit* unit);
118 status_t _ParseLineInfo(CompilationUnit* unit);
121 CompilationUnit* unit,
[all...]
H A DDwarfFile.cpp63 ExpressionEvaluationContext(DwarfFile* file, CompilationUnit* unit, argument
73 fUnit(unit),
552 WARNING("\"%s\": Invalid compilation unit length.\n", fileName);
563 WARNING("\"%s\": Unexpected end of data in compilation unit "
568 TRACE_DIE("DWARF%d compilation unit: version %d, length: %" B_PRIu64
573 WARNING("\"%s\": Unsupported compilation unit version: %d\n",
587 // create a compilation unit object
588 CompilationUnit* unit = new(std::nothrow) CompilationUnit( local
592 if (unit == NULL || !fCompilationUnits.AddItem(unit)) {
672 ResolveRangeList(CompilationUnit* unit, uint64 offset) const argument
718 UnwindCallFrame(CompilationUnit* unit, uint8 addressSize, DIESubprogram* subprogramEntry, target_addr_t location, const DwarfTargetInterface* inputInterface, DwarfTargetInterface* outputInterface, target_addr_t& _framePointer) argument
743 EvaluateExpression(CompilationUnit* unit, uint8 addressSize, DIESubprogram* subprogramEntry, const void* expression, off_t expressionLength, const DwarfTargetInterface* targetInterface, target_addr_t instructionPointer, target_addr_t framePointer, target_addr_t valueToPush, bool pushValue, target_addr_t& _result) argument
762 ResolveLocation(CompilationUnit* unit, uint8 addressSize, DIESubprogram* subprogramEntry, const LocationDescription* location, const DwarfTargetInterface* targetInterface, target_addr_t instructionPointer, target_addr_t objectPointer, bool hasObjectPointer, target_addr_t framePointer, target_addr_t relocationDelta, ValueLocation& _result) argument
788 EvaluateConstantValue(CompilationUnit* unit, uint8 addressSize, DIESubprogram* subprogramEntry, const ConstantAttributeValue* value, const DwarfTargetInterface* targetInterface, target_addr_t instructionPointer, target_addr_t framePointer, BVariant& _result) argument
824 EvaluateDynamicValue(CompilationUnit* unit, uint8 addressSize, DIESubprogram* subprogramEntry, const DynamicAttributeValue* value, const DwarfTargetInterface* targetInterface, target_addr_t instructionPointer, target_addr_t framePointer, BVariant& _result, DIEType** _type) argument
939 _ParseCompilationUnit(CompilationUnit* unit) argument
1075 _FinishCompilationUnit(CompilationUnit* unit) argument
1369 _ParseLineInfo(CompilationUnit* unit) argument
1479 _UnwindCallFrame(bool usingEHFrameSection, CompilationUnit* unit, uint8 addressSize, DIESubprogram* subprogramEntry, target_addr_t location, const DwarfTargetInterface* inputInterface, DwarfTargetInterface* outputInterface, target_addr_t& _framePointer) argument
1782 _ParseCIEHeader(ElfSection* debugFrameSection, bool usingEHFrameSection, CompilationUnit* unit, uint8 addressSize, CfaContext& context, off_t cieOffset, CIEAugmentation& cieAugmentation, DataReader& dataReader, off_t& _cieRemaining) argument
1860 _ParseFrameInfoInstructions(CompilationUnit* unit, CfaContext& context, DataReader& dataReader, CIEAugmentation& augmentation) argument
2363 _ResolveReference(CompilationUnit* unit, uint64 offset, bool localReference) const argument
2375 _GetLocationExpression(CompilationUnit* unit, const LocationDescription* location, target_addr_t instructionPointer, const void*& _expression, off_t& _length) const argument
2398 _FindLocationExpression(CompilationUnit* unit, uint64 offset, target_addr_t address, const void*& _expression, off_t& _length) const argument
[all...]
/haiku-fatelf/src/bin/
H A Dshutdown.cpp44 char *unit; local
47 gTimeToSleep = strtoul(arg, &unit, 10);
50 gTimeToSleep = strtoul(argv, &unit, 10);
54 if (unit[0] == '\0' || !strcmp(unit, "s"))
56 if (!strcmp(unit, "m")) {
/haiku-fatelf/src/add-ons/kernel/drivers/network/ipro1000/
H A Dif_em.h187 #define EM_ROUNDUP(size, unit) (((size) + (unit) - 1) & ~((unit) - 1))
259 u_int8_t unit; member in struct:adapter
H A Dif_em.c169 adapter->unit = device_get_unit(dev);
276 adapter->unit);
291 adapter->unit);
304 adapter->unit);
312 adapter->unit);
320 adapter->unit);
326 dprintf("ipro1000/%d: Invalid mac address\n", adapter->unit);
349 adapter->unit,
353 dprintf("ipro1000/%d: Speed:N/A Duplex:N/A\n", adapter->unit);
647 dprintf("ipro1000/%d: watchdog timeout -- resetting\n", adapter->unit);
2776 int unit = adapter->unit; local
2817 int unit = adapter->unit; local
[all...]
/haiku-fatelf/src/kits/locale/
H A DTimeUnitFormat.cpp25 // maps our unit element to the corresponding ICU unit
111 BTimeUnitFormat::Format(int32 value, time_unit_element unit, argument
114 if (buffer == NULL || unit < 0 || unit > B_TIME_UNIT_LAST
123 = new TimeUnitAmount((double)value, skUnitMap[unit], icuStatus);
H A DDurationFormat.cpp24 // maps our unit element to the corresponding ICU unit
148 for (int unit = 0; unit <= B_TIME_UNIT_LAST; ++unit) {
150 = fCalendar->fieldDifference(stop, skUnitMap[unit], icuStatus);
160 (time_unit_element)unit, buffer, style);
/haiku-fatelf/headers/libs/print/libprint/
H A DMarginView.h175 MarginUnit unit = kUnitInch);
207 void _SetMarginUnit(MarginUnit unit);
/haiku-fatelf/src/bin/gdb/opcodes/
H A Dia64-dis.c32 /* Return the instruction type for OPCODE found in unit UNIT. */
35 unit_to_type (ia64_insn opcode, enum ia64_unit unit) argument
42 if (op >= 8 && (unit == IA64_UNIT_I || unit == IA64_UNIT_M))
48 switch (unit)
78 enum ia64_unit unit; local
114 unit = ia64_templ_desc[template].exec_unit[slotnum];
125 if (unit == IA64_UNIT_NIL)
128 idesc = ia64_dis_opcode (insn, unit_to_type (insn, unit));
/haiku-fatelf/src/apps/debugger/debug_info/
H A DDwarfImageDebugInfo.cpp308 for (int32 i = 0; CompilationUnit* unit = fFile->CompilationUnitAt(i);
310 DIECompileUnitBase* unitEntry = unit->UnitEntry();
348 TargetAddressRangeList* rangeList = fFile->ResolveRangeList(unit,
382 = new(std::nothrow) DwarfFunctionDebugInfo(this, unit,
449 for (int32 i = 0; CompilationUnit* unit = fFile->CompilationUnitAt(i);
454 // iterate through all types of the compilation unit
456 = unit->UnitEntry()->Types().GetIterator();
486 unit, NULL, 0, 0, fRelocationDelta, inputInterface,
586 CompilationUnit* unit = function != NULL ? function->GetCompilationUnit() local
588 error = fFile->UnwindCallFrame(unit, fArchitectur
712 CompilationUnit* unit = function->GetCompilationUnit(); local
881 CompilationUnit* unit = function->GetCompilationUnit(); local
937 _AddSourceCodeInfo(CompilationUnit* unit, FileSourceCode* sourceCode, int32 fileIndex) argument
994 _GetSourceFileIndex(CompilationUnit* unit, LocatableFile* sourceFile) const argument
1016 _CreateLocalVariables(CompilationUnit* unit, StackFrame* frame, FunctionID* functionID, DwarfStackFrameDebugInfo& factory, target_addr_t instructionPointer, target_addr_t lowPC, const EntryListWrapper& variableEntries, const EntryListWrapper& blockEntries) argument
[all...]
H A DDwarfImageDebugInfo.h93 status_t _AddSourceCodeInfo(CompilationUnit* unit,
96 int32 _GetSourceFileIndex(CompilationUnit* unit,
99 status_t _CreateLocalVariables(CompilationUnit* unit,
/haiku-fatelf/headers/os/locale/
H A DTimeUnitFormat.h50 status_t Format(int32 value, time_unit_element unit,
/haiku-fatelf/src/libs/compat/freebsd_network/
H A Dshared.h27 int unit; member in struct:device
H A Dcompat.c44 device->unit = sNextUnit++;
242 return dev->unit;
319 device_add_child(device_t parent, const char *name, int unit) argument
521 find_root_device(int unit) argument
526 if (device->unit <= unit)
592 resource_int_value(const char *name, int unit, const char *resname, argument
/haiku-fatelf/src/kits/tracker/
H A DMountMenu.cpp107 char unit = 'G'; local
110 unit = 'M';
115 1.0 * partition->Size() / divisor, unit, type);
/haiku-fatelf/src/libs/print/libprint/
H A DMarginView.cpp274 * @param pageWidth, float that is the unit value of the page width
275 * @param pageHeight, float that is the unit value of the page height
520 MarginView::_SetMarginUnit(MarginUnit unit) argument
523 if (unit == fMarginUnit) {
528 fUnitValue = kUnitFormat[unit];
545 // check for target unit is cm
546 if (unit == kUnitCM) {
559 // check for target unit is inches
560 if (unit == kUnitInch) {
568 // check for target unit i
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/
H A Dah_soc.h88 int unit; /* unit number [0, 1] */ member in struct:ar531x_config
/haiku-fatelf/src/add-ons/print/transports/ipp/
H A DIppURLConnection.cpp12 char *itoa(int i, char *buf, int unit) argument
/haiku-fatelf/src/bin/gdb/include/opcode/
H A Dd10v.h61 /* the execution unit(s) used */
62 int unit; member in struct:d10v_opcode
/haiku-fatelf/src/bin/network/tcpdump/libpcap/
H A Dpcap-dlpi.c503 * Split the device name into a device type name and a unit number;
504 * chop off the unit number, so "dname" is just a device type name.
546 * table for the specified device type name and unit number.
565 * Get the unit number, and a pointer to the end of the device
573 * Make a copy of the device pathname, and then remove the unit
579 /* Try device without unit number */
587 /* Try again with unit number */
613 /* XXX Assume unit zero */
967 * Split a device name into a device type name and a unit number;
968 * return the a pointer to the beginning of the unit numbe
979 long unit; local
1612 get_dlpi_ppa(register int fd, register const char *device, register int unit, register char *ebuf) argument
1799 get_dlpi_ppa(register int fd, register const char *ifname, register int unit, register char *ebuf) argument
[all...]
/haiku-fatelf/src/system/boot/platform/amiga_m68k/
H A Ddevices.cpp82 ExecDevice::Open(const char *name, unsigned long unit, unsigned long flags) argument
90 err = exec_error(OpenDevice((uint8 *)name, unit, fIORequest, flags));
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/random_file_actions/
H A Drandom_file_actions.cpp88 char* unit; local
89 off_t size = strtoull(valueWithUnit, &unit, 10);
91 if (strchr(unit, 'G') || strchr(unit, 'g'))
93 else if (strchr(unit, 'M') || strchr(unit, 'm'))
95 else if (strchr(unit, 'K') || strchr(unit, 'k'))

Completed in 303 milliseconds

1234