Home
last modified time | relevance | path

Searched refs:len_second (Results 1 – 10 of 10) sorted by relevance

/dports/www/chromium-legacy/chromium-88.0.4324.182/chromeos/components/string_matching/
H A Dsequence_matcher.cc144 const int len_second = second_string_.size(); in EditDistance() local
145 if (len_first == 0 || len_second == 0) { in EditDistance()
146 edit_distance_ = std::max(len_first, len_second); in EditDistance()
153 int dp[len_first + 1][len_second + 1]; in EditDistance()
159 for (int j = 0; j < len_second + 1; j++) { in EditDistance()
165 for (int j = 1; j < len_second + 1; j++) { in EditDistance()
178 edit_distance_ = dp[len_first][len_second]; in EditDistance()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/chrome/common/string_matching/
H A Dsequence_matcher.cc136 const int len_second = second_string_.size(); in EditDistance() local
137 if (len_first == 0 || len_second == 0) { in EditDistance()
138 edit_distance_ = std::max(len_first, len_second); in EditDistance()
145 int dp[len_first + 1][len_second + 1]; in EditDistance()
151 for (int j = 0; j < len_second + 1; j++) { in EditDistance()
157 for (int j = 1; j < len_second + 1; j++) { in EditDistance()
170 edit_distance_ = dp[len_first][len_second]; in EditDistance()
/dports/misc/py-dictdiffer/dictdiffer-0.9.0/dictdiffer/
H A D__init__.py173 len_second = len(_second)
175 intersection = list(range(0, min(len_first, len_second)))
176 addition = list(range(min(len_first, len_second), len_second))
178 reversed(range(min(len_first, len_second), len_first)))
/dports/www/cssed/cssed-0.4.0/src/
H A Dutils.c1031 gint len_second; local
1050 len_second = strlen(cleaned_second);
1051 …turn g_ascii_strncasecmp(cleaned_first, cleaned_second, len_first>len_second?len_first:len_second);
1063 len_second = strlen(cleaned_second);
1064 …turn g_ascii_strncasecmp(cleaned_first, cleaned_second, len_first>len_second?len_first:len_second);
/dports/multimedia/libmediainfo/MediaInfo_CLI_GNU_FromSource/MediaInfoLib/Source/MediaInfo/Audio/
H A DFile_Ac3.cpp3988 int8u len_primary = 0, len_second = 0; in emdf_protection() local
3991 Get_S1(2, len_second, "protection_length_secondary"); in emdf_protection()
4001 switch (len_second) in emdf_protection()
4003 case 0: len_second = 0; break; in emdf_protection()
4004 case 1: len_second = 8; break; in emdf_protection()
4005 case 2: len_second = 32; break; in emdf_protection()
4006 case 3: len_second = 128; break; in emdf_protection()
4010 if (len_second) in emdf_protection()
H A DFile_DolbyE.cpp2234 int8u len_primary, len_second; in evo_protection() local
2236 Get_S1(2, len_second, "protection_length_secondary"); in evo_protection()
2246 switch (len_second) in evo_protection()
2248 case 0: len_second = 0; break; in evo_protection()
2249 case 1: len_second = 8; break; in evo_protection()
2250 case 2: len_second = 32; break; in evo_protection()
2251 case 3: len_second = 128; break; in evo_protection()
2255 if (len_second) in evo_protection()
/dports/multimedia/libzen/MediaInfo_CLI_GNU_FromSource/MediaInfoLib/Source/MediaInfo/Audio/
H A DFile_DolbyE.cpp2234 int8u len_primary, len_second; in evo_protection() local
2236 Get_S1(2, len_second, "protection_length_secondary"); in evo_protection()
2246 switch (len_second) in evo_protection()
2248 case 0: len_second = 0; break; in evo_protection()
2249 case 1: len_second = 8; break; in evo_protection()
2250 case 2: len_second = 32; break; in evo_protection()
2251 case 3: len_second = 128; break; in evo_protection()
2255 if (len_second) in evo_protection()
H A DFile_Ac3.cpp3988 int8u len_primary = 0, len_second = 0; in emdf_protection() local
3991 Get_S1(2, len_second, "protection_length_secondary"); in emdf_protection()
4001 switch (len_second) in emdf_protection()
4003 case 0: len_second = 0; break; in emdf_protection()
4004 case 1: len_second = 8; break; in emdf_protection()
4005 case 2: len_second = 32; break; in emdf_protection()
4006 case 3: len_second = 128; break; in emdf_protection()
4010 if (len_second) in emdf_protection()
/dports/multimedia/mediainfo/MediaInfo_CLI_GNU_FromSource/MediaInfoLib/Source/MediaInfo/Audio/
H A DFile_Ac3.cpp3988 int8u len_primary = 0, len_second = 0; in emdf_protection() local
3991 Get_S1(2, len_second, "protection_length_secondary"); in emdf_protection()
4001 switch (len_second) in emdf_protection()
4003 case 0: len_second = 0; break; in emdf_protection()
4004 case 1: len_second = 8; break; in emdf_protection()
4005 case 2: len_second = 32; break; in emdf_protection()
4006 case 3: len_second = 128; break; in emdf_protection()
4010 if (len_second) in emdf_protection()
H A DFile_DolbyE.cpp2234 int8u len_primary, len_second; in evo_protection() local
2236 Get_S1(2, len_second, "protection_length_secondary"); in evo_protection()
2246 switch (len_second) in evo_protection()
2248 case 0: len_second = 0; break; in evo_protection()
2249 case 1: len_second = 8; break; in evo_protection()
2250 case 2: len_second = 32; break; in evo_protection()
2251 case 3: len_second = 128; break; in evo_protection()
2255 if (len_second) in evo_protection()