Searched refs:name_length (Results 1 - 25 of 38) 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/ltp/testcases/kernel/syscalls/nftw/
H A Dlib.c62 size_t path_length, name_length; local
72 if ((name_length = pathconf(tmp_path, _PC_NAME_MAX)) == -1) {
79 if ((strlen(tmp_path) + name_length + extra) > path_length) {
82 name_length, path_length);
93 *length = name_length;
136 size_t name_length; local
138 buffer = get_long_name_buffer(&name_length, 1);
142 ptr_end = ptr + name_length + 1;
158 size_t name_length; local
160 buffer = get_long_name_buffer(&name_length,
[all...]
H A Dlib64.c62 size_t path_length, name_length; local
72 if ((name_length = pathconf(tmp_path, _PC_NAME_MAX)) == -1) {
79 if ((strlen(tmp_path) + name_length + extra) > path_length) {
82 name_length, path_length);
93 *length = name_length;
136 size_t name_length; local
138 buffer = get_long_name_buffer(&name_length, 1);
142 ptr_end = ptr + name_length + 1;
158 size_t name_length; local
160 buffer = get_long_name_buffer(&name_length,
[all...]
/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/python/cpython2/Doc/includes/
H A Dcapsulethunk.h76 size_t name_length = (strlen(name) + 1) * sizeof(char); local
77 char *name_dup = (char *)PyMem_MALLOC(name_length);
83 memcpy(name_dup, name, name_length);
/external/python/cpython2/Objects/
H A Dcapsule.c200 size_t name_length = (strlen(name) + 1) * sizeof(char); local
201 char *name_dup = (char *)PyMem_MALLOC(name_length);
207 memcpy(name_dup, name, name_length);
/external/v8/src/wasm/
H A Dwasm-module-builder.h224 uint32_t AddImport(const char* name, int name_length, FunctionSig* sig);
225 void SetImportName(uint32_t index, const char* name, int name_length) { argument
227 imports_[index].name_length = name_length;
257 int name_length; member in struct:v8::internal::wasm::WasmModuleBuilder::WasmFunctionImport
H A Dmodule-decoder.h90 uint32_t name_length; member in struct:v8::internal::wasm::CustomSectionOffset
H A Dmodule-decoder.cc334 0, // name_length
401 0, // name_length
472 0, // name_length
479 exp->name_offset = consume_string(&exp->name_length, true);
528 if (a.name_length != b.name_length) {
529 return a.name_length < b.name_length;
532 a.name_length) < 0;
544 it->name_length, p
1333 uint32_t name_length = decoder.consume_u32v("name length"); local
[all...]
H A Dwasm-module.h78 uint32_t name_length; // length in bytes of the name. member in struct:v8::internal::wasm::WasmFunction
133 uint32_t name_length; // length in bytes of the exported name. member in struct:v8::internal::wasm::WasmExport
234 return GetName(function->name_offset, function->name_length);
248 return GetNameOrNull(function->name_offset, function->name_length);
H A Dwasm-module-builder.cc304 uint32_t WasmModuleBuilder::AddImport(const char* name, int name_length, argument
306 imports_.push_back({AddSignature(sig), name, name_length});
354 buffer.write_u32v(import.name_length); // field name length
356 import.name_length);
/external/v8/src/
H A Dperf-jit.cc253 int name_length = 0; local
257 ->ToCString(DISALLOW_NULLS, FAST_STRING_TRAVERSAL, &name_length);
260 name_length = static_cast<int>(strlen(unknown));
261 char* buffer = NewArray<char>(name_length);
262 base::OS::StrNCpy(buffer, name_length + 1, unknown,
263 static_cast<size_t>(name_length));
/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.cc390 size_t name_length = synthetic_category.find(';'); local
391 if (name_length != std::string::npos && name_length > 0 &&
392 name_length != synthetic_category.size() - 1) {
472 size_t name_length = delay.find(';'); local
473 if (name_length != std::string::npos && name_length > 0 &&
474 name_length != delay.size() - 1) {
/external/autotest/client/deps/glbench/src/
H A Dtestbase.cc162 int name_length = strlen(testname); local
163 if (name_length > MAX_TESTNAME)
165 name_length);
/external/mesa3d/src/compiler/glsl/
H A Dlink_uniform_blocks.cpp225 size_t name_length, gl_uniform_block *blocks,
233 size_t new_length = name_length;
374 size_t name_length = strlen(name); local
377 process_block_array(b->array, &name, name_length, blocks, &parcel,
224 process_block_array(struct uniform_block_array_elements *ub_array, char **name, size_t name_length, gl_uniform_block *blocks, ubo_visitor *parcel, gl_uniform_buffer_variable *variables, const struct link_uniform_block_active *const b, unsigned *block_index, unsigned *binding_offset, struct gl_context *ctx, struct gl_shader_program *prog, unsigned first_index) argument
H A Dlinker.h185 * \param name_length Length of the current name \b not including the
191 void recursion(const glsl_type *t, char **name, size_t name_length,
H A Dlink_uniforms.cpp117 size_t name_length, bool row_major,
131 ralloc_asprintf_rewrite_tail(name, &name_length, ".%s",
133 recursion(named_ifc_member->type, name, name_length, row_major, NULL,
144 size_t new_length = name_length;
153 if (name_length == 0) {
187 (*name)[name_length] = '\0';
207 size_t new_length = name_length;
116 recursion(const glsl_type *t, char **name, size_t name_length, bool row_major, const glsl_type *record_type, const enum glsl_interface_packing packing, bool last_field, unsigned record_array_count, const glsl_struct_field *named_ifc_member) argument
/external/syslinux/core/fs/ufs/
H A Dufs.c391 dirent->d_reclen = offsetof(struct dirent, d_name) + dir->name_length + 1;
393 memcpy(dirent->d_name, dir->name, dir->name_length);
394 dirent->d_name[dir->name_length] = '\0';
H A Dufs.h221 uint8_t name_length; member in struct:ufs_dir_entry
/external/curl/lib/
H A Dsmb.h164 unsigned short name_length; member in struct:smb_nt_create
/external/libchrome/base/metrics/
H A Dpersistent_memory_allocator.cc327 const size_t name_length = name.length() + 1; local
328 shared_meta()->name = Allocate(name_length, 0);
381 size_t name_length = GetAllocSize(name_ref);
382 if (name_cstr[name_length - 1] != '\0') {
/external/mesa3d/src/compiler/
H A Dglsl_types.cpp432 const unsigned name_length = strlen(array->name) + 10 + 3; local
435 char *const n = (char *) ralloc_size(this->mem_ctx, name_length);
439 snprintf(n, name_length, "%s[]", array->name);
448 snprintf(n + idx, name_length - idx, "[%u]%s",
451 snprintf(n, name_length, "%s[%u]", array->name, length);

Completed in 1031 milliseconds

12