Searched refs:name_length (Results 1 - 25 of 28) sorted by relevance

12

/external/clang/test/CodeGenCXX/
H A D2006-11-30-ConstantExprCrash.cpp5 unsigned name_length; member in struct:sys_var
/external/v8/src/base/
H A Dfile-utils.cc23 int name_length = static_cast<int>(strlen(name)); local
25 reinterpret_cast<char*>(calloc(path_separator + name_length + 2, 1));
28 strncat(*buffer, name, name_length);
/external/webrtc/webrtc/modules/video_capture/ios/
H A Dvideo_capture_ios.mm52 const int32_t name_length = strlen(deviceUniqueIdUTF8);
53 if (name_length > kVideoCaptureUniqueNameLength)
56 capture_module->_deviceUniqueId = new char[name_length + 1];
57 strncpy(capture_module->_deviceUniqueId, deviceUniqueIdUTF8, name_length + 1);
58 capture_module->_deviceUniqueId[name_length] = '\0';
/external/c-ares/
H A Dares_expand_name.c38 static int name_length(const unsigned char *encoded, const unsigned char *abuf,
76 nlen.sig = name_length(encoded, abuf, alen);
101 /* No error-checking necessary; it was all done by name_length(). */
143 static int name_length(const unsigned char *encoded, const unsigned char *abuf, function
/external/mesa3d/src/glsl/
H A Dlinker.h88 * \param name_length Length of the current name \b not including the
91 void recursion(const glsl_type *t, char **name, size_t name_length);
H A Dlink_uniforms.cpp77 size_t name_length)
88 size_t new_length = name_length;
97 size_t new_length = name_length;
76 recursion(const glsl_type *t, char **name, size_t name_length) argument
H A Dglsl_types.cpp383 const unsigned name_length = strlen(array->name) + 10 + 3; local
384 char *const n = (char *) ralloc_size(this->mem_ctx, name_length);
387 snprintf(n, name_length, "%s[]", array->name);
389 snprintf(n, name_length, "%s[%u]", array->name, length);
/external/v8/src/
H A Dperf-jit.cc257 int name_length = 0; local
262 ->ToCString(DISALLOW_NULLS, FAST_STRING_TRAVERSAL, &name_length);
263 DCHECK_EQ(0, name_string.get()[name_length]);
266 name_length = static_cast<int>(strlen(unknown));
267 char* buffer = NewArray<char>(name_length);
268 base::OS::StrNCpy(buffer, name_length + 1, unknown,
269 static_cast<size_t>(name_length));
272 DCHECK_EQ(name_length, strlen(name_string.get()));
285 size += (static_cast<uint32_t>(name_length) + 1) * entry_count;
317 LogWriteBytes(name_string.get(), name_length
[all...]
H A Dd8.cc289 int name_length = 0; local
293 name_length = name_string->Length();
294 name_buffer = new uint16_t[name_length];
295 name_string->Write(name_buffer, 0, name_length);
313 name_length).ToLocalChecked();
/external/v8/src/wasm/
H A Dencoder.cc129 void WasmFunctionBuilder::SetName(const char* name, int name_length) { argument
131 if (name_length > 0) {
132 for (int i = 0; i < name_length; ++i) {
240 uint32_t WasmModuleBuilder::AddImport(const char* name, int name_length, argument
242 imports_.push_back({AddSignature(sig), name, name_length});
301 buffer.write_u32v(import.name_length);
303 import.name_length);
H A Dwasm-module.h115 uint32_t name_length; // length in bytes of the name. member in struct:v8::internal::wasm::WasmFunction
134 uint32_t name_length; // length in bytes of the exported name. member in struct:v8::internal::wasm::WasmExport
140 uint32_t name_length; // length in bytes of the global name. member in struct:v8::internal::wasm::WasmGlobal
203 return GetName(function->name_offset, function->name_length);
217 return GetNameOrNull(function->name_offset, function->name_length);
H A Dwasm-function-name-table.cc24 for (auto& func : module->functions) func_names_length += func.name_length;
H A Dencoder.h142 void SetName(const char* name, int name_length);
176 int name_length; member in struct:v8::internal::wasm::WasmFunctionImport
191 uint32_t AddImport(const char* name, int name_length, FunctionSig* sig);
H A Dmodule-decoder.cc171 0, // name_length
216 consume_string(&function->name_length, false);
352 0}); // name_length
357 exp->name_offset = consume_string(&exp->name_length, true);
365 uint32_t len = a.name_length;
366 if (len != b.name_length) return len < b.name_length;
380 it->name_length, pc, last->func_index, it->func_index);
453 function->name_length = 0; // ---- name length
481 global->name_offset = consume_string(&global->name_length, fals
[all...]
H A Dwasm-module.cc104 pair.function_->name_length);
658 WasmName str = module->GetName(func.name_offset, func.name_length);
888 WasmName str = GetName(exp.name_offset, exp.name_length);
H A Dasm-wasm-builder.cc691 ImportedFunctionIndices(const char* name, int name_length, Zone* zone) argument
692 : name_(name), name_length_(name_length), signature_to_index_(zone) {}
704 void AddImport(Variable* v, const char* name, int name_length) { argument
706 ImportedFunctionIndices(name, name_length, builder_->zone());
/external/webrtc/webrtc/modules/rtp_rtcp/source/
H A Drtp_payload_registry.cc82 size_t name_length = strlen(payload->name); local
86 if (payload_name_length == name_length &&
147 size_t name_length = strlen(payload->name); local
149 if (payload_name_length == name_length &&
188 size_t name_length = strlen(payload->name); local
189 if (payload_name_length == name_length &&
/external/libchrome/base/trace_event/
H A Dtrace_config.cc372 size_t name_length = category.find(';'); local
373 if (name_length != std::string::npos && name_length > 0 &&
374 name_length != category.size() - 1) {
456 size_t name_length = delay.find(';'); local
457 if (name_length != std::string::npos && name_length > 0 &&
458 name_length != delay.size() - 1) {
/external/autotest/client/deps/glbench/src/
H A Dtestbase.cc160 int name_length = strlen(testname); local
161 if (name_length > MAX_TESTNAME)
163 name_length);
/external/skia/third_party/shaderc/
H A Dshaderc.h150 shaderc_compile_options_t options, const char* name, size_t name_length,
/external/curl/lib/
H A Dsmb.h164 unsigned short name_length; member in struct:smb_nt_create
/external/autotest/client/virt/tests/
H A Dwhql_submission.py240 name_length = max(len(r["job"]) for r in results)
241 fmt = "%%-6s %%-%ds %%-15s %%-8s %%-8s %%-8s %%-15s" % name_length
/external/v8/test/unittests/wasm/
H A Dmodule-decoder-unittest.cc195 EXPECT_EQ(1, global->name_length);
317 EXPECT_EQ(0, g0->name_length);
322 EXPECT_EQ(0, g1->name_length);
873 EXPECT_EQ(0, global->name_length);
/external/libvncserver/webclients/novnc/include/
H A Drfb.js878 var name_length = this._sock.rQshift32();
879 if (this._sock.rQwait('server init name', name_length, 24)) { return false; }
880 this._fb_name = Util.decodeUTF8(this._sock.rQshiftStr(name_length));
883 if (this._sock.rQwait('TightVNC extended server init header', 8, 24 + name_length)) { return false; }
891 if (this._sock.rQwait('TightVNC extended server init header', totalMessagesLength, 32 + name_length)) { return false; }
/external/v8/src/compiler/
H A Dwasm-compiler.cc3025 module->module->GetName(func->name_offset, func->name_length));
3165 info_(function->name_length != 0
3167 function->name_length)
3243 function_->name_offset, function_->name_length);
3265 function_->name_length));

Completed in 611 milliseconds

12