/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/ |
LookaheadStream.java | 81 if ( p == data.size() && markDepth==0 ) { 83 clear(); // size goes to 0, but retains memory 96 * p index is data.size()-1. p+need-1 is the data index 'need' elements 97 * ahead. If we need 1 element, (p+1-1)==p must be < data.size(). 100 int n = (p+need-1) - data.size() + 1; // how many more elements we need? 113 /** Size of entire stream is unknown; we only know buffer size from FastQueue */ 114 public int size() { throw new UnsupportedOperationException("streams are of unknown size"); } method in class:LookaheadStream 123 if ( (p+k-1) > data.size() ) return eof [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/ |
streams.rb | 154 When mixed in, it does give the class a #size and #source_name attribute 217 attr_reader :size 458 def size method in class:ANTLR3.that.StringStream 462 alias length size 847 def size method in class:ANTLR3.that.CommonTokenStream 851 alias length size [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
MultidimensionalCounter.java | 57 private final int[] size; field in class:MultidimensionalCounter 93 if (counter[i] != size[i] - 1) { 106 if (counter[i] == size[i] - 1) { 160 * @param size Counter sizes (number of slots in each dimension). 164 public MultidimensionalCounter(int ... size) { 165 dimension = size.length; 166 this.size = /* Arrays.*/ copyOf(size, dimension); // Java 1.5 does not support Arrays.copyOf() 171 int tS = size[last]; 175 count *= size[j] [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
EventMod.java | 91 public int size; field in class:EventMod 120 size = -1;
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/ |
AbstractNewInstanceTestCase.java | 125 packet.setNextValueAsInt(argumentsList.size()); // argCount
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/ |
ClassUnloadDebuggee.java | 182 int size = 1024; local 183 byte bytes[] = new byte[size]; 184 int len = loadClassData(is, bytes, size); 196 private int loadClassData(InputStream in, byte[] raw, int size) throws IOException { 198 if (len >= size)
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
TestHelper_ClassLoader.java | 168 long size = theEntry.getSize(); local 169 if (size < 0) { 170 size = 100000; 172 byte[] theBytes = new byte[(int) size + 100]; 175 while (dataRead < size) {
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/ |
NamespaceSupport.java | 65 * <prefix, uri>. The default size can be set to anything
76 // NOTE: The constructor depends on the initial context size
82 * index of declared namespace bindings and runs to the size of the
276 private int size = 0;
field in class:NamespaceSupport.Prefixes 281 public Prefixes(String [] prefixes, int size) {
283 this.size = size;
290 return (counter< size);
297 if (counter< size){
305 for (int i=0;i<size;i++){ [all...] |
/external/autotest/client/deps/glbench/src/ |
testbase.cc | 98 const int size = width * height * 4; local 99 scoped_ptr<char[]> pixels(new char[size]); 112 const int size = width * height * 4; local 113 scoped_ptr<char[]> pixels(new char[size]); 115 MD5Update(&ctx, (unsigned char *)pixels.get(), size);
|
/external/autotest/frontend/client/src/autotest/afe/ |
AbortSynchronousDialog.java | 87 synchronousJobArgs.set(synchronousJobArgs.size(), groupArgs);
|
/external/autotest/frontend/client/src/autotest/tko/ |
HeaderFieldCollection.java | 45 assert fieldsByName.size() == fieldsBySqlName.size(); 46 assert fieldsByName.size() == orderedFields.size(); 110 public int size() { method 111 return fieldsByName.size();
|
ParameterizedField.java | 93 fieldValueList.set(fieldValueList.size(), new JSONString(getValue()));
|
/external/autotest/server/cros/dynamic_suite/ |
host_spec.py | 29 @return True if this is a list of size 1, False otherwise. 65 def size(self): member in class:HostGroup 129 def size(self): member in class:ExplicitHostGroup 229 def size(self): member in class:MetaHostGroup
|
/external/avahi/avahi-compat-libdns_sd/ |
txt.c | 36 size_t size, max_size; member in struct:TXTRecordInternal 62 t->size = 0; 89 static int make_sure_fits_in(TXTRecordInternal *t, size_t size) { 95 if (t->size + size <= t->max_size) 98 nsize = t->size + size + 100; 106 if (!t->malloc_buffer && t->size) 107 memcpy(n, t->buffer, t->size); 127 while (i < t->size) { [all...] |
/external/avahi/avahi-core/ |
probe-sched.c | 166 size_t size; local 176 /* Estimate the size for this record */ 177 size = 182 if (size > avahi_dns_packet_space(p)) 238 size_t size; local 246 size = 251 if (!(p = avahi_dns_packet_new_query(size + AVAHI_DNS_PACKET_EXTRA_SIZE))) 300 /* avahi_log_warn("Bad probe size estimate!"); */
|
rr.h | 75 uint16_t size; member in struct:AvahiRecord::__anon5657::__anon5658 165 int avahi_rdata_parse(AvahiRecord *record, const void* rdata, size_t size);
|
/external/avahi/avahi-daemon/ |
dbus-util.c | 205 ssize_t size; local 238 if ((size = read(fd, buf, st.st_size)) < 0) { 243 buf[size] = 0; 313 dbus_message_iter_append_fixed_array(&sub2, DBUS_TYPE_BYTE, &data, p->size); 320 int avahi_dbus_read_rdata(DBusMessage *m, int idx, void **rdata, uint32_t *size) { 340 *size = n; 348 size = 0; 424 int avahi_dbus_append_rdata(DBusMessage *message, const void *rdata, size_t size) { 432 !(dbus_message_iter_append_fixed_array(&sub, DBUS_TYPE_BYTE, &rdata, size)) ||
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
ASN1ApplicationSpecific.java | 65 int size = length & 0x7f; local 68 if (size > 4) 70 throw new IllegalStateException("DER length more than 4 bytes: " + size); 73 return size + 2;
|
ASN1InputStream.java | 62 * @param limit maximum size of a DER encoded object. 90 * @param limit maximum size of a DER encoded object. 164 ASN1OctetString[] strings = new ASN1OctetString[v.size()]; 342 int size = length & 0x7f; local 345 if (size > 4) 347 throw new IOException("DER length more than 4 bytes: " + size); 351 for (int i = 0; i < size; i++)
|
ASN1OutputStream.java | 25 int size = 1; local 30 size++; 33 write((byte)(size | 0x80)); 35 for (int i = (size - 1) * 8; i >= 0; i -= 8)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
PKCS12BagAttributeCarrierImpl.java | 60 int size() method in class:PKCS12BagAttributeCarrierImpl 62 return pkcs12Ordering.size(); 78 if (pkcs12Ordering.size() == 0)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/pem/ |
PemWriter.java | 52 int size = (2 * (obj.getType().length() + 10 + nlLength)) + 6 + 4; local 60 size += hdr.getName().length() + ": ".length() + hdr.getValue().length() + nlLength; 63 size += nlLength; 69 size += dataLen + (((dataLen + LINE_LENGTH - 1) / LINE_LENGTH) * nlLength); 71 return size;
|
/external/c-ares/ |
inet_net_pton.c | 57 * inet_net_pton_ipv4(src, dst, size) 60 * "size" is in bytes and describes "dst". 77 inet_net_pton_ipv4(const char *src, unsigned char *dst, size_t size) 89 if (!size) 102 if (!size--) 109 if (!size--) 125 if (!size--) 187 if (!size--) 278 inet_net_pton_ipv6(const char *src, unsigned char *dst, size_t size) 383 if (bytes > size) 435 size_t size; local [all...] |
/external/caliper/examples/src/main/java/examples/ |
CopyArrayBenchmark.java | 43 * <li>As array sizes get large, the runtime is indeed proportional to the size of the array in 243 @Param({"5", "500", "50000"}) int size; field in class:CopyArrayBenchmark 256 objectArray = new Object[size]; 257 booleanArray = new boolean[size]; 258 byteArray = new byte[size]; 259 charArray = new char[size]; 260 doubleArray = new double[size]; 261 floatArray = new float[size]; 262 intArray = new int[size]; 263 longArray = new long[size]; [all...] |
/external/ceres-solver/include/ceres/internal/ |
fixed_array.h | 57 // compilers support arrays of dynamic size. 104 inline size_type size() const { return size_; } function in class:ceres::internal::FixedArray 106 // Returns the memory size of the array in bytes. 113 // REQUIRES: 0 <= i < size() 120 // REQUIRES: 0 <= i < size() 135 // the case where T is a a (C-style) array. The size of InnerContainer
|