Home
last modified time | relevance | path

Searched refs:name_size (Results 1 – 25 of 44) sorted by relevance

12

/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_pool.cc174 Py_ssize_t name_size; in FindMessageByName() local
176 if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) { in FindMessageByName()
181 self->pool->FindMessageTypeByName(string(name, name_size)); in FindMessageByName()
222 Py_ssize_t name_size; in FindFileByName() local
224 if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) { in FindFileByName()
229 self->pool->FindFileByName(string(name, name_size)); in FindFileByName()
240 Py_ssize_t name_size; in FindFieldByName() local
242 if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) { in FindFieldByName()
247 self->pool->FindFieldByName(string(name, name_size)); in FindFieldByName()
258 Py_ssize_t name_size; in FindExtensionByName() local
[all …]
Ddescriptor_containers.cc171 Py_ssize_t name_size; in _GetItemByKey() local
172 if (PyString_AsStringAndSize(key, &name, &name_size) < 0) { in _GetItemByKey()
182 self, string(name, name_size)); in _GetItemByKey()
188 Py_ssize_t name_size; in _GetItemByKey() local
189 if (PyString_AsStringAndSize(key, &camelcase_name, &name_size) < 0) { in _GetItemByKey()
199 self, string(camelcase_name, name_size)); in _GetItemByKey()
/external/google-breakpad/src/processor/
Dfast_source_line_resolver_types.h82 size_t name_size = strlen(raw) + 1; in CopyFrom() local
84 address = *(reinterpret_cast<const MemAddr*>(raw + name_size)); in CopyFrom()
86 raw + name_size + sizeof(MemAddr))); in CopyFrom()
88 raw + name_size + 2 * sizeof(MemAddr))); in CopyFrom()
90 raw + name_size + 2 * sizeof(MemAddr) + sizeof(int32_t)); in CopyFrom()
105 size_t name_size = strlen(raw) + 1; in CopyFrom() local
107 address = *(reinterpret_cast<const MemAddr*>(raw + name_size)); in CopyFrom()
109 raw + name_size + sizeof(MemAddr))); in CopyFrom()
/external/v8/src/snapshot/
Dserializer.h54 void Insert(Address code_address, const char* name, int name_size) { in Insert() argument
57 entry->value = CopyName(name, name_size); in Insert()
87 static char* CopyName(const char* name, int name_size) { in CopyName() argument
88 char* result = NewArray<char>(name_size + 1); in CopyName()
89 for (int i = 0; i < name_size; ++i) { in CopyName()
94 result[name_size] = '\0'; in CopyName()
/external/tensorflow/tensorflow/core/platform/windows/
Dport.cc44 DWORD name_size = sizeof(name); in Hostname() local
46 if (::GetComputerNameA(name, &name_size)) { in Hostname()
47 name[name_size] = 0; in Hostname()
/external/compiler-rt/lib/asan/
Dasan_debugging.cc42 Min(descr->name_size, vars[i].name_len)); in GetInfoForStackVar()
116 const char *__asan_locate_address(uptr addr, char *name, uptr name_size, in __asan_locate_address() argument
118 AddressDescription descr = { name, name_size, 0, 0, nullptr }; in __asan_locate_address()
Dasan_report.h30 uptr name_size; member
/external/perf_data_converter/src/quipper/
Ddso_android.cc61 size_t name_size = Align<4>(note_header.n_namesz); in ReadBuildIdNote() local
65 if (!data->ReadString(name_size, &name)) return false; in ReadBuildIdNote()
Ddso.cc148 size_t name_size = Align<4>(note_header.n_namesz); in ReadBuildIdNote() local
152 if (!data->ReadString(name_size, &name)) return false; in ReadBuildIdNote()
/external/python/cpython2/Modules/
Dzipimport.c710 unsigned short compress, time, date, name_size; in read_directory() local
804 name_size = get_uint16(buffer + 28); in read_directory()
805 header_size = (unsigned int)name_size + in read_directory()
816 if (name_size > MAXPATHLEN) { in read_directory()
817 name_size = MAXPATHLEN; in read_directory()
819 if (fread(name, 1, name_size, fp) != name_size) { in read_directory()
822 name[name_size] = '\0'; /* Add terminating null byte */ in read_directory()
824 for (i = 0; i < name_size; i++) { in read_directory()
835 for (i = name_size; i < header_size; i++) { in read_directory()
/external/python/cpython3/Modules/
Dzipimport.c949 unsigned short flags, compress, time, date, name_size; in read_directory() local
1037 name_size = get_uint16(buffer + 28); in read_directory()
1038 header_size = (unsigned int)name_size + in read_directory()
1049 if (name_size > MAXPATHLEN) { in read_directory()
1050 name_size = MAXPATHLEN; in read_directory()
1052 if (fread(name, 1, name_size, fp) != name_size) { in read_directory()
1055 name[name_size] = '\0'; /* Add terminating null byte */ in read_directory()
1057 for (i = 0; i < name_size; i++) { in read_directory()
1068 for (i = name_size; i < header_size; i++) { in read_directory()
1091 nameobj = PyUnicode_Decode(name, name_size, charset, NULL); in read_directory()
/external/python/cpython3/Lib/
Dpstats.py409 def print_call_heading(self, name_size, column_title): argument
410 print("Function ".ljust(name_size) + column_title, file=self.stream)
419 print(" "*name_size + " ncalls tottime cumtime", file=self.stream)
421 def print_call_line(self, name_size, source, call_dict, arrow="->"): argument
422 print(func_std_string(source).ljust(name_size) + arrow, end=' ', file=self.stream)
439 left_width = name_size + 1
442 left_width = name_size + 3
/external/python/cpython2/Lib/
Dpstats.py391 def print_call_heading(self, name_size, column_title): argument
392 print >> self.stream, "Function ".ljust(name_size) + column_title
401 print >> self.stream, " "*name_size + " ncalls tottime cumtime"
403 def print_call_line(self, name_size, source, call_dict, arrow="->"): argument
404 print >> self.stream, func_std_string(source).ljust(name_size) + arrow,
422 left_width = name_size + 1
425 left_width = name_size + 3
/external/perfetto/src/profiling/memory/
Dproc_utils.cc87 size_t name_size = static_cast<size_t>(first_arg - start); in NormalizeCmdLine() local
88 name->assign(start, name_size); in NormalizeCmdLine()
/external/libchrome/mojo/public/cpp/bindings/tests/
Dvalidation_test_input_parser.cc45 size_t name_size; member
225 if (StartsWith(range, kDataTypes[i].name, kDataTypes[i].name_size)) { in ParseItem()
228 std::string(range.first + kDataTypes[i].name_size, range.second)); in ParseItem()
/external/libchrome/base/debug/
Dactivity_tracker.cc474 size_t name_size = name.length(); in Set() local
476 RoundUpToAlignment(sizeof(FieldHeader) + name_size, kMemoryAlignment) - in Set()
491 if (size == 1 && name_extent > name_size) { in Set()
514 header->name_size = static_cast<uint8_t>(name_size); in Set()
519 memcpy(name_memory, name.data(), name_size); in Set()
524 StringPiece persistent_name(name_memory, name_size); in Set()
571 sizeof(FieldHeader) + header->name_size, kMemoryAlignment); in ImportExistingData()
580 info.name = StringPiece(memory_ + sizeof(FieldHeader), header->name_size); in ImportExistingData()
/external/vulkan-validation-layers/layers/
Dvk_layer_config.cpp207 DWORD i = 0, name_size = sizeof(name), type, value, value_size = sizeof(value); in FindSettings() local
209 …RegEnumValue(hive, i++, name, &name_size, nullptr, &type, reinterpret_cast<LPBYTE>(&value), &value… in FindSettings()
/external/compiler-rt/include/sanitizer/
Dasan_interface.h88 const char *__asan_locate_address(void *addr, char *name, size_t name_size,
/external/wayland/src/
Dwayland-client.c859 int name_size, fd; in connect_to_socket() local
881 name_size = in connect_to_socket()
885 assert(name_size > 0); in connect_to_socket()
886 if (name_size > (int)sizeof addr.sun_path) { in connect_to_socket()
896 size = offsetof (struct sockaddr_un, sun_path) + name_size; in connect_to_socket()
Dwayland-server.c1204 int name_size; in wl_socket_init_for_display_name() local
1218 name_size = snprintf(s->addr.sun_path, sizeof s->addr.sun_path, in wl_socket_init_for_display_name()
1221 s->display_name = (s->addr.sun_path + name_size - 1) - strlen(name); in wl_socket_init_for_display_name()
1223 assert(name_size > 0); in wl_socket_init_for_display_name()
1224 if (name_size > (int)sizeof s->addr.sun_path) { in wl_socket_init_for_display_name()
/external/llvm/lib/Object/
DArchive.cpp233 uint64_t name_size; in getName() local
234 if (name.substr(3).rtrim(' ').getAsInteger(10, name_size)) in getName()
236 return Data.substr(sizeof(ArchiveMemberHeader), name_size).rtrim('\0'); in getName()
/external/ppp/pppd/
Dipxcp.c1196 int name_size = cilen - CILEN_NAME; local
1197 if (name_size > sizeof (ho->name))
1198 name_size = sizeof (ho->name) - 1;
1200 memcpy (ho->name, p, name_size);
1201 ho->name [name_size] = '\0';
/external/tensorflow/tensorflow/contrib/verbs/
Dpatch_notes_verbs_with_0_copies.md52 | type | name_size | name | step_id | request_index | remote_addr | rkey | is_dead | data_type | te…
58 * name (name_size) - Name of the requested tensor.
69 * name (name_size) - Name of the requested tensor.
DREADME.md140 | type | name_size | name | step_id | request_index | remote_addr/checksum | rkey | is_dead | data_…
146 * name (name_size) - Name of the requested tensor.
158 * name (name_size) - Name of the requested tensor.
164 * name (name_size) - Name of the requested tensor.
/external/protobuf/src/google/protobuf/compiler/
Dparser.cc467 if (option.name_size() > 1) { in ValidateEnum()
673 if (uninterpreted.name_size() == 1 && in IsMessageSetWireFormatMessage()
1020 if (option.name_size() == 1 && in GenerateMapEntry()
1320 uninterpreted_option->name_size()); in ParseOption()
1328 uninterpreted_option->name_size()); in ParseOption()

12