/external/chromium_org/third_party/skia/samplecode/ |
SampleTextOnPath.cpp | 44 size_t len = strlen(text); local 46 canvas->drawTextOnPathHV(text, len, path, 0, 69 size_t len = strlen(text); local 74 canvas->drawTextOnPath(text, len, path, NULL, paint); 79 canvas->drawTextOnPath(text, len, path, &matrix, paint); 83 canvas->drawTextOnPath(text, len, path, &matrix, paint); 88 canvas->drawTextOnPath(text, len, path, &matrix, paint); 122 size_t len = strlen(text); local 128 canvas->drawTextOnPathHV(text, len, fPath, 132 canvas->drawTextOnPathHV(text, len, fPath [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkGraphics.cpp | 154 size_t len = strlen(flags); local 155 const char* paramEnd = flags + len;
|
/external/chromium_org/third_party/skia/src/utils/ |
SkOSFile.cpp | 35 size_t i, len = strlen(src); local 37 uint16_t* dst = (uint16_t*)sk_malloc_throw((len + len2) * sizeof(uint16_t)); 39 for (i = 0; i < len; i++) 52 SkASSERT(i + 1 <= len + len2); 59 size_t len = strlen(src); local 61 fStr = (uint16_t*)sk_malloc_throw((len + 1) * sizeof(uint16_t)); 63 for (i = 0; i < len; i++)
|
/external/chromium_org/third_party/skia/src/views/ |
SkViewInflate.cpp | 101 SkView* SkViewInflate::inflate(const char xml[], size_t len, SkView* root) 104 const SkDOM::Node* node = dom.build(xml, len); 125 size_t len = strlen(str) + 1; local 128 pair->fStr = (char*)fStrings.alloc(len, SkChunkAlloc::kThrow_AllocFailType); 129 memcpy(pair->fStr, str, len);
|
/external/chromium_org/third_party/skia/third_party/lua/src/ |
lstring.c | 34 size_t len = a->tsv.len; local 37 ((len == b->tsv.len) && /* equal length and ... */ 38 (memcmp(getstr(a), getstr(b), len) == 0)); /* equal contents */ 104 ts->tsv.len = l; 142 l == ts->tsv.len && 180 u->uv.len = s;
|
/external/chromium_org/third_party/skia/tools/ |
CrashHandler.cpp | 29 size_t len = kMax; local 30 abi::__cxa_demangle(mangled, demangled, &len, &ok);
|
/external/chromium_org/third_party/skia/tools/lua/ |
lua_pictures.cpp | 55 size_t len = stream->getLength(); local 56 void* buffer = sk_malloc_throw(len); 57 stream->read(buffer, len); 58 return SkData::NewFromMalloc(buffer, len);
|
/external/chromium_org/third_party/sqlite/src/src/ |
test5.c | 35 int len; local 40 bytes = Tcl_GetStringFromObj(objv[1], &len); 41 pRet = Tcl_NewByteArrayObj((u8*)bytes, len+1); 134 int len; local 162 z = (char*)Tcl_GetByteArrayFromObj(objv[1], &len); 165 z = sqlite3_malloc(len); 166 memcpy(z, zTmp, len); 172 len = sqlite3ValueBytes(pVal, enc_to) + (enc_to==SQLITE_UTF8?1:2); 173 Tcl_SetObjResult(interp, Tcl_NewByteArrayObj((u8*)z, len));
|
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
low_level_alloc_unittest.cc | 44 int len; // number of bytes member in struct:BlockDesc 51 for (int i = 0; i != d.len; i++) { 60 for (int i = 0; i != d->len; i++) { 101 block_desc.len = rand() & 0x3fff; 105 ? LowLevelAlloc::Alloc(block_desc.len) 106 : LowLevelAlloc::AllocWithArena(block_desc.len, arena));
|
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
low_level_alloc_unittest.cc | 44 int len; // number of bytes member in struct:BlockDesc 51 for (int i = 0; i != d.len; i++) { 60 for (int i = 0; i != d->len; i++) { 101 block_desc.len = rand() & 0x3fff; 105 ? LowLevelAlloc::Alloc(block_desc.len) 106 : LowLevelAlloc::AllocWithArena(block_desc.len, arena));
|
/external/chromium_org/third_party/webrtc/base/ |
asyncudpsocket.cc | 100 int len = socket_->RecvFrom(buf_, size_, &remote_addr); local 101 if (len < 0) { 114 SignalReadPacket(this, buf_, static_cast<size_t>(len), remote_addr,
|
win32windowpicker.cc | 37 int len = GetWindowTextLength(hwnd); local 40 if (len == 0 || IsIconic(hwnd) || !IsWindowVisible(hwnd) ||
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
decode.c | 37 int16_t len = 0; local 108 len = WebRtcIsacfix_DecodeSpec(&ISACdec_obj->bitstr_obj, Vector_Word16_1, Vector_Word16_2, AvgPitchGain_Q12); 109 if (len < 0) // error check 110 return len; 216 return len;
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/ |
PCMFile.cc | 77 int16_t len = (int16_t) strlen(tmp_name); local 78 if (len > max_len) { 81 if (len > 0) { 82 std::string tmp_string(tmp_name, len + 1);
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/test/ |
RTPjitter.cc | 46 int len; local 53 len = ftell(fid); 57 return (len); 71 uint16_t len; local 143 len=(uint16_t) fread(&rtp_vec[rtp_len], sizeof(unsigned char), 2, in_file); // read length of first packet 144 while(len==2) { 145 len = ntohs(*((uint16_t *)(rtp_vec + rtp_len))); 147 if(fread(&rtp_vec[rtp_len], sizeof(unsigned char), len-2, in_file)!=(unsigned) (len-2)) { 151 rtp_len += len-2 [all...] |
/external/chromium_org/third_party/webrtc/modules/video_coding/main/test/ |
rtp_file_reader.cc | 111 uint16_t len; local 114 TRY(Read(&len)); 118 // Use 'len' here because a 'plen' of 0 specifies rtcp. 119 len -= kPacketHeaderSize; 120 if (*length < len) { 123 if (fread(rtp_data, 1, len, file_) != len) { 127 *length = len;
|
/external/chromium_org/third_party/webrtc/voice_engine/test/auto_test/fixtures/ |
after_initialization_fixture.h | 38 virtual int SendPacket(int channel, const void* data, int len) { 39 StorePacket(Packet::Rtp, channel, data, len); 40 return len; 43 virtual int SendRTCPPacket(int channel, const void* data, int len) { 44 StorePacket(Packet::Rtcp, channel, data, len); 45 return len; 52 Packet() : len(0) {} 53 Packet(Type type, int channel, const void* data, int len) 54 : type(type), channel(channel), len(len) { 61 int len; member in struct:LoopBackTransport::Packet [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/tests/ |
bitvect_test.c | 90 unsigned int len; local 99 result = BitVector_Block_Read(testval, &len);
|
/external/chromium_org/third_party/zlib/ |
gzwrite.c | 110 /* Compress len zeros to output. Return -1 on error, 0 on success. */ 111 local int gz_zero(state, len) 113 z_off64_t len; 123 /* compress len zeros (len guaranteed > 0) */ 125 while (len) { 126 n = GT_OFF(state->size) || (z_off64_t)state->size > len ? 127 (unsigned)len : state->size; 137 len -= n; 143 int ZEXPORT gzwrite(file, buf, len) 269 unsigned len; local 283 int size, len; local 359 int size, len; local [all...] |
inffast.c | 42 state->mode == LEN 50 LEN -- ran out of enough output space or enough available input 93 unsigned len; /* match length, unused bytes */ local 140 len = (unsigned)(here.val); 147 len += (unsigned)hold & ((1U << op) - 1); 151 Tracevv((stderr, "inflate: length %u\n", len)); 197 if (len <= op - whave) { 200 } while (--len); 203 len -= op - whave; 211 } while (--len); [all...] |
inftrees.c | 40 unsigned len; /* a code's length in bits */ local 107 for (len = 0; len <= MAXBITS; len++) 108 count[len] = 0; 132 for (len = 1; len <= MAXBITS; len++) { 134 left -= count[len]; 142 for (len = 1; len < MAXBITS; len++ [all...] |
/external/chromium_org/url/ |
url_canon_icu_unittest.cc | 129 int len = static_cast<int>(strlen(query_cases[i].input8)); local 130 Component in_comp(0, len); 143 int len = static_cast<int>(input16.length()); local 144 Component in_comp(0, len);
|
/external/chromium_org/v8/src/ |
log-utils.cc | 176 int len = str->length(); local 177 if (len > 0x1000) 178 len = 0x1000; 187 for (int i = 0; i < len; i++) { 206 void Log::MessageBuilder::AppendStringPart(const char* str, int len) { 207 if (pos_ + len > Log::kMessageBufferSize) { 208 len = Log::kMessageBufferSize - pos_; 209 ASSERT(len >= 0); 210 if (len == 0) return; 214 StrNCpy(buf, str, len); [all...] |
snapshot-common.cc | 69 int len; local 70 byte* str = ReadBytes(snapshot_file, &len); 74 SnapshotByteSource source(str, len);
|
transitions.h | 69 int len = length(); local 70 return len <= kFirstIndex ? 0 : (len - kFirstIndex) / kTransitionSize;
|