/external/chromium_org/third_party/sfntly/cpp/src/test/tinyxml/ |
tinystr.cpp | 49 TiXmlString& TiXmlString::assign(const char* str, size_type len) 52 if (len > cap || cap > 3*(len + 8)) 55 tmp.init(len); 56 memcpy(tmp.start(), str, len); 61 memmove(start(), str, len); local 62 set_size(len); 68 TiXmlString& TiXmlString::append(const char* str, size_type len) 70 size_type newsize = length() + len; 75 memmove(finish(), str, len); local [all...] |
/external/chromium_org/third_party/skia/gm/ |
getpostextpath.cpp | 40 int len = SkToInt(strlen(text)); local 49 canvas->drawText(text, len, 0, 0, paint); 50 paint.getTextPath(text, len, 0, 0, &path); 54 SkAutoTArray<SkPoint> pos(len); 55 SkAutoTArray<SkScalar> widths(len); 56 paint.getTextWidths(text, len, &widths[0]); 61 for (int i = 0; i < len; ++i) { 68 canvas->drawPosText(text, len, &pos[0], paint); 69 paint.getPosTextPath(text, len, &pos[0], &path);
|
/external/chromium_org/third_party/skia/samplecode/ |
SampleLCD.cpp | 42 size_t len = strlen(text); local 52 canvas->drawText(text, len, x0, y, paint); 54 canvas->drawText(text, len, x1, y, paint);
|
/external/chromium_org/third_party/skia/src/core/ |
SkWriter32.cpp | 17 size_t len = this->readU32(); local 21 size_t alignedSize = SkAlign4(len + 1); 25 *outLen = len; 31 size_t len; local 32 const char* ptr = this->readString(&len); 34 copy->set(ptr, len); 36 return len; 39 void SkWriter32::writeString(const char str[], size_t len) { 42 len = 0; 44 if ((long)len < 0) [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
GrBinHashKey.h | 41 size_t len = KEY_SIZE; local 42 while (len >= 4) { 46 len -= 4;
|
/external/chromium_org/third_party/skia/src/utils/win/ |
SkDWrite.cpp | 71 int len = WideCharToMultiByte(CP_UTF8, 0, name, -1, NULL, 0, NULL, NULL); local 72 if (0 == len) { 76 skname->resize(len - 1); 82 if (1 == len) { 86 len = WideCharToMultiByte(CP_UTF8, 0, name, -1, skname->writable_str(), len, NULL, NULL); 87 if (0 == len) {
|
/external/chromium_org/third_party/skia/tests/ |
MD5Test.cpp | 21 size_t len = strlen(string); local 26 context.update(reinterpret_cast<const uint8_t*>(string), len); local 37 const uint8_t* end = reinterpret_cast<const uint8_t*>(string + len);
|
RecordDrawTest.cpp | 21 const size_t len = strlen(text); local 22 SkAutoTMalloc<SkScalar> xpos(len); 23 for (size_t i = 0; i < len; i++) { 26 canvas->drawPosTextH(text, len, xpos, y, SkPaint());
|
TLSTest.cpp | 18 size_t len = strlen(text); local 26 paint.measureText(text, len); 28 paint.measureText(text, len);
|
/external/chromium_org/third_party/yasm/source/patched-yasm/frontends/tasm/ |
tasm-options.c | 62 size_t len = strlen(options[i].opt); local 63 if (yasm__strncasecmp(cmd, options[i].opt, len) == 0) { 66 param = &argv[0][1+len];
|
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
bc-org.c | 118 bc->len = org->start - new_val; 129 unsigned long len, i; local 137 len = org->start - bc->offset; 138 for (i=0; i<len; i++)
|
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/genmacro/ |
genmacro.c | 45 size_t len; local 102 len = strlen(strp); 103 while (len > 0 && (strp[len-1] == ' ' || strp[len-1] == '\t' || 104 strp[len-1] == '\n')) { 105 strp[len-1] = '\0'; 106 len--; 110 if (len == 0)
|
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/ |
substr.h | 10 unsigned int len; member in struct:SubStr 45 r->len = l; 53 r->len = l; 61 r->len = l; 69 r->len = l; 77 r->len = s->len; 85 r->len = s->len;
|
/external/chromium_org/tools/android/forwarder2/ |
command.cc | 82 int len = snprintf(buffer, sizeof(buffer), "%05d:%02d", port, command); local 83 CHECK_EQ(len, kCommandStringSize); 85 return socket->WriteNumBytes(buffer, len) == len;
|
/external/chromium_org/tools/memory_inspector/memory_inspector/core/ |
memory_map.py | 37 return len(self.entries) 70 relative_page_index < self.len / MapEntry.PAGE_SIZE) 71 assert(len(self.resident_pages) * MapEntry.PAGE_SIZE * 8 >= self.len) 86 def len(self): member in class:MapEntry
|
/external/chromium_org/ui/base/clipboard/ |
custom_data_helper.cc | 32 int len; local 33 if (!ReadLength(iter, &len)) 35 return iter->SkipBytes(len * sizeof(base::char16));
|
/external/chromium_org/v8/test/cctest/ |
test-bignum-dtoa.cc | 47 int len = StrLength(representation.start()); local 49 for (i = len - 1; i >= 0; --i) {
|
/external/clang/test/Analysis/ |
no-outofbounds.c | 27 struct vec { size_t len; int data[0]; }; member in struct:vec 29 a->len = 10;
|
taint-tester.cpp | 20 size_t len = 0; local 24 while ((read = T.getline(&line, &len, stdin)) != -1) {
|
/external/dhcpcd/ |
duid.c | 51 size_t len = 0; local 58 len = hwaddr_aton(NULL, line); 59 if (len && len <= DUID_LEN) { 63 len = 0; 66 if (len) 67 return len; 91 len = p - duid; 92 x = fprintf(f, "%s\n", hwaddr_ntoa(duid, len)); 96 len = 0 [all...] |
/external/e2fsprogs/lib/ss/ |
list_rqs.c | 66 int len = strlen(*name); local 67 strncat(buffer, *name, len); 68 spacing += len + 2;
|
/external/elfutils/0.153/libdw/ |
dwarf_child.c | 128 size_t len = __libdw_form_val_len (dbg, die->cu, attr_form, readp); local 130 if (unlikely (len == (size_t) -1l)) 137 readp += len;
|
dwarf_getpubnames.c | 96 Dwarf_Off len = read_4ubyte_unaligned_inc (dbg, readp); local 97 if (len == DWARF3_LENGTH_64_BIT) 99 len = read_8ubyte_unaligned_inc (dbg, readp); 102 else if (unlikely (len >= DWARF3_LENGTH_MIN_ESCAPE_CODE 103 && len <= DWARF3_LENGTH_MAX_ESCAPE_CODE)) 143 readp += len;
|
dwarf_getscopevar.c | 104 size_t len = strlen (file); local 105 lastfile_matches = (len >= match_file_len 107 && (len == match_file_len 108 || file[len - match_file_len - 1] == '/'));
|
/external/expat/examples/ |
elements.c | 53 int len = (int)fread(buf, 1, sizeof(buf), stdin); local 54 done = len < sizeof(buf); 55 if (XML_Parse(parser, buf, len, done) == XML_STATUS_ERROR) {
|