HomeSort by relevance Sort by last modified time
    Searched defs:len (Results 526 - 550 of 8575) sorted by null

<<21222324252627282930>>

  /external/protobuf/python/google/protobuf/pyext/
descriptor_database.cc 92 Py_ssize_t len; local
93 if (PyBytes_AsStringAndSize(serialized_pb.get(), &str, &len) < 0) {
100 if (!file_proto.ParseFromArray(str, len)) {
  /external/python/cpython2/Mac/Tools/
pythonw.c 57 size_t len; local
66 len = strlen(info.dli_fname);
68 g_path = malloc(len+60);
74 end = g_path + len - 1;
  /external/python/cpython2/PC/VS8.0/
kill_python.c 31 size_t len; local
64 len = wcsnlen_s(me.szExePath, MAX_PATH) - KILL_PYTHON_EXE_LEN;
65 wcsncpy_s(path, MAX_PATH+1, me.szExePath, len);
143 if (_wcsnicmp(path, me.szExePath, len))
  /external/python/cpython2/PC/VS9.0/
kill_python.c 31 size_t len; local
64 len = wcsnlen_s(me.szExePath, MAX_PATH) - KILL_PYTHON_EXE_LEN;
65 wcsncpy_s(path, MAX_PATH+1, me.szExePath, len);
143 if (_wcsnicmp(path, me.szExePath, len))
  /external/python/cpython3/Objects/stringlib/
find.h 95 size_t len = strlen(format); local
97 strncpy(format + len, function_name, FORMAT_BUFFER_SIZE - len - 1);
  /external/python/cpython3/Python/
structmember.c 253 Py_ssize_t len; local
255 string = PyUnicode_AsUTF8AndSize(v, &len);
256 if (string == NULL || len != 1) {
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowTextUtils.java 31 int len = s.length(); local
34 while (start < len && s.charAt(start) <= ' ') {
38 int end = len;
58 final int len = str.length(); local
59 for (int i = 0; i < len; i++) {
  /external/selinux/libselinux/src/
label_support.c 25 static inline int read_spec_entry(char **entry, char **ptr, int *len, const char **errbuf)
34 *len = 0;
43 (*len)++;
46 if (*len) {
47 *entry = strndup(tmp_buf, *len);
69 int len, rc, items, entry_len = 0; local
74 len = strlen(line_buf);
75 if (line_buf[len - 1] == '\n')
76 line_buf[len - 1] = '\0';
79 * the len for the check below (as the line is NU
    [all...]
  /external/selinux/libselinux/utils/
getsebool.c 17 int i, get_all = 0, rc = 0, active, pending, len = 0, opt; local
31 rc = security_get_boolean_names(&names, &len);
38 if (!len) {
54 if (!len) {
57 len = argc - 1;
58 names = calloc(len, sizeof(char *));
63 for (i = 0; i < len; i++) {
74 for (i = 0; i < len; i++) {
110 for (i = 0; i < len; i++)
  /external/selinux/libsepol/cil/src/
cil_fqn.c 41 int len; member in struct:cil_fqn_args
53 if (fqn_args->len == 0) {
57 newlen = fqn_args->len + strlen(datum->name);
85 int newlen = fqn_args->len + strlen(datum->name) + 1;
93 child_args.len = newlen;
136 fqn_args.len = 0;
  /external/selinux/policycoreutils/setfiles/
restore.c 74 int len, rc, errors; local
85 len = strlen(globbuf.gl_pathv[i]) - 2;
86 if (len > 0 && strcmp(&globbuf.gl_pathv[i][len--], "/.") == 0)
88 if (len > 0 && strcmp(&globbuf.gl_pathv[i][len], "/..") == 0)
  /external/selinux/restorecond/
restore.c 73 int len, rc, errors; local
84 len = strlen(globbuf.gl_pathv[i]) - 2;
85 if (len > 0 && strcmp(&globbuf.gl_pathv[i][len--], "/.") == 0)
87 if (len > 0 && strcmp(&globbuf.gl_pathv[i][len], "/..") == 0)
  /external/selinux/semodule-utils/semodule_package/
semodule_unpackage.c 46 size_t len; local
86 len = sepol_module_package_get_file_contexts_len(pkg);
87 if (fcfile && len) {
94 if (fwrite(fcdata, 1, len, fp) != len) {
  /external/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/skia/bench/
BlendmodeBench.cpp 28 size_t len = strlen(text); variable
42 canvas->drawText(text, len, x, y, paint);
TextBlobBench.cpp 36 size_t len = strlen(text); variable
37 glyphs.append(paint.textToGlyphs(text, len, nullptr));
38 paint.textToGlyphs(text, len, glyphs.begin());
  /external/skia/experimental/sksg/geometry/
SkSGTrimEffect.cpp 45 len = end - start; local
47 if (len <= 0) {
51 const SkScalar dashes[] = { len, pathLen - len };
  /external/skia/gm/
scaledemoji.cpp 109 int len = SkToInt(strlen(text)); variable
110 SkAutoTArray<SkPoint> pos(len);
111 SkAutoTArray<SkScalar> widths(len);
112 paint.getTextWidths(text, len, &widths[0]);
115 for (int i = 0; i < len; ++i) {
120 canvas->drawPosText(text, len, &pos[0], paint);
  /external/skia/samplecode/
SampleLCD.cpp 40 size_t len = strlen(text); local
50 canvas->drawText(text, len, x0, y, paint);
52 canvas->drawText(text, len, x1, y, paint);
  /external/skia/src/core/
SkWriter32.cpp 24 size_t len = this->readU32(); local
28 size_t alignedSize = SkAlign4(len + 1);
32 *outLen = len;
38 size_t len; local
39 const char* ptr = this->readString(&len);
41 copy->set(ptr, len);
43 return len;
46 void SkWriter32::writeString(const char str[], size_t len) {
49 len = 0;
51 if ((long)len < 0)
    [all...]
  /external/skia/tests/
MD5Test.cpp 21 size_t len = strlen(string); local
26 context.write(string, len);
37 const uint8_t* end = reinterpret_cast<const uint8_t*>(string + len);
PDFMetadataAttributeTest.cpp 44 size_t len = strlen(expectation); local
46 size_t N = 1 + data->size() - len;
48 if (0 == memcmp(bytes + i, expectation, len)) {
  /external/skia/tools/
chrome_fuzz.cpp 21 size_t len = sk_fgetsize(file); local
22 if (!len) {
26 testdata->resize(len);
27 (void) fread(testdata->writable_str(), len, file);
  /external/skqp/bench/
BlendmodeBench.cpp 28 size_t len = strlen(text); variable
42 canvas->drawText(text, len, x, y, paint);
TextBlobBench.cpp 36 size_t len = strlen(text); variable
37 glyphs.append(paint.textToGlyphs(text, len, nullptr));
38 paint.textToGlyphs(text, len, glyphs.begin());

Completed in 712 milliseconds

<<21222324252627282930>>