Home
last modified time | relevance | path

Searched refs:name_length (Results 1 – 25 of 49) sorted by relevance

12

/external/ltp/testcases/kernel/syscalls/nftw/
Dlib64.c62 size_t path_length, name_length; in get_long_name_buffer() local
72 if ((name_length = pathconf(tmp_path, _PC_NAME_MAX)) == -1) { in get_long_name_buffer()
79 if ((strlen(tmp_path) + name_length + extra) > path_length) { in get_long_name_buffer()
82 name_length, path_length); in get_long_name_buffer()
93 *length = name_length; in get_long_name_buffer()
136 size_t name_length; in test_long_file_name() local
138 buffer = get_long_name_buffer(&name_length, 1); in test_long_file_name()
142 ptr_end = ptr + name_length + 1; in test_long_file_name()
158 size_t name_length; in test_long_component_name() local
160 buffer = get_long_name_buffer(&name_length, 3); in test_long_component_name()
[all …]
Dlib.c62 size_t path_length, name_length; in get_long_name_buffer() local
72 if ((name_length = pathconf(tmp_path, _PC_NAME_MAX)) == -1) { in get_long_name_buffer()
79 if ((strlen(tmp_path) + name_length + extra) > path_length) { in get_long_name_buffer()
82 name_length, path_length); in get_long_name_buffer()
93 *length = name_length; in get_long_name_buffer()
136 size_t name_length; in test_long_file_name() local
138 buffer = get_long_name_buffer(&name_length, 1); in test_long_file_name()
142 ptr_end = ptr + name_length + 1; in test_long_file_name()
158 size_t name_length; in test_long_component_name() local
160 buffer = get_long_name_buffer(&name_length, 3); in test_long_component_name()
[all …]
/external/v8/src/base/
Dfile-utils.cc23 int name_length = static_cast<int>(strlen(name)); in RelativePath() local
25 reinterpret_cast<char*>(calloc(path_separator + name_length + 2, 1)); in RelativePath()
28 strncat(*buffer, name, name_length); in RelativePath()
/external/webrtc/webrtc/modules/video_capture/ios/
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/
Dares_expand_name.c38 static int name_length(const unsigned char *encoded, const unsigned char *abuf,
76 nlen.sig = name_length(encoded, abuf, alen); in ares_expand_name()
143 static int name_length(const unsigned char *encoded, const unsigned char *abuf, in name_length() function
/external/python/cpython2/Doc/includes/
Dcapsulethunk.h76 size_t name_length = (strlen(name) + 1) * sizeof(char); in PyCapsule_Import() local
77 char *name_dup = (char *)PyMem_MALLOC(name_length); in PyCapsule_Import()
83 memcpy(name_dup, name, name_length); in PyCapsule_Import()
/external/v8/src/
Dperf-jit.cc253 int name_length = 0; in GetScriptName() local
257 ->ToCString(DISALLOW_NULLS, FAST_STRING_TRAVERSAL, &name_length); in GetScriptName()
260 name_length = static_cast<int>(strlen(unknown)); in GetScriptName()
261 char* buffer = NewArray<char>(name_length); in GetScriptName()
262 base::OS::StrNCpy(buffer, name_length + 1, unknown, in GetScriptName()
263 static_cast<size_t>(name_length)); in GetScriptName()
/external/deqp/doc/testspecs/GLES31/
Dfunctional.program_interface_query.txt55 "uniform.name_length.default_block.var_struct" would mean a NAME_LENGTH
66 location, matrix_row_major, matrix_stride, name_length, offset,
76 groups active_variables, buffer_binding, buffer_data_size, name_length,
89 location, name_length, referenced_by, and type test ARRAY_SIZE,
96 program interface. Test groups array_size, name_length, and type test
/external/v8/src/wasm/
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) { in SetImportName() argument
227 imports_[index].name_length = name_length; in SetImportName()
257 int name_length; member
Dmodule-decoder.cc479 exp->name_offset = consume_string(&exp->name_length, true); in DecodeModule()
528 if (a.name_length != b.name_length) { in DecodeModule()
529 return a.name_length < b.name_length; in DecodeModule()
532 a.name_length) < 0; in DecodeModule()
544 it->name_length, pc, last->index, it->index); in DecodeModule()
663 module->functions[func_index].name_length = function_name_length; in DecodeModule()
701 function->name_length = 0; // ---- name length in DecodeSingleFunction()
1333 uint32_t name_length = decoder.consume_u32v("name length"); in DecodeCustomSections() local
1335 decoder.consume_bytes(name_length, "section name"); in DecodeCustomSections()
1339 result.push_back({section_start, name_offset, name_length, payload_offset, in DecodeCustomSections()
Dwasm-module.h78 uint32_t name_length; // length in bytes of the name. member
133 uint32_t name_length; // length in bytes of the exported name. member
234 return GetName(function->name_offset, function->name_length); in GetName()
248 return GetNameOrNull(function->name_offset, function->name_length); in GetNameOrNull()
Dwasm-module-builder.cc304 uint32_t WasmModuleBuilder::AddImport(const char* name, int name_length, in AddImport() argument
306 imports_.push_back({AddSignature(sig), name, name_length}); in AddImport()
354 buffer.write_u32v(import.name_length); // field name length in WriteTo()
356 import.name_length); in WriteTo()
Dmodule-decoder.h90 uint32_t name_length; member
/external/libchrome/base/trace_event/
Dtrace_config.cc390 size_t name_length = synthetic_category.find(';'); in InitializeFromStrings() local
391 if (name_length != std::string::npos && name_length > 0 && in InitializeFromStrings()
392 name_length != synthetic_category.size() - 1) { in InitializeFromStrings()
472 size_t name_length = delay.find(';'); in SetSyntheticDelaysFromList() local
473 if (name_length != std::string::npos && name_length > 0 && in SetSyntheticDelaysFromList()
474 name_length != delay.size() - 1) { in SetSyntheticDelaysFromList()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_payload_registry.cc82 size_t name_length = strlen(payload->name); in RegisterReceivePayload() local
86 if (payload_name_length == name_length && in RegisterReceivePayload()
147 size_t name_length = strlen(payload->name); in DeregisterAudioCodecOrRedTypeRegardlessOfPayloadType() local
149 if (payload_name_length == name_length && in DeregisterAudioCodecOrRedTypeRegardlessOfPayloadType()
188 size_t name_length = strlen(payload->name); in ReceivePayloadType() local
189 if (payload_name_length == name_length && in ReceivePayloadType()
/external/python/cpython2/Objects/
Dcapsule.c200 size_t name_length = (strlen(name) + 1) * sizeof(char); in PyCapsule_Import() local
201 char *name_dup = (char *)PyMem_MALLOC(name_length); in PyCapsule_Import()
207 memcpy(name_dup, name, name_length); in PyCapsule_Import()
/external/llvm/tools/llvm-symbolizer/
Dllvm-symbolizer.cpp128 int name_length = strcspn(pos, kDelimiters); in parseCommand() local
129 ModuleName = std::string(pos, name_length); in parseCommand()
130 pos += name_length; in parseCommand()
/external/autotest/client/deps/glbench/src/
Dtestbase.cc162 int name_length = strlen(testname); in RunTest() local
163 if (name_length > MAX_TESTNAME) in RunTest()
165 name_length); in RunTest()
/external/clang/test/CodeGenCXX/
D2006-11-30-ConstantExprCrash.cpp5 unsigned name_length; member
/external/mesa3d/src/compiler/glsl/
Dlink_uniform_blocks.cpp225 size_t name_length, gl_uniform_block *blocks, in process_block_array() argument
233 size_t new_length = name_length; in process_block_array()
374 size_t name_length = strlen(name); in create_buffer_blocks() local
377 process_block_array(b->array, &name, name_length, blocks, &parcel, in create_buffer_blocks()
Dlink_uniforms.cpp117 size_t name_length, bool row_major, in recursion() argument
131 ralloc_asprintf_rewrite_tail(name, &name_length, ".%s", in recursion()
133 recursion(named_ifc_member->type, name, name_length, row_major, NULL, in recursion()
144 size_t new_length = name_length; in recursion()
153 if (name_length == 0) { in recursion()
187 (*name)[name_length] = '\0'; in recursion()
207 size_t new_length = name_length; in recursion()
Dlinker.h191 void recursion(const glsl_type *t, char **name, size_t name_length,
/external/libchrome/base/metrics/
Dpersistent_memory_allocator.cc327 const size_t name_length = name.length() + 1; in PersistentMemoryAllocator() local
328 shared_meta()->name = Allocate(name_length, 0); in PersistentMemoryAllocator()
381 size_t name_length = GetAllocSize(name_ref); in Name() local
382 if (name_cstr[name_length - 1] != '\0') { in Name()
/external/syslinux/core/fs/ufs/
Dufs.c391 dirent->d_reclen = offsetof(struct dirent, d_name) + dir->name_length + 1; in ufs_readdir()
393 memcpy(dirent->d_name, dir->name, dir->name_length); in ufs_readdir()
394 dirent->d_name[dir->name_length] = '\0'; in ufs_readdir()
/external/curl/lib/
Dsmb.h164 unsigned short name_length; member

12