HomeSort by relevance Sort by last modified time
    Searched defs:bytes (Results 151 - 175 of 1804) sorted by null

1 2 3 4 5 67 8 91011>>

  /device/htc/flounder/lights/
lights.c 43 int bytes = snprintf(buffer, 20, "%d\n", value); local
44 int amt = write(fd, buffer, bytes);
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
CTarget.java 196 String bytes; local
262 bytes = buf.toString();
263 index = strings.indexOf(bytes);
266 strings.add(bytes);
267 index = strings.indexOf(bytes);
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Method/
BytecodesTest.java 78 int bytes = reply.getNextValueAsInt(); local
79 logWriter.println("bytes = " + bytes);
81 byte[] bytecode = new byte[bytes];
82 for (int j = 0; j < bytes; j++) {
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DEREnumerated.java 14 byte[] bytes; field in class:DEREnumerated
80 bytes = BigInteger.valueOf(value).toByteArray();
89 bytes = value.toByteArray();
96 byte[] bytes)
98 this.bytes = bytes;
103 return new BigInteger(bytes);
113 return 1 + StreamUtil.calculateBodyLength(bytes.length) + bytes.length;
120 out.writeEncoded(BERTags.ENUMERATED, bytes);
    [all...]
  /external/chromium_org/base/android/
jni_array.cc 15 JNIEnv* env, const uint8* bytes, size_t len) {
21 byte_array, 0, len, reinterpret_cast<const jbyte*>(bytes));
144 jbyte* bytes = env->GetByteArrayElements(byte_array, NULL); local
145 out->insert(out->end(), bytes, bytes + len);
146 env->ReleaseByteArrayElements(byte_array, bytes, JNI_ABORT);
209 jbyte* bytes = env->GetByteArrayElements(bytes_array.obj(), NULL); local
210 (*out)[i].assign(reinterpret_cast<const char*>(bytes), bytes_len);
211 env->ReleaseByteArrayElements(bytes_array.obj(), bytes, JNI_ABORT);
jni_array_unittest.cc 18 ScopedJavaLocalRef<jbyteArray> bytes = ToJavaByteArray(env, kBytes, kLen); local
19 ASSERT_TRUE(bytes.obj());
22 JavaByteArrayToByteVector(env, bytes.obj(), &vec);
26 AppendJavaByteArrayToByteVector(env, bytes.obj(), &vec);
  /external/chromium_org/base/memory/
discardable_memory_manager.h 71 // The maximum number of bytes of memory that may be allocated before we force
73 void SetMemoryLimit(size_t bytes);
75 // The number of bytes of memory that may be allocated but unused for the hard
77 void SetSoftMemoryLimit(size_t bytes);
89 // limit for bytes to keep under moderate pressure.
90 void ReduceMemoryUsageUntilWithinLimit(size_t bytes);
93 void Register(Allocation* allocation, size_t bytes);
124 explicit AllocationInfo(size_t bytes) : bytes(bytes), purgable(false) {
126 const size_t bytes; member in struct:base::internal::DiscardableMemoryManager::AllocationInfo
    [all...]
ref_counted_memory.cc 45 RefCountedBytes* bytes = new RefCountedBytes; local
46 bytes->data_.swap(*to_destroy);
47 return bytes;
  /external/chromium_org/base/process/
memory_unittest.cc 50 // kernel32 is larger than 4 bytes.
121 // code and lack of the error string. The number of bytes is one less than
434 const char* bytes = static_cast<const char*>(value_); local
436 EXPECT_EQ(0, bytes[i]);
442 bytes = static_cast<const char*>(value_);
444 EXPECT_EQ(0, bytes[i]);
  /external/chromium_org/base/strings/
string_number_conversions_unittest.cc 790 unsigned char bytes[] = {0x01, 0xff, 0x02, 0xfe, 0x03, 0x80, 0x81}; local
791 hex = HexEncode(bytes, sizeof(bytes));
  /external/chromium_org/chromeos/dbus/
easy_unlock_client.cc 21 // Reads array of bytes from a dbus message reader and converts it to string.
23 const uint8* bytes = NULL; local
25 if (!reader->PopArrayOfBytes(&bytes, &length))
28 return std::string(reinterpret_cast<const char*>(bytes), length);
31 // Converts string to array of bytes and writes it using dbus meddage writer.
  /external/chromium_org/content/browser/webui/
web_ui_data_source_unittest.cc 38 base::RefCountedStaticMemory* bytes = NULL; variable
40 bytes = new base::RefCountedStaticMemory(
43 bytes = new base::RefCountedStaticMemory(
46 return bytes;
  /external/chromium_org/dbus/
property.cc 464 const uint8* bytes = NULL; local
466 if (!variant_reader.PopArrayOfBytes(&bytes, &length))
468 value_.assign(bytes, bytes + length);
  /external/chromium_org/net/tools/dump_cache/
cache_dumper.cc 193 // we know that the last two bytes are CRLF.
206 DWORD bytes; local
207 if (!WriteFile(entry_, data, len, &bytes, 0))
210 return bytes;
  /external/chromium_org/third_party/WebKit/Source/platform/network/
FormData.cpp 160 Vector<char> bytes; local
161 flatten(bytes);
162 return Latin1Encoding().decode(reinterpret_cast<const char*>(bytes.data()), bytes.size());
  /external/chromium_org/third_party/WebKit/Source/wtf/text/
TextCodecLatin1.cpp 121 String TextCodecLatin1::decode(const char* bytes, size_t length, FlushBehavior, bool, bool&)
128 const uint8_t* source = reinterpret_cast<const uint8_t*>(bytes);
129 const uint8_t* end = reinterpret_cast<const uint8_t*>(bytes + length);
219 char* bytes = result.data(); local
236 bytes = result.data();
237 memcpy(bytes + resultLength, replacement, replacementLength);
242 bytes[resultLength++] = b;
245 return CString(bytes, resultLength);
252 char* bytes; local
253 CString string = CString::newUninitialized(length, bytes);
    [all...]
  /external/chromium_org/third_party/boringssl/src/crypto/bn/
random.c 118 int ret = 0, bit, bytes, mask; local
129 bytes = (bits + 7) / 8;
133 buf = OPENSSL_malloc(bytes);
140 if (RAND_pseudo_bytes(buf, bytes) <= 0)
160 buf[bytes - 1] |= 1;
163 if (!BN_bin2bn(buf, bytes, rnd)) {
171 OPENSSL_cleanse(buf, bytes);
  /external/chromium_org/third_party/icu/source/samples/uciter8/
uciter8.c 300 static const uint8_t bytes[]={ local
315 uiter_setLenient8(&iter2, (const char *)bytes, sizeof(bytes)-1);
319 uiter_setLenient8(&iter2, (const char *)bytes, -1);
324 uiter_setLenient8(&iter1, (const char*)bytes, -1);
  /external/chromium_org/third_party/icu/source/tools/toolutil/
unewdata.c 41 uint8_t bytes[16]; local
130 /* write padding bytes to align the data section to 16 bytes */
134 uprv_memset(bytes, 0, headerSize);
135 T_FileStream_write(pData->file, bytes, headerSize);
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/
tgsi_parse.c 309 unsigned bytes = n * sizeof(struct tgsi_token); local
310 struct tgsi_token *new_tokens = (struct tgsi_token *) MALLOC(bytes);
312 memcpy(new_tokens, tokens, bytes);
323 unsigned bytes = num_tokens * sizeof(struct tgsi_token); local
324 return (struct tgsi_token *) MALLOC(bytes);
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/
nouveau_util.h 84 GLubyte bytes[4]; local
85 _mesa_unclamped_float_rgba_to_ubyte(bytes, c);
86 return pack_rgba_i(f, bytes);
  /external/chromium_org/third_party/re2/util/
benchmark.cc 34 static int64 bytes; variable
40 bytes = x;
67 bytes = 0;
121 if(ns > 0 && bytes > 0)
122 snprintf(mb, sizeof mb, "\t%7.2f MB/s", ((double)bytes/1e6)/((double)ns/1e9));
  /external/chromium_org/third_party/skia/src/core/
SkChunkAlloc.cpp 72 SkChunkAlloc::Block* SkChunkAlloc::newBlock(size_t bytes, AllocFailType ftype) {
73 size_t size = bytes;
94 void* SkChunkAlloc::alloc(size_t bytes, AllocFailType ftype) {
95 fTotalUsed += bytes;
97 bytes = SkAlign4(bytes);
101 if (block == NULL || bytes > block->fFreeSize) {
102 block = this->newBlock(bytes, ftype);
110 SkASSERT(block && bytes <= block->fFreeSize);
113 block->fFreeSize -= bytes;
119 size_t bytes = 0; local
    [all...]
  /external/chromium_org/third_party/skia/src/images/
SkImageDecoder_wbmp.cpp 77 int bytes = bits >> 3; local
79 for (int i = 0; i < bytes; i++) {
  /external/chromium_org/third_party/skia/tests/
StreamTest.cpp 27 size_t bytes = stream->read(tmp, len); local
28 REPORTER_ASSERT(reporter, bytes == len);
33 size_t bytes = stream->read(tmp, 1); local
34 REPORTER_ASSERT(reporter, 0 == bytes);
105 size_t bytes = stream->read(&tmp, 1); local
106 REPORTER_ASSERT(reporter, 0 == bytes);
140 // we know that packeduint tries to write 1, 2 or 4 bytes for the length,

Completed in 411 milliseconds

1 2 3 4 5 67 8 91011>>