Home
last modified time | relevance | path

Searched refs:extension_offset (Results 1 – 11 of 11) sorted by relevance

/third_party/gn/src/gn/
Dninja_target_command_util.cc130 size_t extension_offset = FindExtensionOffset(output_value); in GetPCHOutputFiles() local
131 if (extension_offset == std::string::npos) { in GetPCHOutputFiles()
135 DCHECK(extension_offset >= 1); in GetPCHOutputFiles()
136 DCHECK(output_value[extension_offset - 1] == '.'); in GetPCHOutputFiles()
143 tool_name, output_value.substr(extension_offset - 1)); in GetPCHOutputFiles()
152 output_value.replace(extension_offset - 1, std::string::npos, in GetPCHOutputFiles()
Dfunction_get_path_info.cc70 size_t extension_offset = FindExtensionOffset(file); in GetOnePathInfo() local
71 if (extension_offset == std::string::npos) in GetOnePathInfo()
74 return file.substr(0, extension_offset - 1); in GetOnePathInfo()
Dfilesystem_utils.cc243 size_t extension_offset = FindExtensionOffset(*path); in FindExtension() local
244 if (extension_offset == std::string::npos) in FindExtension()
246 return std::string_view(&path->data()[extension_offset], in FindExtension()
247 path->size() - extension_offset); in FindExtension()
270 size_t extension_offset = FindExtensionOffset(*path); in FindFilenameNoExtension() local
273 if (extension_offset == std::string::npos) in FindFilenameNoExtension()
276 name_len = extension_offset - filename_offset - 1; in FindFilenameNoExtension()
Dninja_c_binary_target_writer.cc462 size_t extension_offset = FindExtensionOffset(output_value); in WriteSources() local
463 if (extension_offset == std::string::npos) in WriteSources()
468 tool_name, output_value.substr(extension_offset - 1)); in WriteSources()
/third_party/node/src/
Dnode_crypto_clienthello.cc193 size_t extension_offset = comp_offset + 1 + comp_len; in ParseTLSClientHello() local
196 if (extension_offset > avail) in ParseTLSClientHello()
200 if (extension_offset == avail) in ParseTLSClientHello()
203 size_t ext_off = extension_offset + 2; in ParseTLSClientHello()
/third_party/mesa3d/src/mapi/glapi/
Dglapi_getproc.c395 int extension_offset; in _glapi_add_dispatch() local
424 extension_offset = entry[i]->dispatch_offset; in _glapi_add_dispatch()
430 if (extension_offset == ~0) { in _glapi_add_dispatch()
438 if ( (offset != ~0) && (extension_offset != offset) ) { in _glapi_add_dispatch()
442 offset = extension_offset; in _glapi_add_dispatch()
/third_party/protobuf/src/google/protobuf/
Dgenerated_message_table_driven.cc76 ExtensionSet* extensions = GetExtensionSet(msg, table.extension_offset); in ParseExtension()
Dgenerated_message_table_driven_lite.cc80 ExtensionSet* extensions = GetExtensionSet(msg, table.extension_offset); in ParseExtension()
Dgenerated_message_table_driven_lite.h83 inline ExtensionSet* GetExtensionSet(MessageLite* msg, int64 extension_offset) { in GetExtensionSet() argument
84 if (extension_offset == -1) { in GetExtensionSet()
88 return Raw<ExtensionSet>(msg, extension_offset); in GetExtensionSet()
Dgenerated_message_table_driven.h192 int64 extension_offset; member
/third_party/mesa3d/src/mesa/state_tracker/
Dst_extensions.c657 int extension_offset; member
662 int extension_offset[2]; member
689 int num_ext = ARRAY_SIZE(mapping->extension_offset); in init_format_extensions()
708 for (j = 0; j < num_ext && mapping[i].extension_offset[j]; j++) in init_format_extensions()
709 extension_table[mapping[i].extension_offset[j]] = GL_TRUE; in init_format_extensions()
1148 extension_table[cap_mapping[i].extension_offset] = GL_TRUE; in st_init_extensions()