/macosx-10.10/ruby-106/ruby/lib/webrick/httpservlet/ |
H A D | cgihandler.rb | 62 cgi_in.write("%8d" % cgi_out.path.bytesize) 64 cgi_in.write("%8d" % cgi_err.path.bytesize) 66 cgi_in.write("%8d" % dump.bytesize) 69 if req.body and req.body.bytesize > 0 79 if errmsg.bytesize > 0
|
H A D | cgi_runner.rb | 16 size -= tmp.bytesize
|
H A D | abstract.rb | 144 if req.query_string && req.query_string.bytesize > 0
|
/macosx-10.10/ruby-106/ruby/lib/webrick/ |
H A D | httpresponse.rb | 252 @header['content-length'] = @body ? @body.bytesize : 0 395 data << format("%x", buf.bytesize) << CRLF 399 @sent_size += buf.bytesize 418 body ? @body.bytesize : 0 422 data << format("%x", buf.bytesize) << CRLF 425 @sent_size += buf.bytesize 429 if @body && @body.bytesize > 0 431 @sent_size = @body.bytesize 440 offset -= buf.bytesize 452 size -= buf.bytesize [all...] |
H A D | httprequest.rb | 417 if @request_line.bytesize >= MAX_URI_LENGTH and @request_line[-1, 1] != LF 477 @remaining_size -= buf.bytesize 504 if data.nil? || data.bytesize != chunk_size
|
H A D | utils.rb | 108 rand_max = RAND_CHARS.bytesize
|
/macosx-10.10/ruby-106/ruby/lib/rubygems/package/ |
H A D | tar_writer.rb | 43 if data.bytesize + @written > @limit 47 @written += data.bytesize 48 data.bytesize 270 raise Gem::Package::TooLongFileName if name.bytesize > 256 272 if name.bytesize <= 100 then 281 break if newname.bytesize + 1 + nxt.bytesize > 100 288 if name.bytesize > 100 or prefix.bytesize > 155 then
|
/macosx-10.10/Heimdal-398.1.2/appl/ftp/ftp/ |
H A D | ftp_var.h | 87 extern int bytesize; /* local byte size in binary */
|
H A D | globals.c | 46 int bytesize; /* local byte size in binary */ variable
|
/macosx-10.10/cxxfilt-11/cxxfilt/bfd/ |
H A D | mep-relocs.pl | 129 if (length($mask) == 8) { $bytesize = 0; } 130 elsif (length($mask) == 16) { $bytesize = 1; } 131 elsif (length($mask) == 32) { $bytesize = 2; } 142 $c, $bytesize, $bits, $left, $right, $pcrel, $overflow, $mask);
|
/macosx-10.10/ruby-106/ruby/test/ruby/ |
H A D | test_pack.rb | 94 nuls.bytesize.times {|i| 127 nuls.bytesize.times {|i| 358 assert_equal(2, [1].pack("s").bytesize) 359 assert_equal(2, [1].pack("S").bytesize) 360 assert_operator(2, :<=, [1].pack("s!").bytesize) 361 assert_operator(2, :<=, [1].pack("S!").bytesize) 376 assert_operator(4, :<=, [1].pack("i").bytesize) 377 assert_operator(4, :<=, [1].pack("I").bytesize) 378 assert_operator(4, :<=, [1].pack("i!").bytesize) 379 assert_operator(4, :<=, [1].pack("I!").bytesize) [all...] |
H A D | test_m17n_comb.rb | 651 if s1.bytesize > s2.bytesize 1005 assert_operator(s.length, :<=, s.bytesize) 1029 assert_equal(s.bytesize, t.bytesize) 1088 assert_equal(s.bytesize, r.bytesize + t.bytesize) 1477 assert_equal(s1.unpack("C*").length, s1.bytesize)
|
/macosx-10.10/ruby-106/ruby/lib/cgi/ |
H A D | core.rb | 352 options["length"] = content.bytesize.to_s 476 content_length -= first_line.bytesize 477 status = stdin.read(first_line.bytesize) 484 boundary_size = "#{EOL}--#{boundary}#{EOL}".bytesize 511 len = pos + EOL.bytesize 513 buf = buf[(pos+separator.bytesize)..-1] 523 content_length -= c.bytesize 531 s = buf[0, len - $1.bytesize]
|
H A D | util.rb | 9 '%' + $1.unpack('H2' * $1.bytesize).join('%').upcase
|
/macosx-10.10/ruby-106/ruby/lib/ |
H A D | pstore.rb | 408 size = empty_marshal_data.bytesize 412 size = data.bytesize 431 if new_data.bytesize != original_file_size || Digest::MD5.digest(new_data) != original_checksum 462 file.truncate(data.bytesize)
|
/macosx-10.10/ruby-106/ruby/lib/xmlrpc/ |
H A D | server.rb | 415 http_error(400, "Bad Request") if data.nil? or data.bytesize != length 446 h['Content-length'] ||= body.bytesize.to_s 490 http_error(400, "Bad Request") if data.nil? or data.bytesize != length 521 h['Content-length'] ||= body.bytesize.to_s 683 if data.nil? or data.bytesize != length 688 if resp.nil? or resp.bytesize <= 0 693 response['Content-Length'] = resp.bytesize
|
H A D | client.rb | 442 "Content-Length" => request.bytesize.to_s, 501 if data.nil? or data.bytesize == 0 502 raise "Wrong size. Was #{data.bytesize}, should be #{expected}" 503 elsif expected != "<unknown>" and expected.to_i != data.bytesize and resp["Transfer-Encoding"].nil? 504 raise "Wrong size. Was #{data.bytesize}, should be #{expected}"
|
/macosx-10.10/ruby-106/ruby/sample/ |
H A D | from.rb | 11 delta = char.bytesize > 1 ? 2 : 1
|
/macosx-10.10/BerkeleyDB-21/db/libdb_java/ |
H A D | java_typemaps.i | 398 size_t bytesize; 401 bytesize = sizeof(u_char) * len * len; 403 if ((err = __os_malloc(NULL, bytesize, &$1.lk_conflicts)) != 0) { 537 size_t bytesize, ldbtsize; 559 bytesize = sizeof(DB_LOCKREQ) * count; 560 if ((err = __os_malloc(env, bytesize, &lockreq)) != 0) { 564 memset(lockreq, 0, bytesize);
|
/macosx-10.10/ruby-106/ruby/ext/digest/lib/digest/ |
H A D | hmac.rb | 55 if key.bytesize > block_len
|
/macosx-10.10/ruby-106/ruby/test/rexml/ |
H A D | test_entity.rb | 115 assert_equal(len * 2, xmldoc.root.text.bytesize)
|
/macosx-10.10/ruby-106/ruby/lib/rexml/ |
H A D | text.rb | 387 if sum + s.bytesize > REXML.entity_expansion_text_limit 390 sum += s.bytesize
|
/macosx-10.10/ruby-106/ruby/tool/ |
H A D | make-snapshot | 44 alias bytesize size unless method_defined?(:bytesize) 267 puts " SIZE: #{str.bytesize} bytes"
|
/macosx-10.10/xnu-2782.1.97/tools/lldbmacros/core/ |
H A D | cvalue.py | 320 bytesize = sbdata.GetByteSize() 321 if bytesize == 0 : 324 for i in range(0, bytesize) :
|
/macosx-10.10/ruby-106/ruby/include/ruby/ |
H A D | encoding.h | 299 VALUE rb_econv_substr_convert(rb_econv_t *ec, VALUE src, long byteoff, long bytesize, int flags); 301 VALUE rb_econv_substr_append(rb_econv_t *ec, VALUE src, long byteoff, long bytesize, VALUE dst, int flags);
|