/asus-wl-520gu-7.0.1.45/src/router/samba/source/printing/ |
H A D | lpq_parse.c | 30 static time_t EntryTime(fstring tok[], int ptr, int count, int minimum) argument 40 for (i=0; i<13; i++) if (!strncmp(tok[ptr], Months[i],3)) break; /* Find month */ 43 day = atoi(tok[ptr+1]); 44 c=(char *)(tok[ptr+2]); 114 char *tok[MAXTOK]; local 130 tok[0] = strtok(line2," \t"); 133 while (((tok[count] = strtok(NULL," \t")) != NULL) && (count < MAXTOK)) { 142 if (!isdigit((int)*tok[JOBTOK]) || !isdigit((int)*tok[TOTALTOK])) return(False); 144 buf->job = atoi(tok[JOBTO 314 fstring tok[11]; local 424 fstring tok[12]; local 519 fstring tok[9]; local 593 fstring tok[7]; local 657 fstring tok[11]; local 881 fstring tok; local [all...] |
/asus-wl-520gu-7.0.1.45/src/router/samba/source/lib/ |
H A D | access.c | 18 static BOOL masked_match(const char *tok, const char *slash, const char *s) argument 28 fstrcpy(tok_cpy, tok); 29 tok_cpy[PTR_DIFF(slash,tok)] = '\0'; 31 tok_cpy[PTR_DIFF(slash,tok)] = '/'; 42 DEBUG(0,("access: bad net/mask access control: %s\n", tok)); 50 static BOOL string_match(const char *tok,const char *s, char *invalid_char) argument 72 if (tok[0] == '.') { /* domain: match last fields */ 73 if ((str_len = strlen(s)) > (tok_len = strlen(tok)) 74 && strequal(tok, s + str_len - tok_len)) 76 } else if (tok[ 134 client_match(const char *tok, const char *item) argument [all...] |
H A D | system_brcm.c | 69 char *tok; local 93 tok = strsep( &ptr, ":" ); 94 if (tok == NULL) 96 if (strcmp(name, tok) == 0) 99 result.pw_name = tok; 124 char *tok; local 145 tok = strsep( &ptr, ":" ); 146 if (tok == NULL) 150 result.pw_name = tok; 279 char *tok; [all...] |
H A D | util_sid.c | 281 pstring tok; local 300 if (!next_token(&p, tok, "-", sizeof(tok))) { 307 sidout->sid_rev_num = (uint8)strtoul(tok, NULL, 10); 309 if (!next_token(&p, tok, "-", sizeof(tok))) { 316 ia = (uint32)strtoul(tok, NULL, 10); 328 while(next_token(&p, tok, "-", sizeof(tok)) && 334 sid_append_rid(sidout, (uint32)strtoul(tok, NUL [all...] |
H A D | util_sock.c | 117 fstring tok; local 119 while (next_token(&options,tok," \t,", sizeof(tok))) { 125 if ((p = strchr_m(tok,'='))) { 132 if (strequal(socket_options[i].name,tok)) 136 DEBUG(0,("Unknown socket option %s\n",tok)); 149 DEBUG(0,("syntax error - %s does not take a value\n",tok)); 160 DEBUG(0,("Failed to set socket option %s (Error %s)\n",tok, strerror(errno) ));
|
/asus-wl-520gu-7.0.1.45/src/router/samba/source/tdb/ |
H A D | tdbtool.c | 172 char *tok = get_token(1); local 173 if (!tok) { 178 tdb = tdb_open(tok, 0, TDB_CLEAR_IF_FIRST, 181 printf("Could not create %s: %s\n", tok, strerror(errno)); 187 char *tok = get_token(1); local 188 if (!tok) { 193 tdb = tdb_open(tok, 0, 0, O_RDWR, 0600); 195 printf("Could not open %s: %s\n", tok, strerror(errno)); 458 char *tok; local 464 tok [all...] |
/asus-wl-520gu-7.0.1.45/src/router/samba/source/ubiqx/ |
H A D | debugparse.h | 65 const char *dbg_token2string( dbg_Token tok ); 69 * Input: tok - One of the set of dbg_Tokens defined in debugparse.h.
|
H A D | debugparse.c | 48 const char *dbg_token2string( dbg_Token tok ) 52 * Input: tok - One of the set of dbg_Tokens defined in debugparse.h. 63 switch( tok )
|
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/net/ |
H A D | net_dns.c | 118 char *tok; local 153 while ((tok = strchr(ptr,'.'))) { 154 ebuf_append_u8(buf,(tok-ptr)); 155 ebuf_append_bytes(buf,ptr,(tok-ptr)); 156 ptr = tok + 1; 308 char *tok; local 321 tok = net_getparam(NET_DOMAIN); 322 if (tok) { 323 xsprintf(temphostname,"%s.%s",hostname,tok);
|
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/arch/mips/cpu/sb1250/src/ |
H A D | cfe_tests.c | 121 char *tok; local 127 tok = cmd_getarg(cmd, 0); 128 if (!tok) { 190 fh = cfe_open(tok);
|
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/ui/ |
H A D | ui_test_ether.c | 122 char *tok; local 132 tok = cmd_getarg(cmd,0); 133 if (!tok) return -1; 143 fh = cfe_open(tok);
|
H A D | ui_test_disk.c | 131 char *tok; local 143 tok = cmd_getarg(cmd,0); 144 if (!tok) return -1; 146 fh = cfe_open(tok); 227 char *tok; local 235 tok = cmd_getarg(cmd,0); 236 if (!tok) return -1; 240 res = fs_init("fat",&fsctx,tok); 344 char *tok; local 359 tok [all...] |
H A D | ui_examcmds.c | 173 char *tok; local 183 while ((tok = gettoken(&tail))) { 187 b = (uint8_t) xtoq(tok); 194 h = (uint16_t) xtoq(tok); 201 w = (uint32_t) xtoq(tok); 208 q = (uint64_t) xtoq(tok);
|
/asus-wl-520gu-7.0.1.45/src/router/samba/source/utils/ |
H A D | smbcacls.c | 230 fstring tok; local 255 if (!next_token(&cp, tok, "/", sizeof(fstring))) { 259 if (strncmp(tok, "ALLOWED", strlen("ALLOWED")) == 0) { 261 } else if (strncmp(tok, "DENIED", strlen("DENIED")) == 0) { 269 if (!(next_token(&cp, tok, "/", sizeof(fstring)) && 270 sscanf(tok, "%i", &aflags))) { 274 if (!next_token(&cp, tok, "/", sizeof(fstring))) { 278 if (strncmp(tok, "0x", 2) == 0) { 279 if (sscanf(tok, "%i", &amask) != 1) { 286 if (strcmp(tok, 341 fstring tok; local [all...] |
H A D | debug2html.c | 164 static void charprint( dbg_Token tok, int c ) argument 168 * Input: tok - The token value of the current character. 176 switch( tok )
|
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/main/ |
H A D | cfe_httpfs.c | 155 char *tok; local 279 tok = lib_gettoken(&hptr); 280 if (!tok || (memcmp(tok,"HTTP",4) != 0)) { 285 tok = lib_gettoken(&hptr); 286 if (!tok) { 291 switch (lib_atoi(tok)) {
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/parisc/kernel/ |
H A D | lba_pci.c | 214 #define LBA_CFG_BUS(tok) ((u8) ((tok)>>16)) 215 #define LBA_CFG_DEV(tok) ((u8) ((tok)>>11) & 0x1f) 216 #define LBA_CFG_FUNC(tok) ((u8) ((tok)>>8 ) & 0x7) 267 #define LBA_CFG_SETUP(d, tok) { \ 296 #define LBA_CFG_PROBE(d, tok) { \ 301 WRITE_REG32(tok | PCI_VENDOR_ID, (d)->hba.base_addr + LBA_PCI_CFG_ADDR);\ 347 #define LBA_CFG_MASTER_ABORT_CHECK(d, base, tok, erro 406 lba_rd_cfg(struct lba_device *d, u32 tok, u8 reg, u32 size) argument 489 lba_wr_cfg( struct lba_device *d, u32 tok, u8 reg, u32 data, u32 size) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/usb/host/ |
H A D | ehci.h | 274 #define QTD_LENGTH(tok) (((tok)>>16) & 0x7fff) 276 #define QTD_CERR(tok) (((tok)>>10) & 0x3) 277 #define QTD_PID(tok) (((tok)>>8) & 0x3) 460 #define EHCI_ITD_LENGTH(tok) (((tok)>>16) & 0x0fff)
|
/asus-wl-520gu-7.0.1.45/src/router/samba/source/auth/ |
H A D | auth_sam.c | 132 fstring tok; local 134 while (next_token(&s, tok, ",", sizeof(tok))) { 136 tok, user_info->wksta_name.str, user_info->wksta_name.len)); 137 if(strequal(tok, user_info->wksta_name.str)) {
|
/asus-wl-520gu-7.0.1.45/src/router/samba/source/web/ |
H A D | cgi.c | 110 char *p, *s, *tok; local 167 for (tok=strtok(s,"&;");tok;tok=strtok(NULL,"&;")) { 168 p = strchr_m(tok,'='); 173 variables[num_variables].name = strdup(tok);
|
/asus-wl-520gu-7.0.1.45/src/router/samba/source/smbd/ |
H A D | server.c | 234 fstring tok; local 242 for (ptr=ports; next_token(&ptr, tok, NULL, sizeof(tok)); ) { 243 unsigned port = atoi(tok); 271 fstring tok; local 276 for (ptr=ports; next_token(&ptr, tok, NULL, sizeof(tok)); ) { 277 unsigned port = atoi(tok);
|
/asus-wl-520gu-7.0.1.45/src/router/samba/source/libsmb/ |
H A D | namequery.c | 926 pstring tok; local 945 while (next_token(&ptr, tok, " ", sizeof(tok))) { 947 char *p = strchr(tok, ':'); 952 (*return_iplist)[i].ip = *interpret_addr2(tok); 995 fstring tok; local 1057 while (next_token(&ptr, tok, LIST_SEP, sizeof(tok))) { 1058 if((strequal(tok, "host") || strequal(tok, "host [all...] |
H A D | libsmbclient.c | 2675 fstring tok; local 2723 if (!next_token(&cp, tok, "/", sizeof(fstring))) { 2727 if (StrnCaseCmp(tok, "ALLOWED", strlen("ALLOWED")) == 0) { 2729 } else if (StrnCaseCmp(tok, "DENIED", strlen("DENIED")) == 0) { 2737 if (!(next_token(&cp, tok, "/", sizeof(fstring)) && 2738 sscanf(tok, "%i", &aflags))) { 2742 if (!next_token(&cp, tok, "/", sizeof(fstring))) { 2746 if (strncmp(tok, "0x", 2) == 0) { 2747 if (sscanf(tok, "%i", &amask) != 1) { 2754 if (strcmp(tok, 2814 fstring tok; local [all...] |
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/hosttools/ |
H A D | memconfig.c | 273 char *tok; local 340 tok = strtok(x," ,"); 342 while (tok) { 345 if (strcmp(ev->name,tok) == 0) break; 349 printf("%s: Invalid value. Valid values are: ",tok); 356 tok = strtok(NULL," ,");
|
/asus-wl-520gu-7.0.1.45/src/router/config/ |
H A D | expr.h | 155 #define for_all_properties(sym, st, tok) \ 157 if (st->type == (tok))
|