Home
last modified time | relevance | path

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

123

/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/python/cpython3/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/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/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/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/cpython3/Modules/clinic/
Dunicodedata.c.h365 Py_ssize_clean_t name_length);
372 Py_ssize_clean_t name_length; in unicodedata_UCD_lookup() local
374 if (!PyArg_Parse(arg, "s#:lookup", &name, &name_length)) { in unicodedata_UCD_lookup()
377 return_value = unicodedata_UCD_lookup_impl(self, name, name_length); in unicodedata_UCD_lookup()
/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/autotest/client/deps/glbench/src/
Dtestbase.cc166 int name_length = strlen(testname); in RunTest() local
167 if (name_length > MAX_TESTNAME) in RunTest()
168 printf("# Warning: adjust string formatting to length = %d\n", name_length); in RunTest()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-symbolizer/
Dllvm-symbolizer.cpp127 int name_length = strcspn(pos, kDelimiters); in parseCommand() local
128 ModuleName = std::string(pos, name_length); in parseCommand()
129 pos += name_length; in parseCommand()
/external/python/cpython3/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/mesa3d/src/compiler/glsl/
Dlink_uniform_blocks.cpp236 size_t name_length, gl_uniform_block *blocks, in process_block_array() argument
244 size_t new_length = name_length; in process_block_array()
377 size_t name_length = strlen(name); in create_buffer_blocks() local
380 process_block_array(b->array, &name, name_length, blocks, &parcel, in create_buffer_blocks()
Dlink_uniforms.cpp106 size_t name_length, bool row_major, in recursion() argument
120 ralloc_asprintf_rewrite_tail(name, &name_length, ".%s", in recursion()
122 recursion(named_ifc_member->type, name, name_length, row_major, NULL, in recursion()
133 size_t new_length = name_length; in recursion()
139 if (name_length == 0) { in recursion()
173 (*name)[name_length] = '\0'; in recursion()
193 size_t new_length = name_length; in recursion()
Dlinker.h184 void recursion(const glsl_type *t, char **name, size_t name_length,
/external/clang/test/CodeGenCXX/
D2006-11-30-ConstantExprCrash.cpp5 unsigned name_length; member
/external/harfbuzz_ng/src/
Dhb-ot-post-table.hh234 unsigned int name_length = *data; in find_glyph_name() local
237 return hb_bytes_t ((const char *) data, name_length); in find_glyph_name()
/external/v8/src/
Dperf-jit.cc250 int name_length) { in WriteJitCodeLoadEntry() argument
255 code_load.size_ = sizeof(code_load) + name_length + 1 + code_size; in WriteJitCodeLoadEntry()
268 LogWriteBytes(name, name_length); in WriteJitCodeLoadEntry()
Dperf-jit.h69 const char* name, int name_length);
/external/swiftshader/third_party/SPIRV-Tools/source/
Doperand.h45 const size_t name_length,
/external/deqp-deps/SPIRV-Tools/source/
Doperand.h45 const size_t name_length,
/external/u-boot/include/
Dcbfs.h57 u32 name_length; member
/external/libchrome/base/metrics/
Dpersistent_memory_allocator.cc404 const size_t name_length = name.length() + 1; in PersistentMemoryAllocator() local
405 shared_meta()->name = Allocate(name_length, 0); in PersistentMemoryAllocator()
406 char* name_cstr = GetAsArray<char>(shared_meta()->name, 0, name_length); in PersistentMemoryAllocator()
460 size_t name_length = GetAllocSize(name_ref); in Name() local
461 if (name_cstr[name_length - 1] != '\0') { in Name()

123