/external/chromium_org/net/tools/flip_server/ |
H A D | flip_in_mem_edsm_server.cc | 144 int bytes = static_cast<int>(strlen(pid_str)); local 145 if (write(fd, pid_str, strlen(pid_str)) != bytes) {
|
/external/chromium_org/ppapi/native_client/src/trusted/plugin/ |
H A D | pnacl_translate_thread.cc | 113 // Called from main thread to send bytes to the translator. 114 void PnaclTranslateThread::PutBytes(const void* bytes, int32_t count) { argument 115 CHECK(bytes != NULL); 119 static_cast<const char*>(bytes), 120 static_cast<const char*>(bytes) + count);
|
/external/chromium_org/ppapi/tests/ |
H A D | test_flash_clipboard.cc | 155 char* bytes = static_cast<char*>(array_buffer.Map()); local 156 std::copy(rtf_string.data(), rtf_string.data() + rtf_string.size(), bytes); 177 ASSERT_TRUE(std::equal(bytes, bytes + array_buffer.ByteLength(), 186 char* bytes = static_cast<char*>(array_buffer.Map()); local 187 std::copy(custom_data.begin(), custom_data.end(), bytes); 213 ASSERT_TRUE(std::equal(bytes, bytes + array_buffer.ByteLength(), 315 char* bytes = static_cast<char*>(array_buffer.Map()); local 316 std::copy(custom_data.begin(), custom_data.end(), bytes); [all...] |
/external/chromium_org/remoting/base/ |
H A D | compound_buffer.cc | 93 void CompoundBuffer::CropFront(int bytes) { argument 96 if (total_bytes_ <= bytes) { 101 total_bytes_ -= bytes; 102 while (!chunks_.empty() && chunks_.front().size <= bytes) { 103 bytes -= chunks_.front().size; 106 if (!chunks_.empty() && bytes > 0) { 107 chunks_.front().start += bytes; 108 chunks_.front().size -= bytes; 110 bytes = 0; 112 DCHECK_EQ(bytes, 115 CropBack(int bytes) argument [all...] |
/external/chromium_org/remoting/host/ |
H A D | gnubby_auth_handler_posix.cc | 71 bool ConvertListValueToString(base::ListValue* bytes, std::string* out) { argument 74 unsigned int byte_count = bytes->GetSize(); 79 if (!bytes->GetInteger(i, &value)) 134 base::ListValue* bytes; local 136 if (client_message->GetList(kDataPayload, &bytes) && 137 ConvertListValueToString(bytes, &response)) { 170 base::ListValue* bytes = new base::ListValue(); local 172 bytes->AppendInteger(static_cast<unsigned char>(*i)); 174 request.Set(kDataPayload, bytes);
|
/external/chromium_org/remoting/host/win/ |
H A D | launch_process_with_token.cc | 264 DWORD bytes; local 266 if (!ReadFile(pipe, &response, sizeof(response), &bytes, NULL)) { 273 if (bytes != sizeof(response)) { 359 DWORD bytes; local 360 if (!WriteFile(pipe, buffer.get(), size, &bytes, NULL)) {
|
/external/chromium_org/sandbox/linux/suid/ |
H A D | sandbox.c | 121 ssize_t bytes; local 123 bytes = read(sv[0], &msg, 1); 124 } while (bytes == -1 && errno == EINTR); 126 if (bytes == 0) 128 if (bytes != 1) 147 bytes = write(sv[0], &reply, 1); 148 } while (bytes == -1 && errno == EINTR); 150 if (bytes != 1)
|
/external/chromium_org/sandbox/win/src/ |
H A D | policy_engine_opcodes.cc | 372 size_t bytes = lenght * sizeof(wchar_t); local 373 if (memory_size() < bytes) { 376 memory_bottom_ -= bytes; 381 memcpy(memory_bottom_, str, bytes);
|
/external/chromium_org/sql/test/ |
H A D | test_helpers.cc | 47 unsigned ReadBigEndian(unsigned char* buf, size_t bytes) { argument 49 for (size_t i = 1; i < bytes; i++) { 57 void WriteBigEndian(unsigned val, unsigned char* buf, size_t bytes) { argument 58 for (size_t i = 0; i < bytes; i++) { 59 buf[bytes - i - 1] = (val & 0xFF);
|
/external/chromium_org/storage/browser/blob/ |
H A D | blob_storage_context.cc | 151 item.bytes(), 251 iter->bytes() + static_cast<size_t>(iter->offset() + offset), 276 BlobData* target_blob_data, const char* bytes, int64 length) { 283 target_blob_data->AppendData(bytes, static_cast<size_t>(length)); 275 AppendBytesItem( BlobData* target_blob_data, const char* bytes, int64 length) argument
|
/external/chromium_org/sync/internal_api/public/base/ |
H A D | ordinal.h | 32 // An Ordinal<T> is internally represented as an array of bytes, so it 77 // Creates an Ordinal from the given string of bytes. The Ordinal 79 explicit Ordinal(const std::string& bytes); 127 // Returns the string of bytes representing the Ordinal. It is 157 static bool IsValidOrdinalBytes(const std::string& bytes); 159 // Returns the length that bytes.substr(0, length) would be with 162 const std::string& bytes, 167 static uint8 GetDigit(const std::string& bytes, size_t i); 170 static int GetDigitValue(const std::string& bytes, size_t i); 172 // Adds the given value to |bytes| a 230 Ordinal(const std::string& bytes) argument 346 IsValidOrdinalBytes(const std::string& bytes) argument 372 GetLengthWithoutTrailingZeroDigits( const std::string& bytes, size_t length) argument 389 GetDigit(const std::string& bytes, size_t i) argument 394 GetDigitValue(const std::string& bytes, size_t i) argument 399 AddDigitValue(std::string* bytes, size_t i, int digit_value) argument 415 GetProperLength(const std::string& lower_bound, const std::string& bytes) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
H A D | DataView.cpp | 41 char bytes[sizeof(T)]; member in union:__anon11090::Value 143 memcpy(value.bytes, static_cast<const char*>(m_baseAddress) + byteOffset, sizeof(T)); 144 flipBytesIfNeeded(value.bytes, sizeof(T), littleEndian); 159 flipBytesIfNeeded(tempValue.bytes, sizeof(T), littleEndian); 160 memcpy(static_cast<char*>(m_baseAddress) + byteOffset, tempValue.bytes, sizeof(T));
|
/external/chromium_org/third_party/boringssl/src/crypto/bytestring/ |
H A D | cbs.c | 268 CBS bytes; local 272 if (!CBS_get_asn1(cbs, &bytes, CBS_ASN1_INTEGER)) { 277 data = CBS_data(&bytes); 278 len = CBS_len(&bytes);
|
/external/chromium_org/third_party/boringssl/src/crypto/x509/ |
H A D | x509_req.c | 289 const unsigned char *bytes, int len) 292 type, bytes, len)) return 1; 298 const unsigned char *bytes, int len) 301 type, bytes, len)) return 1; 307 const unsigned char *bytes, int len) 310 type, bytes, len)) return 1; 287 X509_REQ_add1_attr_by_OBJ(X509_REQ *req, const ASN1_OBJECT *obj, int type, const unsigned char *bytes, int len) argument 296 X509_REQ_add1_attr_by_NID(X509_REQ *req, int nid, int type, const unsigned char *bytes, int len) argument 305 X509_REQ_add1_attr_by_txt(X509_REQ *req, const char *attrname, int type, const unsigned char *bytes, int len) argument
|
/external/chromium_org/third_party/freetype/src/pshinter/ |
H A D | pshrec.h | 102 FT_Byte* bytes; member in struct:PS_MaskRec_
|
/external/chromium_org/third_party/icu/source/common/ |
H A D | ucnv_u16.c | 112 /* copy an even number of bytes for complete UChars */ 183 length=2; /* 2 bytes to output */ 196 length=0; /* from here on, length counts the bytes in overflow[] */ 215 length=4; /* 4 bytes to output */ 232 /* output length bytes with overflow (length>targetCapacity>0) */ 317 /* continue collecting bytes for the trail surrogate */ 356 * used for the lead unit's bytes 374 /* copy an even number of bytes for complete UChars */ 536 /* too few (2 or 3) bytes for a surrogate pair: truncated code point */ 537 uint8_t *bytes local 554 uint8_t *bytes=pArgs->converter->toUBytes; local 1136 uint8_t *bytes=pArgs->converter->toUBytes; local 1153 uint8_t *bytes=pArgs->converter->toUBytes; local [all...] |
H A D | ucnv_u7.c | 214 uint8_t *bytes; local 244 bytes=cnv->toUBytes; 271 bytes[0]=b; 304 * base64 bytes, while nextSourceIndex is precisely parallel to source, 310 bytes[byteIndex++]=b=*source++; 332 bytes[0]=PLUS; 357 /* collect base64 bytes into UChars */ 377 bytes[0]=b; /* keep this byte in case an error occurs */ 388 bytes[0]=b; /* keep this byte in case an error occurs */ 587 * Output 2 or 3 base64 bytes fo 896 uint8_t *bytes; local [all...] |
/external/chromium_org/third_party/icu/source/common/unicode/ |
H A D | bytestrie.h | 55 * The BytesTrie object will not read more bytes than 106 State() { bytes=NULL; } 110 const uint8_t *bytes; member in class:BytesTrie::State 123 state.bytes=bytes_; 140 if(bytes_==state.bytes && bytes_!=NULL) { 233 * @return the number of bytes which continue the byte sequence from here 246 * @param trieBytes The trie bytes. 432 // encode match values or continue matching further bytes. 439 // - Linear-match node: Matches a number of bytes. 441 // The node byte is the length of the branch (number of bytes t [all...] |
/external/chromium_org/third_party/icu/source/io/ |
H A D | ufmt_cmn.c | 170 uint8_t bytes[sizeof(void*)]; member in union:__anon12160 214 result.bytes[resultIdx] = byte;
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | strtest.cpp | 340 virtual void Append(const char *bytes, int32_t n) { argument 341 if(fOutbuf != bytes) { 342 memcpy(fOutbuf, bytes, n);
|
H A D | uobjtest.cpp | 510 char *bytes = stackMemory.bytes_; local 514 p=new(bytes) UnicodeString(len, (UChar32)0x20ac, len); 515 if((void *)p!=(void *)bytes) { 556 UnicodeString::operator delete(p, bytes);
|
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
H A D | ucm.h | 41 * b if bLen<=4: up to 4 bytes 42 * else index to bLen bytes 44 * bLen number of words containing left-justified bytes 45 * bIsMultipleChars indicates that the bytes contain more than one sequence 55 uint8_t bytes[4]; member in union:UCMapping::__anon12423 75 uint8_t *bytes; member in struct:UCMTable 78 /* index map for mapping by bytes first */ 115 (((m)->bLen<=4) ? (m)->b.bytes : (t)->bytes+(m)->b.idx) 129 /* @return -1 illegal bytes [all...] |
H A D | ucmstate.c | 552 fprintf(stderr, "ucm error: SI/SO codepages must have max 2 bytes/char (not %x)\n", (int)states->maxCharLength); 610 * by finding lead bytes with all-unassigned trail bytes and adding another state 648 /* count possible savings from lead bytes with all-unassigned results in all trail bytes */ 682 /* all trail bytes for this lead byte are unassigned */ 690 savings=savings*2-1024; /* count bytes, not 16-bit words */ 695 printf("compacting toUnicode data saves %ld bytes\n", (long)savings); 712 * this function does not catch the degenerate case where all lead bytes 713 * have all-unassigned trail bytes an 972 ucm_countChars(UCMStates *states, const uint8_t *bytes, int32_t length) argument [all...] |
/external/chromium_org/third_party/leveldatabase/src/db/ |
H A D | leveldb_main.cc | 38 virtual void Corruption(size_t bytes, const Status& status) { argument 39 printf("corruption: %d bytes; %s\n", 40 static_cast<int>(bytes),
|
/external/chromium_org/third_party/libevent/ |
H A D | event_tagging.c | 124 int bytes = 0; local 135 data[bytes++] = lower; 139 evbuffer_add(evbuf, data, bytes); 141 return (bytes); 184 * tag number: one byte; length: var bytes; payload: var bytes
|