tag | line | file | source code |
c | 68 | fs/ext/dir.c | char c; |
c | 100 | fs/ext/dir.c | if ((c = de->name[i]) != 0) |
c | 101 | fs/ext/dir.c | put_fs_byte(c,i+dirent->d_name); |
c | 196 | fs/ext/file.c | int written,c; |
c | 224 | fs/ext/file.c | c = BLOCK_SIZE - (pos % BLOCK_SIZE); |
c | 225 | fs/ext/file.c | if (c > count-written) |
c | 226 | fs/ext/file.c | c = count-written; |
c | 227 | fs/ext/file.c | if (c != BLOCK_SIZE && !bh->b_uptodate) { |
c | 238 | fs/ext/file.c | pos += c; |
c | 243 | fs/ext/file.c | written += c; |
c | 244 | fs/ext/file.c | memcpy_fromfs(p,buf,c); |
c | 245 | fs/ext/file.c | buf += c; |
c | 625 | fs/ext/namei.c | char c; |
c | 642 | fs/ext/namei.c | while (i < 1023 && (c = *(symname++))) |
c | 643 | fs/ext/namei.c | name_block->b_data[i++] = c; |
c | 89 | fs/ext/symlink.c | char c; |
c | 102 | fs/ext/symlink.c | while (i<buflen && (c = bh->b_data[i])) { |
c | 104 | fs/ext/symlink.c | put_fs_byte(c,buffer++); |
c | 202 | fs/ext2/file.c | int written, c; |
c | 236 | fs/ext2/file.c | c = sb->s_blocksize - (pos % sb->s_blocksize); |
c | 237 | fs/ext2/file.c | if (c > count-written) |
c | 238 | fs/ext2/file.c | c = count - written; |
c | 239 | fs/ext2/file.c | if (c != sb->s_blocksize && !bh->b_uptodate) { |
c | 250 | fs/ext2/file.c | pos += c; |
c | 255 | fs/ext2/file.c | written += c; |
c | 256 | fs/ext2/file.c | memcpy_fromfs (p, buf, c); |
c | 257 | fs/ext2/file.c | buf += c; |
c | 628 | fs/ext2/namei.c | char c; |
c | 659 | fs/ext2/namei.c | while (i < inode->i_sb->s_blocksize - 1 && (c = *(symname ++))) |
c | 660 | fs/ext2/namei.c | link[i++] = c; |
c | 97 | fs/ext2/symlink.c | char c; |
c | 116 | fs/ext2/symlink.c | while (i < buflen && (c = link[i])) { |
c | 118 | fs/ext2/symlink.c | put_fs_byte (c, buffer++); |
c | 67 | fs/isofs/dir.c | char c = 0; |
c | 178 | fs/isofs/dir.c | if (!(c = dpnt[i])) break; |
c | 179 | fs/isofs/dir.c | if (c >= 'A' && c <= 'Z') c |= 0x20; /* lower case */ |
c | 180 | fs/isofs/dir.c | if (c == ';' && i == dlen-2 && de->name[i+1] == '1') |
c | 182 | fs/isofs/dir.c | if (c == ';') c = '.'; /* Convert remaining ';' to '.' */ |
c | 183 | fs/isofs/dir.c | dpnt[i] = c; |
c | 75 | fs/isofs/namei.c | char c; |
c | 154 | fs/isofs/namei.c | c = dpnt[i]; |
c | 155 | fs/isofs/namei.c | if (c >= 'A' && c <= 'Z') c |= 0x20; /* lower case */ |
c | 156 | fs/isofs/namei.c | if (c == ';' && i == dlen-2 && dpnt[i+1] == '1') { |
c | 160 | fs/isofs/namei.c | if (c == ';') c = '.'; |
c | 161 | fs/isofs/namei.c | de->name[i] = c; |
c | 83 | fs/isofs/symlink.c | char c; |
c | 99 | fs/isofs/symlink.c | while (i<buflen && (c = pnt[i])) { |
c | 101 | fs/isofs/symlink.c | put_fs_byte(c,buffer++); |
c | 61 | fs/minix/dir.c | char c; |
c | 84 | fs/minix/dir.c | if ((c = de->name[i]) != 0) |
c | 85 | fs/minix/dir.c | put_fs_byte(c,i+dirent->d_name); |
c | 190 | fs/minix/file.c | int written,c; |
c | 218 | fs/minix/file.c | c = BLOCK_SIZE - (pos % BLOCK_SIZE); |
c | 219 | fs/minix/file.c | if (c > count-written) |
c | 220 | fs/minix/file.c | c = count-written; |
c | 221 | fs/minix/file.c | if (c != BLOCK_SIZE && !bh->b_uptodate) { |
c | 232 | fs/minix/file.c | pos += c; |
c | 237 | fs/minix/file.c | written += c; |
c | 238 | fs/minix/file.c | memcpy_fromfs(p,buf,c); |
c | 239 | fs/minix/file.c | buf += c; |
c | 540 | fs/minix/namei.c | char c; |
c | 557 | fs/minix/namei.c | while (i < 1023 && (c=*(symname++))) |
c | 558 | fs/minix/namei.c | name_block->b_data[i++] = c; |
c | 83 | fs/minix/symlink.c | char c; |
c | 96 | fs/minix/symlink.c | while (i<buflen && (c = bh->b_data[i])) { |
c | 98 | fs/minix/symlink.c | put_fs_byte(c,buffer++); |
c | 61 | fs/msdos/dir.c | char c,*walk; |
c | 84 | fs/msdos/dir.c | if (!(c = de->name[i])) break; |
c | 85 | fs/msdos/dir.c | if (c >= 'A' && c <= 'Z') c += 32; |
c | 86 | fs/msdos/dir.c | if (c != ' ') last = i+1; |
c | 87 | fs/msdos/dir.c | put_fs_byte(c,i+dirent->d_name); |
c | 93 | fs/msdos/dir.c | if (!(c = de->ext[i2])) break; |
c | 94 | fs/msdos/dir.c | if (c >= 'A' && c <= 'Z') c += 32; |
c | 95 | fs/msdos/dir.c | if (c != ' ') last = i+1; |
c | 96 | fs/msdos/dir.c | put_fs_byte(c,i+dirent->d_name); |
c | 37 | fs/msdos/namei.c | char c; |
c | 48 | fs/msdos/namei.c | c = 0; |
c | 50 | fs/msdos/namei.c | c = *name++; |
c | 52 | fs/msdos/namei.c | if (conv != 'r' && strchr(bad_chars,c)) return -EINVAL; |
c | 53 | fs/msdos/namei.c | if (conv == 's' && strchr(bad_if_strict,c)) return -EINVAL; |
c | 54 | fs/msdos/namei.c | if (c >= 'A' && c <= 'Z' && conv == 's') return -EINVAL; |
c | 55 | fs/msdos/namei.c | if (c < ' ' || c == ':' || c == '\\') return -EINVAL; |
c | 56 | fs/msdos/namei.c | if (c == '.') break; |
c | 57 | fs/msdos/namei.c | space = c == ' '; |
c | 58 | fs/msdos/namei.c | *walk = c >= 'a' && c <= 'z' ? c-32 : c; |
c | 61 | fs/msdos/namei.c | if (conv == 's' && len && c != '.') { |
c | 62 | fs/msdos/namei.c | c = *name++; |
c | 64 | fs/msdos/namei.c | if (c != '.') return -EINVAL; |
c | 66 | fs/msdos/namei.c | while (c != '.' && len--) c = *name++; |
c | 67 | fs/msdos/namei.c | if (c == '.') { |
c | 70 | fs/msdos/namei.c | c = *name++; |
c | 72 | fs/msdos/namei.c | if (conv != 'r' && strchr(bad_chars,c)) return -EINVAL; |
c | 73 | fs/msdos/namei.c | if (conv == 's' && strchr(bad_if_strict,c)) |
c | 75 | fs/msdos/namei.c | if (c < ' ' || c == ':' || c == '\\' || c == '.') |
c | 77 | fs/msdos/namei.c | if (c >= 'A' && c <= 'Z' && conv == 's') return -EINVAL; |
c | 78 | fs/msdos/namei.c | space = c == ' '; |
c | 79 | fs/msdos/namei.c | *walk++ = c >= 'a' && c <= 'z' ? c-32 : c; |
c | 33 | fs/namei.c | char * tmp, c; |
c | 44 | fs/namei.c | c = get_fs_byte(filename++); |
c | 45 | fs/namei.c | if (!c) |
c | 52 | fs/namei.c | *(tmp++) = c; |
c | 53 | fs/namei.c | c = get_fs_byte(filename++); |
c | 54 | fs/namei.c | if (!c) { |
c | 163 | fs/namei.c | char c; |
c | 173 | fs/namei.c | if ((c = *pathname) == '/') { |
c | 181 | fs/namei.c | for(len=0;(c = *(pathname++))&&(c != '/');len++) |
c | 183 | fs/namei.c | if (!c) |
c | 86 | fs/nfs/symlink.c | char c; |
c | 103 | fs/nfs/symlink.c | for (i = 0; i < buflen && (c = res[i]); i++) |
c | 104 | fs/nfs/symlink.c | put_fs_byte(c,buffer++); |
c | 33 | fs/proc/array.c | int a, b, c; |
c | 37 | fs/proc/array.c | c = avenrun[2] + (FIXED_1/200); |
c | 41 | fs/proc/array.c | LOAD_INT(c), LOAD_FRAC(c)); |
c | 116 | fs/proc/array.c | char c; |
c | 125 | fs/proc/array.c | c = *(char *) addr; |
c | 126 | fs/proc/array.c | if (!c) |
c | 129 | fs/proc/array.c | buffer[size++] = c; |
c | 56 | fs/proc/fd.c | unsigned int ino, pid, fd, c; |
c | 89 | fs/proc/fd.c | c = *name - '0'; |
c | 91 | fs/proc/fd.c | if (c > 9) { |
c | 96 | fs/proc/fd.c | fd += c; |
c | 69 | fs/proc/root.c | unsigned int pid, c; |
c | 93 | fs/proc/root.c | c = *name - '0'; |
c | 95 | fs/proc/root.c | if (c > 9) { |
c | 100 | fs/proc/root.c | pid += c; |
c | 189 | fs/xiafs/file.c | int written, c; |
c | 217 | fs/xiafs/file.c | c = XIAFS_ZSIZE(inode->i_sb) - (pos & (XIAFS_ZSIZE(inode->i_sb) - 1)); |
c | 218 | fs/xiafs/file.c | if (c > count-written) |
c | 219 | fs/xiafs/file.c | c = count-written; |
c | 220 | fs/xiafs/file.c | if (c != XIAFS_ZSIZE(inode->i_sb) && !bh->b_uptodate) { |
c | 231 | fs/xiafs/file.c | pos += c; |
c | 236 | fs/xiafs/file.c | written += c; |
c | 237 | fs/xiafs/file.c | memcpy_fromfs(cp,buf,c); |
c | 238 | fs/xiafs/file.c | buf += c; |
c | 585 | fs/xiafs/namei.c | char c; |
c | 607 | fs/xiafs/namei.c | for (i = 0; i < BLOCK_SIZE-1 && (c=*symname++); i++) |
c | 608 | fs/xiafs/namei.c | name_block->b_data[i] = c; |
c | 51 | fs/xiafs/symlink.c | char c; |
c | 67 | fs/xiafs/symlink.c | for (i=0; i < buflen && (c=bh->b_data[i]); i++) |
c | 68 | fs/xiafs/symlink.c | put_fs_byte(c, buffer++); |
c | 16 | include/linux/ctype.h | #define isalnum(c) ((_ctype+1)[c]&(_U|_L|_D)) |
c | 17 | include/linux/ctype.h | #define isalpha(c) ((_ctype+1)[c]&(_U|_L)) |
c | 18 | include/linux/ctype.h | #define iscntrl(c) ((_ctype+1)[c]&(_C)) |
c | 19 | include/linux/ctype.h | #define isdigit(c) ((_ctype+1)[c]&(_D)) |
c | 20 | include/linux/ctype.h | #define isgraph(c) ((_ctype+1)[c]&(_P|_U|_L|_D)) |
c | 21 | include/linux/ctype.h | #define islower(c) ((_ctype+1)[c]&(_L)) |
c | 22 | include/linux/ctype.h | #define isprint(c) ((_ctype+1)[c]&(_P|_U|_L|_D|_SP)) |
c | 23 | include/linux/ctype.h | #define ispunct(c) ((_ctype+1)[c]&(_P)) |
c | 24 | include/linux/ctype.h | #define isspace(c) ((_ctype+1)[c]&(_S)) |
c | 25 | include/linux/ctype.h | #define isupper(c) ((_ctype+1)[c]&(_U)) |
c | 26 | include/linux/ctype.h | #define isxdigit(c) ((_ctype+1)[c]&(_D|_X)) |
c | 28 | include/linux/ctype.h | #define isascii(c) (((unsigned) c)<=0x7f) |
c | 29 | include/linux/ctype.h | #define toascii(c) (((unsigned) c)&0x7f) |
c | 31 | include/linux/ctype.h | #define tolower(c) (_ctmp=c,isupper(_ctmp)?_ctmp-('A'-'a'):_ctmp) |
c | 32 | include/linux/ctype.h | #define toupper(c) (_ctmp=c,islower(_ctmp)?_ctmp-('a'-'A'):_ctmp) |
c | 27 | include/linux/ioctl.h | #define _IO(c,d) (IOC_VOID | ((d)<<16) | c) /* param encoded */ |
c | 31 | include/linux/ioctl.h | #define _IOW(c,d,t) (IOC_IN | ((sizeof(t)<<16) & IOCSIZE_MASK) | \ |
c | 32 | include/linux/ioctl.h | (c<<8) | d) |
c | 33 | include/linux/ioctl.h | #define _IOR(c,d,t) (IOC_OUT | ((sizeof(t)<<16) & IOCSIZE_MASK) | \ |
c | 34 | include/linux/ioctl.h | (c<<8) | d) |
c | 36 | include/linux/ioctl.h | #define _IOWR(c,d,t) (IOC_INOUT | ((sizeof(t)<<16) & IOCSIZE_MASK) | \ |
c | 37 | include/linux/ioctl.h | (c<<8) | d) |
c | 123 | include/linux/string.h | extern inline char * strchr(const char * s,char c) |
c | 136 | include/linux/string.h | :"=a" (__res):"S" (s),"0" (c):"si"); |
c | 140 | include/linux/string.h | extern inline char * strrchr(const char * s,char c) |
c | 152 | include/linux/string.h | :"=d" (__res):"0" (0),"S" (s),"a" (c):"ax","si"); |
c | 383 | include/linux/string.h | extern inline void * memchr(const void * cs,char c,size_t count) |
c | 394 | include/linux/string.h | :"=D" (__res):"a" (c),"D" (cs),"c" (count) |
c | 399 | include/linux/string.h | extern inline void * memset(void * s,char c,size_t count) |
c | 404 | include/linux/string.h | ::"a" (c),"D" (s),"c" (count) |
c | 134 | include/linux/tty.h | extern void put_tty_queue(char c, struct tty_queue * queue); |
c | 175 | include/linux/unistd.h | #define _syscall3(type,name,atype,a,btype,b,ctype,c) \ |
c | 176 | include/linux/unistd.h | type name(atype a,btype b,ctype c) \ |
c | 182 | include/linux/unistd.h | : "0" (__NR_##name),"g" ((long)(a)),"c" ((long)(b)),"d" ((long)(c)):"bx"); \ |
c | 189 | include/linux/unistd.h | #define _syscall4(type,name,atype,a,btype,b,ctype,c,dtype,d) \ |
c | 190 | include/linux/unistd.h | type name (atype a, btype b, ctype c, dtype d) \ |
c | 197 | include/linux/unistd.h | "d" ((long)(c)),"S" ((long)(d))); \ |
c | 204 | include/linux/unistd.h | #define _syscall5(type,name,atype,a,btype,b,ctype,c,dtype,d,etype,e) \ |
c | 205 | include/linux/unistd.h | type name (atype a,btype b,ctype c,dtype d,etype e) \ |
c | 212 | include/linux/unistd.h | "d" ((long)(c)),"S" ((long)(d)),"D" ((long)(e))); \ |
c | 81 | kernel/FPU-emu/fpu_etc.c | int c=0; |
c | 85 | kernel/FPU-emu/fpu_etc.c | c = SW_C3|SW_C0; |
c | 88 | kernel/FPU-emu/fpu_etc.c | c = SW_C3; |
c | 92 | kernel/FPU-emu/fpu_etc.c | c = SW_C2; |
c | 94 | kernel/FPU-emu/fpu_etc.c | c = SW_C3|SW_C2; |
c | 97 | kernel/FPU-emu/fpu_etc.c | c = SW_C0; |
c | 100 | kernel/FPU-emu/fpu_etc.c | c = SW_C2|SW_C0; |
c | 104 | kernel/FPU-emu/fpu_etc.c | c |= SW_C1; |
c | 105 | kernel/FPU-emu/fpu_etc.c | setcc(c); |
c | 479 | kernel/FPU-emu/fpu_trig.c | int c = 0; |
c | 490 | kernel/FPU-emu/fpu_trig.c | if (q&4) c |= SW_C3; |
c | 491 | kernel/FPU-emu/fpu_trig.c | if (q&2) c |= SW_C1; |
c | 492 | kernel/FPU-emu/fpu_trig.c | if (q&1) c |= SW_C0; |
c | 494 | kernel/FPU-emu/fpu_trig.c | setcc(c); |
c | 117 | kernel/FPU-emu/reg_compare.c | int c = compare(&FPU_loaded_data); |
c | 119 | kernel/FPU-emu/reg_compare.c | if (c & COMP_NAN) |
c | 125 | kernel/FPU-emu/reg_compare.c | switch (c) |
c | 152 | kernel/FPU-emu/reg_compare.c | int c = compare(&st(nr)); |
c | 154 | kernel/FPU-emu/reg_compare.c | if (c & COMP_NAN) |
c | 160 | kernel/FPU-emu/reg_compare.c | switch (c) |
c | 188 | kernel/FPU-emu/reg_compare.c | int c = compare(&st(nr)); |
c | 189 | kernel/FPU-emu/reg_compare.c | if (c & COMP_NAN) |
c | 191 | kernel/FPU-emu/reg_compare.c | if (c & COMP_SNAN) /* This is the only difference between |
c | 197 | kernel/FPU-emu/reg_compare.c | switch (c) |
c | 55 | kernel/FPU-emu/reg_constant.c | static void fld_const(FPU_REG *c) |
c | 65 | kernel/FPU-emu/reg_constant.c | reg_move(c, FPU_st0_ptr); |
c | 149 | kernel/FPU-emu/reg_ld_str.c | int c = FPU_loaded_data.sign; |
c | 151 | kernel/FPU-emu/reg_ld_str.c | FPU_loaded_data.sign = c; |
c | 197 | kernel/FPU-emu/reg_ld_str.c | int c = FPU_loaded_data.sign; |
c | 199 | kernel/FPU-emu/reg_ld_str.c | FPU_loaded_data.sign = c; |
c | 204 | kernel/blk_drv/hd.c | unsigned char c; |
c | 207 | kernel/blk_drv/hd.c | c = inb_p(HD_STATUS); |
c | 208 | kernel/blk_drv/hd.c | c &= (BUSY_STAT | READY_STAT | SEEK_STAT); |
c | 209 | kernel/blk_drv/hd.c | if (c == (READY_STAT | SEEK_STAT)) |
c | 212 | kernel/blk_drv/hd.c | printk("HD controller times out, status = 0x%02x\n",c); |
c | 156 | kernel/chr_drv/atixlmouse.c | unsigned char a,b,c; |
c | 160 | kernel/chr_drv/atixlmouse.c | c = inb( ATIXL_MSE_SIGNATURE_PORT ); |
c | 161 | kernel/chr_drv/atixlmouse.c | if (( a != b ) && ( a == c )) |
c | 895 | kernel/chr_drv/console.c | int c; |
c | 904 | kernel/chr_drv/console.c | while (!tty->stopped && (c = get_tty_queue(&tty->write_q)) >= 0) { |
c | 905 | kernel/chr_drv/console.c | if (state == ESnormal && translate[c]) { |
c | 912 | kernel/chr_drv/console.c | c = translate[c]; |
c | 913 | kernel/chr_drv/console.c | *(char *) pos = c; |
c | 928 | kernel/chr_drv/console.c | switch (c) { |
c | 975 | kernel/chr_drv/console.c | switch (c) { |
c | 1026 | kernel/chr_drv/console.c | if (c == '[') { /* Function key */ |
c | 1030 | kernel/chr_drv/console.c | ques = (c=='?'); |
c | 1034 | kernel/chr_drv/console.c | if (c==';' && npar<NPAR-1) { |
c | 1037 | kernel/chr_drv/console.c | } else if (c>='0' && c<='9') { |
c | 1039 | kernel/chr_drv/console.c | par[npar] += c-'0'; |
c | 1044 | kernel/chr_drv/console.c | switch(c) { |
c | 1063 | kernel/chr_drv/console.c | switch(c) { |
c | 1166 | kernel/chr_drv/console.c | if (c == '8') { |
c | 1176 | kernel/chr_drv/console.c | if (c == '0') |
c | 1178 | kernel/chr_drv/console.c | else if (c == 'B') |
c | 1180 | kernel/chr_drv/console.c | else if (c == 'U') |
c | 1187 | kernel/chr_drv/console.c | if (c == '0') |
c | 1189 | kernel/chr_drv/console.c | else if (c == 'B') |
c | 1191 | kernel/chr_drv/console.c | else if (c == 'U') |
c | 1221 | kernel/chr_drv/console.c | void * memsetw(void * s,unsigned short c,int count) |
c | 1226 | kernel/chr_drv/console.c | ::"a" (c),"D" (s),"c" (count) |
c | 1459 | kernel/chr_drv/console.c | char c; |
c | 1463 | kernel/chr_drv/console.c | while ((c = *(b++)) != 0) { |
c | 1464 | kernel/chr_drv/console.c | if (c == 10 || c == 13 || need_wrap) { |
c | 1465 | kernel/chr_drv/console.c | if (c != 13) |
c | 1468 | kernel/chr_drv/console.c | if (c == 10 || c == 13) |
c | 1471 | kernel/chr_drv/console.c | *(char *) pos = c; |
c | 194 | kernel/chr_drv/lp.c | char c, *temp = buf; |
c | 206 | kernel/chr_drv/lp.c | c = get_fs_byte(temp); |
c | 207 | kernel/chr_drv/lp.c | retval = lp_char_polled(c, minor); |
c | 226 | kernel/chr_drv/psaux.c | unsigned char c; |
c | 242 | kernel/chr_drv/psaux.c | c = get_from_queue(); |
c | 243 | kernel/chr_drv/psaux.c | put_fs_byte(c, buffer++); |
c | 41 | kernel/chr_drv/pty.c | int c; |
c | 50 | kernel/chr_drv/pty.c | c = get_tty_queue(&from->write_q); |
c | 51 | kernel/chr_drv/pty.c | put_tty_queue(c, &to->read_q); |
c | 92 | kernel/chr_drv/tty_io.c | void put_tty_queue(char c, struct tty_queue * queue) |
c | 100 | kernel/chr_drv/tty_io.c | queue->buf[queue->head] = c; |
c | 468 | kernel/chr_drv/tty_io.c | int c, special_flag; |
c | 485 | kernel/chr_drv/tty_io.c | c = LEFT(&tty->secondary); |
c | 486 | kernel/chr_drv/tty_io.c | if (tty->throttle && (c < SQ_THRESHOLD_LW) |
c | 489 | kernel/chr_drv/tty_io.c | if (c == 0) |
c | 493 | kernel/chr_drv/tty_io.c | c = 0xff & tty->read_q.buf[tty->read_q.tail]; |
c | 504 | kernel/chr_drv/tty_io.c | tty->char_error = c & 3; |
c | 527 | kernel/chr_drv/tty_io.c | put_tty_queue(c, &tty->secondary); |
c | 533 | kernel/chr_drv/tty_io.c | c &= 0x7f; |
c | 534 | kernel/chr_drv/tty_io.c | else if (I_PARMRK(tty) && (c == 0377)) |
c | 536 | kernel/chr_drv/tty_io.c | if (c==13) { |
c | 538 | kernel/chr_drv/tty_io.c | c=10; |
c | 541 | kernel/chr_drv/tty_io.c | } else if (c==10 && I_NLCR(tty)) |
c | 542 | kernel/chr_drv/tty_io.c | c=13; |
c | 544 | kernel/chr_drv/tty_io.c | c=tolower(c); |
c | 545 | kernel/chr_drv/tty_io.c | if (c == __DISABLED_CHAR) |
c | 548 | kernel/chr_drv/tty_io.c | if (c == KILL_CHAR(tty) || c == WERASE_CHAR(tty)) { |
c | 550 | kernel/chr_drv/tty_io.c | (c == WERASE_CHAR(tty)) ? 0 : -1; |
c | 554 | kernel/chr_drv/tty_io.c | (c=LAST(&tty->secondary))==10 || |
c | 556 | kernel/chr_drv/tty_io.c | (c==EOF_CHAR(tty))))) { |
c | 561 | kernel/chr_drv/tty_io.c | if (isalnum(c)) |
c | 567 | kernel/chr_drv/tty_io.c | if (c<32) { |
c | 580 | kernel/chr_drv/tty_io.c | if (c == ERASE_CHAR(tty)) { |
c | 582 | kernel/chr_drv/tty_io.c | (c=LAST(&tty->secondary))==10 || |
c | 584 | kernel/chr_drv/tty_io.c | (c==EOF_CHAR(tty)))) |
c | 587 | kernel/chr_drv/tty_io.c | if (c<32) { |
c | 599 | kernel/chr_drv/tty_io.c | if (c == LNEXT_CHAR(tty)) { |
c | 609 | kernel/chr_drv/tty_io.c | if (c == STOP_CHAR(tty)) { |
c | 620 | kernel/chr_drv/tty_io.c | (c == START_CHAR(tty))) { |
c | 632 | kernel/chr_drv/tty_io.c | if (c == INTR_CHAR(tty)) { |
c | 637 | kernel/chr_drv/tty_io.c | if (c == QUIT_CHAR(tty)) { |
c | 642 | kernel/chr_drv/tty_io.c | if (c == SUSPEND_CHAR(tty)) { |
c | 650 | kernel/chr_drv/tty_io.c | if (c==10 || (EOF_CHAR(tty) != __DISABLED_CHAR && |
c | 651 | kernel/chr_drv/tty_io.c | c==EOF_CHAR(tty))) |
c | 653 | kernel/chr_drv/tty_io.c | if ((c==10) && (L_ECHO(tty) || (L_CANON(tty) && L_ECHONL(tty)))) { |
c | 657 | kernel/chr_drv/tty_io.c | if (c<32 && L_ECHOCTL(tty)) { |
c | 659 | kernel/chr_drv/tty_io.c | put_tty_queue(c+64, &tty->write_q); |
c | 661 | kernel/chr_drv/tty_io.c | c==EOF_CHAR(tty) && !tty->lnext) { |
c | 666 | kernel/chr_drv/tty_io.c | put_tty_queue(c, &tty->write_q); |
c | 669 | kernel/chr_drv/tty_io.c | put_tty_queue(c, &tty->secondary); |
c | 705 | kernel/chr_drv/tty_io.c | int c; |
c | 764 | kernel/chr_drv/tty_io.c | while (nr > 0 && ((c = get_tty_queue(&tty->secondary)) >= 0)) { |
c | 766 | kernel/chr_drv/tty_io.c | c==EOF_CHAR(tty)) || c==10) |
c | 769 | kernel/chr_drv/tty_io.c | c==EOF_CHAR(tty)) && L_CANON(tty)) |
c | 771 | kernel/chr_drv/tty_io.c | put_fs_byte(c,b++); |
c | 775 | kernel/chr_drv/tty_io.c | if (c==10 && L_CANON(tty)) |
c | 862 | kernel/chr_drv/tty_io.c | char c, *b=buf; |
c | 888 | kernel/chr_drv/tty_io.c | c=get_fs_byte(b); |
c | 890 | kernel/chr_drv/tty_io.c | if (c=='\r' && O_CRNL(tty)) |
c | 891 | kernel/chr_drv/tty_io.c | c='\n'; |
c | 892 | kernel/chr_drv/tty_io.c | else if (c=='\n' && O_NLRET(tty)) |
c | 893 | kernel/chr_drv/tty_io.c | c='\r'; |
c | 894 | kernel/chr_drv/tty_io.c | if (c=='\n' && O_NLCR(tty) && |
c | 900 | kernel/chr_drv/tty_io.c | c=toupper(c); |
c | 904 | kernel/chr_drv/tty_io.c | put_tty_queue(c,&tty->write_q); |
c | 104 | kernel/chr_drv/tty_ioctl.c | char *c, *d; |
c | 113 | kernel/chr_drv/tty_ioctl.c | c = (char *)(*p); |
c | 116 | kernel/chr_drv/tty_ioctl.c | put_fs_byte(*c++, d++); |
c | 244 | kernel/chr_drv/tty_ioctl.c | char c, * tmp; |
c | 251 | kernel/chr_drv/tty_ioctl.c | c = get_fs_byte(i + (char *) ws); |
c | 252 | kernel/chr_drv/tty_ioctl.c | if (c == *tmp) |
c | 255 | kernel/chr_drv/tty_ioctl.c | *tmp = c; |
c | 52 | kernel/printk.c | char c; |
c | 77 | kernel/printk.c | c = *((char *) log_buf+log_start); |
c | 81 | kernel/printk.c | put_fs_byte(c,buf); |
c | 101 | kernel/printk.c | c = *((char *) log_buf + (j++ & 4095)); |
c | 102 | kernel/printk.c | put_fs_byte(c, buf++); |
c | 104 | kernel/sched.c | int i,next,c; |
c | 123 | kernel/sched.c | c = -1; |
c | 130 | kernel/sched.c | if ((*p)->state == TASK_RUNNING && (*p)->counter > c) |
c | 131 | kernel/sched.c | c = (*p)->counter, next = i; |
c | 133 | kernel/sched.c | if (c) |
c | 43 | kernel/vsprintf.c | #define is_digit(c) ((c) >= '0' && (c) <= '9') |
c | 70 | kernel/vsprintf.c | char c,sign,tmp[36]; |
c | 78 | kernel/vsprintf.c | c = (type & ZEROPAD) ? '0' : ' ' ; |
c | 109 | kernel/vsprintf.c | *str++ = c; |
c | 119 | net/tcp/sock.c | #define swap(a,b) {unsigned long c; c=a; a=b; b=c;} |
c | 113 | net/tcp/tcp.c | #define swap(a,b) {unsigned long c; c=a; a=b; b=c;} |
c | 87 | tools/build.c | int i,c,id, sz; |
c | 166 | tools/build.c | for (i=0 ; (c=read(id,buf,sizeof buf))>0 ; i+=c ) |
c | 167 | tools/build.c | if (write(1,buf,c)!=c) |
c | 169 | tools/build.c | if (c != 0) |
c | 176 | tools/build.c | for (c=0 ; c<sizeof(buf) ; c++) |
c | 177 | tools/build.c | buf[c] = '\0'; |
c | 179 | tools/build.c | c = SETUP_SECTS*512-i; |
c | 180 | tools/build.c | if (c > sizeof(buf)) |
c | 181 | tools/build.c | c = sizeof(buf); |
c | 182 | tools/build.c | if (write(1,buf,c) != c) |
c | 184 | tools/build.c | i += c; |
c | 188 | zBoot/gzip.h | #define put_byte(c) {outbuf[outcnt++]=(uch)(c); if (outcnt==OUTBUFSIZ)\ |
c | 190 | zBoot/gzip.h | #define put_char(c) {window[outcnt++]=(uch)(c); if (outcnt==WSIZE)\ |
c | 213 | zBoot/gzip.h | #define tolow(c) (isupper(c) ? (c)-'A'+'a' : (c)) /* force to lower case */ |
c | 225 | zBoot/gzip.h | # define Tracec(c,x) {if (verbose && (c)) fprintf x ;} |
c | 226 | zBoot/gzip.h | # define Tracecv(c,x) {if (verbose>1 && (c)) fprintf x ;} |
c | 232 | zBoot/gzip.h | # define Tracec(c,x) |
c | 233 | zBoot/gzip.h | # define Tracecv(c,x) |
c | 114 | zBoot/inflate.c | unsigned c[BMAX+1]; /* bit length count table */ |
c | 136 | zBoot/inflate.c | memzero(c, sizeof(c)); |
c | 139 | zBoot/inflate.c | c[*p++]++; /* assume all entries <= BMAX */ |
c | 141 | zBoot/inflate.c | if (c[0] == n) /* null input--all zero length codes */ |
c | 153 | zBoot/inflate.c | if (c[j]) |
c | 159 | zBoot/inflate.c | if (c[i]) |
c | 170 | zBoot/inflate.c | if ((y -= c[j]) < 0) |
c | 172 | zBoot/inflate.c | if ((y -= c[i]) < 0) |
c | 174 | zBoot/inflate.c | c[i] += y; |
c | 180 | zBoot/inflate.c | p = c + 1; xp = x + 2; |
c | 210 | zBoot/inflate.c | a = c[k]; |
c | 228 | zBoot/inflate.c | xp = c + k; |
c | 118 | zBoot/misc.c | __ptr_t memset(__ptr_t s, int c, size_t n) |
c | 123 | zBoot/misc.c | for (i=0;i<n;i++) ss[i] = c; |
c | 146 | zBoot/misc.c | register ulg c; /* temporary variable */ |
c | 151 | zBoot/misc.c | c = 0xffffffffL; |
c | 153 | zBoot/misc.c | c = crc; |
c | 155 | zBoot/misc.c | c = crc_32_tab[((int)c ^ (*s++)) & 0xff] ^ (c >> 8); |
c | 158 | zBoot/misc.c | crc = c; |
c | 159 | zBoot/misc.c | return c ^ 0xffffffffL; /* (instead of ~c for 64-bit machines) */ |
c | 228 | zBoot/misc.c | unsigned long c; /* crc shift register */ |
c | 245 | zBoot/misc.c | c = 0; |
c | 248 | zBoot/misc.c | c = c & 1 ? (c >> 1) ^ e : c >> 1; |
c | 250 | zBoot/misc.c | c ^= e; |
c | 252 | zBoot/misc.c | crc_32_tab[i] = c; |
c | 18 | zBoot/piggyback.c | int c, n=0, len=0; |
c | 133 | zBoot/unzip.c | uch c = (uch)get_byte(); |
c | 135 | zBoot/unzip.c | if (decrypt) zdecode(c); |
c | 137 | zBoot/unzip.c | if (!test) put_char(c); |
c | 38 | zBoot/xtract.c | int i,c,id, sz; |