Searched refs:hours (Results 1 - 25 of 39) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/scripts/
H A Dautopppd17 my ($hours,$minutes,$seconds) = split(/:/,shift);
18 return ($hours*60+$minutes)*60+$seconds;
26 my $hours = $total % 24; $total = ($total - $hours)/24;
29 return(sprintf("%d-%02d:%02d:%02d",$days,$hours,$minutes,$seconds));
31 return(sprintf("%02d:%02d:%02d",$hours,$minutes,$seconds));
53 toseconds("01:00:00"), # 2 hours
54 toseconds("01:00:00"), # 3 hours
55 toseconds("03:00:00"), # 6 hours
56 toseconds("06:00:00"), # 12 hours
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/utils/
H A Dnet_time.c91 "net time zone\n\tdisplays the timezone in hours from GMT on the remote computer\n\n"\
131 int hours, mins; local
143 hours = zone / 60;
146 printf("%c%02d%02d\n", zsign, hours, mins);
H A Dnet_rpc_samsync.c47 int days, hours, mins, secs; local
69 hours=(sec - (days*60*60*24)) / (60*60);
70 mins=(sec - (days*60*60*24) - (hours*60*60) ) / 60;
71 secs=sec - (days*60*60*24) - (hours*60*60) - (mins*60);
73 fstr_sprintf(string, "%u days, %u hours, %u minutes, %u seconds", days, hours, mins, secs);
H A Dpdbedit.c135 const uint8 *hours; local
177 hours = pdb_get_hours(sam_pwent);
178 pdb_sethexhours(temp, (const char *)hours);
179 printf ("Logon hours : %s\n", temp);
306 const BOOL badpw, const BOOL hours,
322 if (hours) {
701 {"logon-hours-reset", 'Z', POPT_ARG_NONE, &hours_reset, 0, "reset logon hours", NULL},
876 /* if logon hours is reset, must modify */
300 set_user_info(struct pdb_context *in, const char *username, const char *fullname, const char *homedir, const char *acct_desc, const char *drive, const char *script, const char *profile, const char *account_control, const char *user_sid, const char *group_sid, const BOOL badpw, const BOOL hours, time_t pwd_can_change, time_t pwd_must_change) argument
H A Dsmbget.c199 int secs, mins, hours; local
207 hours = (int)t / (60 * 60);
208 snprintf(buffer, sizeof(buffer)-1, "%02d:%02d:%02d", hours, mins, secs);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/script/
H A Dmknissmbpwdtbl.sh36 hours=,nw+r \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/auth/
H A Dauth_sam.c70 servers local time, as logon hours are just specified as a weekly
76 /* In logon hours first bit is Sunday from 12AM to 1AM */
78 const uint8 *hours; local
82 hours = pdb_get_hours(sampass);
83 if (!hours) {
84 DEBUG(5,("logon_hours_ok: No hours restrictions for user %s\n",pdb_get_username(sampass)));
94 if (! (hours[bitpos/8] & bitmask)) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-m68k/
H A Dapollohw.h53 unsigned char hours, alarm_hours; member in struct:mc146818
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/modules/
H A Dgetdate.y640 to_hour (int hours, int meridian)
645 return 0 <= hours && hours < 24 ? hours : -1;
647 return 0 < hours && hours < 12 ? hours : hours == 12 ? 0 : -1;
649 return 0 < hours && hours < 1
[all...]
H A Dgetdate.c1987 to_hour (int hours, int meridian)
1992 return 0 <= hours && hours < 24 ? hours : -1;
1994 return 0 < hours && hours < 12 ? hours : hours == 12 ? 0 : -1;
1996 return 0 < hours && hours < 1
1982 to_hour(int hours, int meridian) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/ospf6d/
H A Dospf6d.c109 char days[16], hours[16], mins[16], secs[16], msecs[16], usecs[16];
114 snprintf (hours, sizeof (hours), "%ld hours ", hour);
121 (day ? days : ""), (hour ? hours : ""),
129 char days[16], hours[16], mins[16], secs[16], msecs[16], usecs[16];
134 snprintf (hours, sizeof (hours), "%ldh", hour);
108 char days[16], hours[16], mins[16], secs[16], msecs[16], usecs[16]; local
128 char days[16], hours[16], mins[16], secs[16], msecs[16], usecs[16]; local
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/passdb/
H A Dpassdb.c70 user->private.logon_divs = 168; /* hours per week */
72 memset(user->private.hours, 0xff, user->private.hours_len); /* available at all hours */
587 Routine to set 42 hex hours characters from a 21 byte array.
590 void pdb_sethexhours(char *p, const unsigned char *hours) argument
592 if (hours != NULL) {
595 slprintf(&p[i*2], 3, "%02X", hours[i]);
607 BOOL pdb_gethexhours(const char *p, unsigned char *hours) argument
632 hours[i / 2] = (hinybble << 4) | lonybble;
1404 uint8 *hours local
1583 uint8 *hours = NULL; local
1769 uint8 *hours = NULL; local
[all...]
H A Dpdb_get_set.c126 return (sampass->private.hours);
457 BOOL pdb_set_logon_divs (SAM_ACCOUNT *sampass, uint16 hours, enum pdb_value_state flag) argument
462 sampass->private.logon_divs = hours;
1073 BOOL pdb_set_hours (SAM_ACCOUNT *sampass, const uint8 *hours, enum pdb_value_state flag) argument
1078 if (!hours) {
1079 memset ((char *)sampass->private.hours, 0, MAX_HOURS_LEN);
1083 memcpy (sampass->private.hours, hours, MAX_HOURS_LEN);
H A Dpdb_sql.c267 config_value_read(data, "hours len column",
376 "hours len column",
H A Dpdb_ldap.c462 uint8 hours[MAX_HOURS_LEN]; local
689 /* FIXME: hours stuff should be cleaner */
693 memset(hours, 0xff, hours_len);
837 pdb_gethexhours(temp, hours);
839 pdb_set_hours(sampass, hours, PDB_SET);
840 ZERO_STRUCT(hours);
1125 const char *hours = pdb_get_hours(sampass); local
1126 if (hours) {
1127 pdb_sethexhours(temp, hours);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/m68k/apollo/
H A Dconfig.c218 t->tm_hour=rtc->hours;
226 rtc->hours=t->tm_hour;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/rpc_server/
H A Dsrv_samr_util.c265 DEBUG(15,("INFO_21 LOGON_HRS.HOURS: %s -> %s\n",pdb_get_hours(to),from->logon_hrs.hours));
267 pdb_sethexhours(new, (const char *)from->logon_hrs.hours);
269 pdb_set_hours(to, from->logon_hrs.hours, PDB_CHANGED);
490 DEBUG(15,("INFO_23 LOGON_HRS.HOURS: %s -> %s\n",pdb_get_hours(to),from->logon_hrs.hours));
492 pdb_set_hours(to, from->logon_hrs.hours, PDB_CHANGED);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/syslib/
H A Dtodc_time.c311 hour = todc_read_val(todc_info->hours) & 0x3f;
398 todc_write_val(todc_info->hours, tm.tm_hour);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iptables-1.4.12.1/extensions/
H A Dlibxt_time.c364 static inline void divide_time(unsigned int fulltime, unsigned int *hours, argument
370 *hours = fulltime / 60;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-ppc/
H A Dtodc.h55 int hours; member in struct:__anon9346
456 todc_info->hours = clock_type ##_HOURS; \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/rpcclient/
H A Dcmd_samr.c116 int days, hours, mins, secs; local
136 hours=(sec - (days*60*60*24)) / (60*60);
137 mins=(sec - (days*60*60*24) - (hours*60*60) ) / 60;
138 secs=sec - (days*60*60*24) - (hours*60*60) - (mins*60);
140 fstr_sprintf(string, "%u days, %u hours, %u minutes, %u seconds", days, hours, mins, secs);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/lib/
H A Dtime.c84 int hours = 24*days + (a->tm_hour - b->tm_hour); local
85 int minutes = 60*hours + (a->tm_min - b->tm_min);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/minidlna/
H A Dmetadata.c575 int duration, hours, min, sec, ms; local
718 hours = (int)(duration / 3600);
722 asprintf(&m.duration, "%d:%02d:%02d.%03d", hours, min, sec, ms);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/minidlna.07.26/
H A Dmetadata.c639 int duration, hours, min, sec, ms; local
800 hours = (int)(duration / 3600);
804 asprintf(&m.duration, "%d:%02d:%02d.%03d", hours, min, sec, ms);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/drivers/
H A Dmts64.c153 u8 hours, u8 minutes,
367 u8 hours, u8 minutes,
381 mts64_write_command(p, hours);
366 mts64_smpte_start(struct parport *p, u8 hours, u8 minutes, u8 seconds, u8 frames, u8 idx) argument

Completed in 174 milliseconds

12