/haiku-fatelf/src/system/libroot/posix/glibc/stdio-common/ |
H A D | printf-parse.h | 33 /* Information parsed from the format spec. */ 37 spec and the next (or to the end of the string if no more). */ 91 /* Find the next spec in FORMAT, or the end of the string. Returns 124 /* FORMAT must point to a '%' at the beginning of a spec. Fills in *SPEC 127 the number of args consumed by this spec; *MAX_REF_ARG is updated so it 131 parse_one_spec (const UCHAR_T *format, size_t posn, struct printf_spec *spec, argument 134 parse_one_spec (const UCHAR_T *format, size_t posn, struct printf_spec *spec, 145 spec->data_arg = -1; 146 spec->info.alt = 0; 147 spec [all...] |
H A D | printf-parse.c | 69 struct printf_spec spec; local 73 for (fmt = find_spec(fmt /*, &mbstate*/); *fmt != '\0'; fmt = spec.next_fmt) { 74 /* Parse this spec. */ 75 nargs += parse_one_spec(fmt, nargs, &spec, &max_ref_arg /*, &mbstate*/); 78 if (spec.width_arg != -1 && (size_t)spec.width_arg < n) 79 argtypes[spec.width_arg] = PA_INT; 82 if (spec.prec_arg != -1 && (size_t) spec.prec_arg < n) 83 argtypes[spec [all...] |
H A D | printf-prs.c | 82 struct printf_spec spec; local 89 for (fmt = find_spec (fmt, &mbstate); *fmt != '\0'; fmt = spec.next_fmt) 91 /* Parse this spec. */ 92 nargs += parse_one_spec (fmt, nargs, &spec, &max_ref_arg, &mbstate); 95 if (spec.width_arg != -1 && (size_t) spec.width_arg < n) 96 argtypes[spec.width_arg] = PA_INT; 99 if (spec.prec_arg != -1 && (size_t) spec.prec_arg < n) 100 argtypes[spec [all...] |
H A D | reg-printf.c | 39 __register_printf_function (spec, converter, arginfo) 40 int spec; 44 if (spec < 0 || spec > (int) UCHAR_MAX) 60 __printf_function_table[spec] = converter; 61 __printf_arginfo_table[spec] = arginfo;
|
H A D | printf_fphex.c | 118 info->spec == 'A'); \ 121 16, info->spec == 'A'); \ 125 numstr = _itoa (num, numbuf + sizeof numbuf, 16, info->spec == 'A');\ 128 16, info->spec == 'A'); \ 257 if (isupper (info->spec)) 273 if (isupper (info->spec)) 296 if (isupper (info->spec)) 312 if (isupper (info->spec)) 370 info->spec == 'A'); 372 info->spec [all...] |
/haiku-fatelf/headers/private/libroot/ |
H A D | time_private.h | 38 bigtime_to_timespec(bigtime_t time, timespec& spec) argument 40 spec.tv_sec = time / 1000000; 41 spec.tv_nsec = (time % 1000000) * 1000; 46 timespec_to_bigtime(const timespec& spec, bigtime_t& _time) argument 48 if (spec.tv_sec < 0 || spec.tv_nsec < 0 || spec.tv_nsec >= 1000000000) 51 _time = (bigtime_t)spec.tv_sec * 1000000 + (spec.tv_nsec + 999) / 1000; 58 timeval_to_timespec(const timeval& val, timespec& spec) argument 71 timespec_to_timeval(const timespec& spec, timeval& val) argument [all...] |
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | ntfstime.h | 70 struct timespec spec; local 74 spec.tv_sec = (cputime - (NTFS_TIME_OFFSET)) / 10000000; 75 spec.tv_nsec = (cputime - (NTFS_TIME_OFFSET) 76 - (s64)spec.tv_sec*10000000)*100; 78 if ((spec.tv_nsec < 0) || (spec.tv_nsec > 999999999)) 79 spec.tv_nsec = 0; 80 return (spec); 99 static __inline__ ntfs_time timespec2ntfs(struct timespec spec) argument 103 units = (s64)spec [all...] |
/haiku-fatelf/headers/private/graphics/intel_extreme/ |
H A D | AreaKeeper.h | 23 area_id Create(const char *name, void **_virtualAddress, uint32 spec, 26 uint32 spec, uint32 protection, void **_virtualAddress); 51 AreaKeeper::Create(const char *name, void **_virtualAddress, uint32 spec, argument 54 fArea = create_area(name, _virtualAddress, spec, size, lock, protection); 61 uint32 spec, uint32 protection, void **_virtualAddress) 63 fArea = map_physical_memory(name, (addr_t)physicalAddress, numBytes, spec, 60 Map(const char *name, void *physicalAddress, size_t numBytes, uint32 spec, uint32 protection, void **_virtualAddress) argument
|
/haiku-fatelf/headers/private/graphics/radeon_hd/ |
H A D | AreaKeeper.h | 23 area_id Create(const char *name, void **_virtualAddress, uint32 spec, 26 uint32 spec, uint32 protection, void **_virtualAddress); 51 AreaKeeper::Create(const char *name, void **_virtualAddress, uint32 spec, argument 54 fArea = create_area(name, _virtualAddress, spec, size, lock, protection); 61 uint32 spec, uint32 protection, void **_virtualAddress) 63 fArea = map_physical_memory(name, (addr_t)physicalAddress, numBytes, spec, 60 Map(const char *name, void *physicalAddress, size_t numBytes, uint32 spec, uint32 protection, void **_virtualAddress) argument
|
/haiku-fatelf/src/system/libroot/posix/sys/ |
H A D | itimer.cpp | 25 itimerval_to_itimerspec(const itimerval& val, itimerspec& spec) argument 27 return timeval_to_timespec(val.it_value, spec.it_value) 28 && timeval_to_timespec(val.it_interval, spec.it_interval); 33 itimerspec_to_itimerval(const itimerspec& spec, itimerval& val) argument 35 timespec_to_timeval(spec.it_value, val.it_value); 36 timespec_to_timeval(spec.it_interval, val.it_interval);
|
/haiku-fatelf/src/servers/print/ |
H A D | Transport.Scripting.cpp | 39 BMessage spec; local 42 if ((rc=msg->GetCurrentSpecifier(&idx,&spec)) == B_OK 43 && (rc=spec.FindString("property",&propName)) == B_OK) { 81 Transport::ResolveSpecifier(BMessage* msg, int32 index, BMessage* spec, argument 88 switch (idx=prop_info.FindMatch(msg,0,spec,form,prop)) { 90 rc = Inherited::ResolveSpecifier(msg,index,spec,form,prop);
|
H A D | Printer.Scripting.cpp | 47 BMessage spec; local 50 if ((rc=msg->GetCurrentSpecifier(&idx,&spec)) == B_OK && 51 (rc=spec.FindString("property",&propName)) == B_OK) { 88 Printer::ResolveSpecifier(BMessage* msg, int32 index, BMessage* spec, argument 95 switch( idx=prop_info.FindMatch(msg,0,spec,form,prop) ) { 97 rc = Inherited::ResolveSpecifier(msg,index,spec,form,prop);
|
H A D | PrintServerApp.Scripting.cpp | 56 BMessage spec; local 59 if (msg->GetCurrentSpecifier(&idx,&spec) == B_OK && 60 spec.FindString("property",&propName) == B_OK) { 116 Printer* printer = GetPrinterFromSpecifier(&spec); 213 PrintServerApp::ResolveSpecifier(BMessage* msg, int32 index, BMessage* spec, argument 220 switch( idx=prop_info.FindMatch(msg,0,spec,form,prop) ) { 222 rc = Inherited::ResolveSpecifier(msg,index,spec,form,prop); 226 if ((rc=GetPrinterFromSpecifier(spec)) == NULL) { 237 if ((rc=GetTransportFromSpecifier(spec)) == NULL) {
|
/haiku-fatelf/src/tests/kits/app/bpropertyinfo/ |
H A D | PropertyFindMatchTest.cpp | 132 uint32 spec, 138 BMessage specMsg(spec); 143 assert(propTest->FindMatch(&msg, 0, &specMsg, spec, prop, &extra_data) == result); 147 assert(propTest->FindMatch(&msg, 0, NULL, spec, prop, &extra_data) == result); 149 assert(propTest->FindMatch(&msg, 1, &specMsg, spec, prop, &extra_data) == result); 150 assert(propTest->FindMatch(&msg, 1, NULL, spec, prop, &extra_data) == result); 152 assert(propTest->FindMatch(&msg, 1, &specMsg, spec, prop, &extra_data) == -1); 153 assert(propTest->FindMatch(&msg, 1, NULL, spec, prop, &extra_data) == -1); 128 ExecFindMatch( BPropertyInfo *propTest, const char *prop, uint32 comm, uint32 spec, bool wildcardCommand, int32 result ) argument
|
H A D | PropertyFindMatchTest.h | 25 uint32 spec,
|
/haiku-fatelf/src/bin/coreutils/lib/ |
H A D | userspec.c | 102 parse_with_separator (char const *spec, char const *separator, argument 108 static const char *E_bad_spec = N_("invalid spec"); 129 if (*spec) 130 u = xstrdup (spec); 134 size_t ulen = separator - spec; 137 u = xmemdup (spec, ulen + 1); 247 parse_user_spec (char const *spec, uid_t *uid, gid_t *gid, argument 250 char const *colon = strchr (spec, ':'); 252 parse_with_separator (spec, colon, uid, gid, username, groupname); 257 whole spec faile [all...] |
/haiku-fatelf/src/system/libroot/posix/time/ |
H A D | timer_support.cpp | 28 info_to_itimerspec(const user_timer_info& info, itimerspec& spec) argument 30 bigtime_to_timespec(info.interval, spec.it_interval); 34 bigtime_to_timespec(info.remaining_time, spec.it_value); 36 spec.it_value.tv_sec = 0; 37 spec.it_value.tv_nsec = 0; 43 itimerspec_to_bigtimes(const itimerspec& spec, bigtime_t& _nextTime, argument 46 if (!timespec_to_bigtime(spec.it_interval, _interval) 47 || !timespec_to_bigtime(spec.it_value, _nextTime)) {
|
/haiku-fatelf/src/add-ons/print/transports/ipp/ |
H A D | URL.cpp | 8 URL::URL(const char *spec) argument 15 if (spec) { 16 char *temp_spec = new char[strlen(spec) + 1]; 17 strcpy(temp_spec, spec);
|
H A D | URL.h | 17 URL(const char *spec); 20 // URL(URL &, const char *spec);
|
/haiku-fatelf/src/libs/posix_error_mapper/ |
H A D | pthread_mutex.cpp | 43 (pthread_mutex_t *mutex, const struct timespec *spec), 44 return B_TO_POSITIVE_ERROR(sReal_pthread_mutex_timedlock(mutex, spec));
|
/haiku-fatelf/src/servers/notification/ |
H A D | NotificationServer.h | 21 virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* spec,
|
H A D | NotificationServer.cpp | 85 BMessage* spec, int32 from, const char* prop) 95 return BApplication::ResolveSpecifier(msg, index, spec, from, prop); 84 ResolveSpecifier(BMessage* msg, int32 index, BMessage* spec, int32 from, const char* prop) argument
|
/haiku-fatelf/src/add-ons/kernel/debugger/qrencode/ |
H A D | qrspec.c | 237 void QRspec_getEccSpec(int version, QRecLevel level, int spec[5]) argument 248 spec[0] = b1; 249 spec[1] = data / b1; 250 spec[2] = ecc / b1; 251 spec[3] = spec[4] = 0; 253 spec[0] = b1; 254 spec[1] = data / (b1 + b2); 255 spec[2] = ecc / (b1 + b2); 256 spec[ [all...] |
/haiku-fatelf/src/bin/coreutils/src/ |
H A D | od.c | 108 /* Each output format specification (from `-t spec' or from 238 static struct tspec *spec; variable in typeref:struct:tspec 941 spec = X2NREALLOC (spec, &n_specs_allocated); 943 if (! decode_one_format (s_orig, s, &next, &spec[n_specs])) 1118 format spec. When duplicate blocks are being abbreviated, the output 1155 int datum_width = width_bytes[spec[i].size]; 1162 (*spec[i].print_function) (fields_per_block, blank_fields, 1163 curr_block, spec[i].fmt_string, 1164 spec[ [all...] |
/haiku-fatelf/src/libs/alm/ |
H A D | RowColumnManager.h | 40 RowColumnManager(LinearSpec* spec);
|