| /netbsd-src/bin/stty/ |
| H A D | print.c | 86 #define put(n, f, d) \ in print() macro 93 put("-icanon", ICANON, 1); in print() 94 put("-isig", ISIG, 1); in print() 95 put("-iexten", IEXTEN, 1); in print() 96 put("-echo", ECHO, 1); in print() 97 put("-echoe", ECHOE, 0); in print() 98 put("-echok", ECHOK, 0); in print() 99 put("-echoke", ECHOKE, 0); in print() 100 put("-echonl", ECHONL, 0); in print() 101 put("-echoctl", ECHOCTL, 0); in print() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/ |
| H A D | demangle.d | 253 put(", "); 256 char[] put(char c) return scope 259 return put(val[]); 262 char[] put( scope const(char)[] val ) return scope 287 put('0'); 289 put(s); 298 put( val ); 500 put( "real.infinity" ); 509 put( "-real.infinity" ); 515 put( "real.nan" ); [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/digest/ |
| H A D | hmac.d | 81 digest.put(secret); in this() 100 hmac.put("Hello, world".representation); 126 digest.put(ipad[]); 138 hmac.put(data1.representation); 140 hmac.put(data2.representation); // start over 156 ref HMAC!(H, blockSize) put(in ubyte[] data...) return 158 digest.put(data); 169 hmac.put(data1.representation) 170 .put(data2.representation); 191 digest.put(opad[]); [all …]
|
| /netbsd-src/sys/lib/libsa/ |
| H A D | subr_prf.c | 81 #define KPRINTN(base) kprintn(put, ul, base, lflag, width) 86 put('0'); \ 93 put(' '); \ 100 put(' '); \ 104 #define KPRINTN(base) kprintn(put, ul, base) 163 kdoprnt(void (*put)(int), const char *fmt, va_list ap) in kdoprnt() 178 put(ch); in kdoprnt() 249 put(ch & 0xFF); in kdoprnt() 261 put(ch); in kdoprnt() 275 put(' in kdoprnt() [all...] |
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/digest/ |
| H A D | hmac.d | 79 digest.put(secret); in this() 98 hmac.put("Hello, world".representation); 124 digest.put(ipad[]); 136 hmac.put(data1.representation); 138 hmac.put(data2.representation); // start over 154 ref HMAC!(H, blockSize) put(in ubyte[] data...) return 156 digest.put(data); 167 hmac.put(data1.representation) 168 .put(data2.representation); 189 digest.put(opad[]); [all …]
|
| H A D | crc.d | 79 crc.put(data[]); 81 crc.put(data[]); 97 crc.put(data[]); 99 crc.put(data[]); 192 void put(scope const(ubyte)[] data...) @trusted pure nothrow @nogc in put() function 308 hash32.put(data); 310 hash64ecma.put(data); 312 hash64iso.put(data); 324 hash.put(cast(ubyte) 0); 353 crc.put(cast(ubyte[])"abcdefghijklmnopqrstuvwxyz"); [all …]
|
| /netbsd-src/common/dist/zlib/examples/ |
| H A D | gznorm.c | 118 unsigned char *put; // next input buffer location to process in gzip_normalize() local 132 strm.next_in = put = dat; in gzip_normalize() 183 put = strm.next_in; in gzip_normalize() 238 buf += (unsigned long)*put++ << num; in gzip_normalize() 252 if (put == strm.next_in) in gzip_normalize() 256 buf += (unsigned long)*put++ << num; in gzip_normalize() 286 if (put == strm.next_in) in gzip_normalize() 310 if (put < end) { in gzip_normalize() 315 buf += (unsigned)(*put++) << num; in gzip_normalize() 318 } while (put < end); in gzip_normalize() [all …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/zlib/examples/ |
| H A D | gznorm.c | 118 unsigned char *put; // next input buffer location to process in gzip_normalize() local 132 strm.next_in = put = dat; in gzip_normalize() 183 put = strm.next_in; in gzip_normalize() 238 buf += (unsigned long)*put++ << num; in gzip_normalize() 252 if (put == strm.next_in) in gzip_normalize() 256 buf += (unsigned long)*put++ << num; in gzip_normalize() 286 if (put == strm.next_in) in gzip_normalize() 310 if (put < end) { in gzip_normalize() 315 buf += (unsigned)(*put++) << num; in gzip_normalize() 318 } while (put < end); in gzip_normalize() [all …]
|
| /netbsd-src/external/gpl3/gdb/dist/zlib/examples/ |
| H A D | gznorm.c | 118 unsigned char *put; // next input buffer location to process in gzip_normalize() local 132 strm.next_in = put = dat; in gzip_normalize() 183 put = strm.next_in; in gzip_normalize() 238 buf += (unsigned long)*put++ << num; in gzip_normalize() 252 if (put == strm.next_in) in gzip_normalize() 256 buf += (unsigned long)*put++ << num; in gzip_normalize() 286 if (put == strm.next_in) in gzip_normalize() 310 if (put < end) { in gzip_normalize() 315 buf += (unsigned)(*put++) << num; in gzip_normalize() 318 } while (put < end); in gzip_normalize() [all …]
|
| /netbsd-src/external/gpl3/binutils/dist/zlib/examples/ |
| H A D | gznorm.c | 118 unsigned char *put; // next input buffer location to process in gzip_normalize() local 132 strm.next_in = put = dat; in gzip_normalize() 183 put = strm.next_in; in gzip_normalize() 238 buf += (unsigned long)*put++ << num; in gzip_normalize() 252 if (put == strm.next_in) in gzip_normalize() 256 buf += (unsigned long)*put++ << num; in gzip_normalize() 286 if (put == strm.next_in) in gzip_normalize() 310 if (put < end) { in gzip_normalize() 315 buf += (unsigned)(*put++) << num; in gzip_normalize() 318 } while (put < end); in gzip_normalize() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | ordered-hash-map-tests.cc | 74 ASSERT_EQ (false, m.put (ostrich, 2)); in test_map_of_strings_to_int() 75 ASSERT_EQ (false, m.put (elephant, 4)); in test_map_of_strings_to_int() 76 ASSERT_EQ (false, m.put (ant, 6)); in test_map_of_strings_to_int() 77 ASSERT_EQ (false, m.put (spider, 8)); in test_map_of_strings_to_int() 78 ASSERT_EQ (false, m.put (millipede, 750)); in test_map_of_strings_to_int() 79 ASSERT_EQ (false, m.put (eric, 3)); in test_map_of_strings_to_int() 131 ASSERT_EQ (false, m.put (2, ostrich)); in test_map_of_int_to_strings() 132 ASSERT_EQ (false, m.put (4, elephant)); in test_map_of_int_to_strings() 133 ASSERT_EQ (false, m.put (6, ant)); in test_map_of_int_to_strings() 134 ASSERT_EQ (false, m.put (8, spider)); in test_map_of_int_to_strings() [all …]
|
| H A D | hash-map-tests.cc | 60 ASSERT_EQ (false, m.put (ostrich, 2)); in test_map_of_strings_to_int() 61 ASSERT_EQ (false, m.put (elephant, 4)); in test_map_of_strings_to_int() 62 ASSERT_EQ (false, m.put (ant, 6)); in test_map_of_strings_to_int() 63 ASSERT_EQ (false, m.put (spider, 8)); in test_map_of_strings_to_int() 64 ASSERT_EQ (false, m.put (millipede, 750)); in test_map_of_strings_to_int() 65 ASSERT_EQ (false, m.put (eric, 3)); in test_map_of_strings_to_int() 94 ASSERT_EQ (false, m.put (another_ant, 7)); in test_map_of_strings_to_int() 100 ASSERT_EQ (false, string_map.put (ant, 1)); in test_map_of_strings_to_int() 102 ASSERT_EQ (true, string_map.put (another_ant, 5)); in test_map_of_strings_to_int() 131 ASSERT_EQ (false, m.put (2, ostrich)); in test_map_of_int_to_strings() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | ordered-hash-map-tests.cc | 74 ASSERT_EQ (false, m.put (ostrich, 2)); in test_map_of_strings_to_int() 75 ASSERT_EQ (false, m.put (elephant, 4)); in test_map_of_strings_to_int() 76 ASSERT_EQ (false, m.put (ant, 6)); in test_map_of_strings_to_int() 77 ASSERT_EQ (false, m.put (spider, 8)); in test_map_of_strings_to_int() 78 ASSERT_EQ (false, m.put (millipede, 750)); in test_map_of_strings_to_int() 79 ASSERT_EQ (false, m.put (eric, 3)); in test_map_of_strings_to_int() 131 ASSERT_EQ (false, m.put (2, ostrich)); in test_map_of_int_to_strings() 132 ASSERT_EQ (false, m.put (4, elephant)); in test_map_of_int_to_strings() 133 ASSERT_EQ (false, m.put (6, ant)); in test_map_of_int_to_strings() 134 ASSERT_EQ (false, m.put (8, spider)); in test_map_of_int_to_strings() [all …]
|
| H A D | hash-map-tests.c | 60 ASSERT_EQ (false, m.put (ostrich, 2)); in test_map_of_strings_to_int() 61 ASSERT_EQ (false, m.put (elephant, 4)); in test_map_of_strings_to_int() 62 ASSERT_EQ (false, m.put (ant, 6)); in test_map_of_strings_to_int() 63 ASSERT_EQ (false, m.put (spider, 8)); in test_map_of_strings_to_int() 64 ASSERT_EQ (false, m.put (millipede, 750)); in test_map_of_strings_to_int() 65 ASSERT_EQ (false, m.put (eric, 3)); in test_map_of_strings_to_int() 94 ASSERT_EQ (false, m.put (another_ant, 7)); in test_map_of_strings_to_int() 100 ASSERT_EQ (false, string_map.put (ant, 1)); in test_map_of_strings_to_int() 102 ASSERT_EQ (true, string_map.put (another_ant, 5)); in test_map_of_strings_to_int() 131 ASSERT_EQ (false, m.put (2, ostrich)); in test_map_of_int_to_strings() [all …]
|
| /netbsd-src/sys/dev/wscons/ |
| H A D | wsevent.c | 178 ev->get = ev->put = 0; in wsevent_init() 241 while (ev->get == ev->put) { in wsevent_read() 257 if (ev->put < ev->get) in wsevent_read() 260 cnt = ev->put - ev->get; /* events in [get..put) */ in wsevent_read() 273 n == 0 || error || (cnt = ev->put) == 0) in wsevent_read() 289 if (ev->get != ev->put) in wsevent_poll() 315 if (ev->get == ev->put) in filt_wseventread() 318 if (ev->get < ev->put) in filt_wseventread() 319 kn->kn_data = ev->put - ev->get; in filt_wseventread() 321 kn->kn_data = (WSEVENT_QSIZE - ev->get) + ev->put; in filt_wseventread() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/regex/internal/ |
| H A D | parser.d | 210 void put(Bytecode code) in put() function 233 put(Bytecode(IR.Char, set.byCodepoint.front)); in charsetToIr() 239 put(Bytecode(IR.OrChar, ch, chars)); in charsetToIr() 250 put(Bytecode(IR.Trie, cast(uint) n)); in charsetToIr() 252 put(Bytecode(IR.CodepointSet, cast(uint) n)); in charsetToIr() 258 put(Bytecode(IR.Trie, cast(uint) matchers.length)); in charsetToIr() 264 put(Bytecode(IR.CodepointSet, cast(uint) charsets.length)); in charsetToIr() 276 put(Bytecode(IR.Nop, 0)); in genLogicGroup() 285 put(Bytecode(IR.GroupStart, nglob)); in genGroup() 300 put(Bytecode(IR.GroupStart, nglob)); in genNamedGroup() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/format/ |
| H A D | spec.d | 258 put(writer, trailing[0 .. i]); 273 put(writer, trailing); 584 put(w, '%'); 588 put(w, '$'); 590 if (flDash) put(w, '-'); 591 if (flZero) put(w, '0'); 592 if (flSpace) put(w, ' '); 593 if (flPlus) put(w, '+'); 594 if (flEqual) put(w, '='); 595 if (flHash) put(w, '#'); [all …]
|
| /netbsd-src/sys/arch/atari/dev/ |
| H A D | ms.c | 139 int get, put; in mouse_soft() local 193 put = ms->ms_events.ev_put; in mouse_soft() 194 fe = &ms->ms_events.ev_q[put]; in mouse_soft() 202 if ((mbut = (rel_ms->id ^ ms->ms_buttons)) == 0 && (put != get)) { in mouse_soft() 220 if ((++put) % EV_QSIZE == get) { in mouse_soft() 221 put--; in mouse_soft() 227 if (put >= EV_QSIZE) { in mouse_soft() 228 put = 0; in mouse_soft() 235 if ((++put) % EV_QSIZE == get) { in mouse_soft() 236 put--; in mouse_soft() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/internal/ |
| H A D | scopebuffer.d | 157 void put(T c) in put() function 179 void put(CT[] s) in put() function 305 textbuf.put('a'); 306 textbuf.put('x'); 307 textbuf.put("abc"); // tickle put([])'s resize 320 textbuf.put(cast(dchar)'z'); 328 textbuf.put(c); // tickle put(c)'s resize 342 textbuf.put(s1); in cat() 343 textbuf.put(s2); in cat() 344 textbuf.put("even more"); in cat() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/internal/ |
| H A D | scopebuffer.d | 158 void put(T c) in put() function 180 void put(CT[] s) in put() function 306 textbuf.put('a'); 307 textbuf.put('x'); 308 textbuf.put("abc"); // tickle put([])'s resize 321 textbuf.put(cast(dchar)'z'); 329 textbuf.put(c); // tickle put(c)'s resize 343 textbuf.put(s1); in cat() 344 textbuf.put(s2); in cat() 345 textbuf.put("even more"); in cat() [all …]
|
| /netbsd-src/external/gpl2/groff/dist/src/roff/troff/ |
| H A D | node.cpp | 773 void put(char c); 774 void put(unsigned char c); 775 void put(int i); 776 void put(unsigned int i); 777 void put(const char *s); 819 inline void troff_output_file::put(char c) in put() function in troff_output_file 824 inline void troff_output_file::put(unsigned char c) in put() function in troff_output_file 829 inline void troff_output_file::put(const char *s) in put() function in troff_output_file 834 inline void troff_output_file::put(int i) in put() function in troff_output_file 839 inline void troff_output_file::put(unsigned int i) in put() function in troff_output_file [all …]
|
| /netbsd-src/sys/arch/amiga/dev/ |
| H A D | ms.c | 264 int mb, ub, d, get, put, any, port; in msintr() local 349 put = ms->ms_events.ev_put; in msintr() 350 fe = &ms->ms_events.ev_q[put]; in msintr() 360 if ((++put) % EV_QSIZE == get) { in msintr() 361 put--; in msintr() 371 if (put >= EV_QSIZE) { in msintr() 372 put = 0; in msintr() 380 if ((++put) % EV_QSIZE == get) { in msintr() 381 put--; in msintr() 390 if (put >= EV_QSIZE) { in msintr() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/range/ |
| H A D | primitives.d | 259 call the correct primitive (`r.put(e)`, $(D r.front = e) or 275 static assert(is(typeof(r.put(e))), in doPut() 277 r.put(e); in doPut() 343 correct primitive: `r.put(e)` if `R` defines `put`, $(D r.front = e) 362 $(TD `R` accepts some form of string or character. put will 366 $(TD $(D for (; !e.empty; e.popFront()) put(r, e.front);)) 371 Tip: `put` should $(I not) be used "UFCS-style", e.g. `r.put(e)`. 372 Doing this may call `R.put` directly, by-passing any transformation 373 feature provided by `Range.put`. $(D put(r, e)) is prefered. 375 void put(R, E)(ref R r, E e) in put() function [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/regex/internal/ |
| H A D | parser.d | 291 void put(Bytecode code) in put() function 314 put(Bytecode(IR.Char, set.byCodepoint.front)); in charsetToIr() 320 put(Bytecode(IR.OrChar, ch, chars)); in charsetToIr() 331 put(Bytecode(IR.Trie, cast(uint) n)); in charsetToIr() 333 put(Bytecode(IR.CodepointSet, cast(uint) n)); in charsetToIr() 339 put(Bytecode(IR.Trie, cast(uint) matchers.length)); in charsetToIr() 345 put(Bytecode(IR.CodepointSet, cast(uint) charsets.length)); in charsetToIr() 357 put(Bytecode(IR.Nop, 0)); in genLogicGroup() 366 put(Bytecode(IR.GroupStart, nglob)); in genGroup() 381 put(Bytecode(IR.GroupStart, nglob)); in genNamedGroup() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/ |
| H A D | json.d | 840 case '"': str.put('"'); break; in parseString() 841 case '\\': str.put('\\'); break; in parseString() 842 case '/': str.put('/'); break; in parseString() 843 case 'b': str.put('\b'); break; in parseString() 844 case 'f': str.put('\f'); break; in parseString() 845 case 'n': str.put('\n'); break; in parseString() 846 case 'r': str.put('\r'); break; in parseString() 847 case 't': str.put('\t'); break; in parseString() 872 str.put(buf[0 .. len]); in parseString() 886 str.put(c); in parseString() [all …]
|