/external/ltp/testcases/kernel/syscalls/nftw/ |
D | lib.c | 62 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 …]
|
D | lib64.c | 62 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/ |
D | file-utils.cc | 22 size_t name_length = strlen(name); in RelativePath() local 23 auto buffer = std::make_unique<char[]>(basename_start + name_length + 1); in RelativePath() 25 memcpy(buffer.get() + basename_start, name, name_length); in RelativePath()
|
/external/webrtc/webrtc/modules/video_capture/ios/ |
D | video_capture_ios.mm | 52 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/perfetto/src/trace_processor/importers/systrace/ |
D | systrace_parser.h | 169 base::Optional<size_t> name_length; in ParseSystraceTracePoint() local 172 name_length = i - name_index; in ParseSystraceTracePoint() 176 if (!name_length.has_value()) in ParseSystraceTracePoint() 178 out->name = base::StringView(s + name_index, name_length.value()); in ParseSystraceTracePoint() 180 size_t value_index = name_index + name_length.value() + 1; in ParseSystraceTracePoint()
|
/external/python/cpython2/Doc/includes/ |
D | capsulethunk.h | 76 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/ |
D | functional.program_interface_query.txt | 55 "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/ |
D | rtp_payload_registry.cc | 82 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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-symbolizer/ |
D | llvm-symbolizer.cpp | 127 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/cpython2/Objects/ |
D | capsule.c | 200 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/python/cpython3/Objects/ |
D | capsule.c | 200 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/ |
D | llvm-symbolizer.cpp | 128 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/python/cpython3/Modules/clinic/ |
D | _tkinter.c.h | 359 Py_ssize_t name_length; in _tkinter_tkapp_createcommand() local 360 name = PyUnicode_AsUTF8AndSize(args[0], &name_length); in _tkinter_tkapp_createcommand() 364 if (strlen(name) != (size_t)name_length) { in _tkinter_tkapp_createcommand() 396 Py_ssize_t name_length; in _tkinter_tkapp_deletecommand() local 397 name = PyUnicode_AsUTF8AndSize(arg, &name_length); in _tkinter_tkapp_deletecommand() 401 if (strlen(name) != (size_t)name_length) { in _tkinter_tkapp_deletecommand()
|
D | unicodedata.c.h | 545 Py_ssize_clean_t name_length); 552 Py_ssize_clean_t name_length; in unicodedata_UCD_lookup() local 554 if (!PyArg_Parse(arg, "s#:lookup", &name, &name_length)) { in unicodedata_UCD_lookup() 557 return_value = unicodedata_UCD_lookup_impl(self, name, name_length); in unicodedata_UCD_lookup()
|
/external/arm-trusted-firmware/lib/semihosting/ |
D | semihosting.c | 23 size_t name_length; member 53 open_block.name_length = strlen(file_name); in semihosting_file_open()
|
/external/clang/test/CodeGenCXX/ |
D | 2006-11-30-ConstantExprCrash.cpp | 5 unsigned name_length; member
|
/external/mesa3d/src/compiler/glsl/ |
D | link_uniform_blocks.cpp | 237 size_t name_length, gl_uniform_block *blocks, in process_block_array() argument 245 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()
|
D | link_uniforms.cpp | 107 int name_length = strlen(interface_name) + 1 + strlen(field_name) + 1; in is_top_level_shader_storage_block_member() local 108 char *full_instanced_name = (char *) calloc(name_length, sizeof(char)); in is_top_level_shader_storage_block_member() 114 snprintf(full_instanced_name, name_length, "%s.%s", in is_top_level_shader_storage_block_member() 329 size_t name_length, bool row_major, in recursion() argument 343 ralloc_asprintf_rewrite_tail(name, &name_length, ".%s", in recursion() 345 recursion(named_ifc_member->type, name, name_length, row_major, NULL, in recursion() 356 size_t new_length = name_length; in recursion() 362 if (name_length == 0) { in recursion() 396 (*name)[name_length] = '\0'; in recursion() 416 size_t new_length = name_length; in recursion()
|
/external/harfbuzz_ng/src/ |
D | hb-ot-post-table.hh | 235 unsigned int name_length = *data; in find_glyph_name() local 238 return hb_bytes_t ((const char *) data, name_length); in find_glyph_name()
|
/external/deqp-deps/SPIRV-Tools/source/ |
D | operand.h | 45 const size_t name_length,
|
/external/angle/third_party/spirv-tools/src/source/ |
D | operand.h | 45 const size_t name_length,
|
/external/swiftshader/third_party/SPIRV-Tools/source/ |
D | operand.h | 45 const size_t name_length,
|
/external/u-boot/include/ |
D | cbfs.h | 79 u32 name_length; member
|
/external/v8/src/diagnostics/ |
D | perf-jit.h | 73 const char* name, int name_length);
|
/external/libchrome/base/metrics/ |
D | persistent_memory_allocator.cc | 404 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()
|