Lines Matching refs:js
98 int js = 0; in __fat32_search_long_short() local
105 if (js >= name_len && (tmp_ldEntry->LDIR_Name1[x] == 0xffff)) in __fat32_search_long_short()
107 else if (js > name_len || in __fat32_search_long_short()
108 … tmp_ldEntry->LDIR_Name1[x] != (uint16_t)(name[js++])) // 文件名不匹配,检索下一个短目录项 in __fat32_search_long_short()
115 if (js >= name_len && (tmp_ldEntry->LDIR_Name2[x] == 0xffff)) in __fat32_search_long_short()
117 else if (js > name_len || in __fat32_search_long_short()
118 … tmp_ldEntry->LDIR_Name2[x] != (uint16_t)(name[js++])) // 文件名不匹配,检索下一个短目录项 in __fat32_search_long_short()
125 if (js >= name_len && (tmp_ldEntry->LDIR_Name3[x] == 0xffff)) in __fat32_search_long_short()
127 else if (js > name_len || in __fat32_search_long_short()
128 … tmp_ldEntry->LDIR_Name3[x] != (uint16_t)(name[js++])) // 文件名不匹配,检索下一个短目录项 in __fat32_search_long_short()
132 if (js >= name_len) // 找到需要的目录项,返回 in __fat32_search_long_short()
143 js = 0; in __fat32_search_long_short()
153 if (name[js] == '.') in __fat32_search_long_short()
155 else if (tmp_dEntry->DIR_Name[x] == name[js]) in __fat32_search_long_short()
157 ++js; in __fat32_search_long_short()
165 if (js < name_len && tmp_dEntry->DIR_Name[x] == name[js]) // 当前位正确匹配 in __fat32_search_long_short()
167 ++js; in __fat32_search_long_short()
170 else if (js == name_len) in __fat32_search_long_short()
182 if (js < name_len && (tmp_dEntry->DIR_Name[x] + 32 == name[js])) in __fat32_search_long_short()
184 ++js; in __fat32_search_long_short()
192 if (js < name_len && tmp_dEntry->DIR_Name[x] == name[js]) in __fat32_search_long_short()
194 ++js; in __fat32_search_long_short()
202 if (js < name_len && tmp_dEntry->DIR_Name[x] == name[js]) in __fat32_search_long_short()
204 ++js; in __fat32_search_long_short()
217 if (js > name_len) in __fat32_search_long_short()
225 ++js; in __fat32_search_long_short()
235 if ((tmp_dEntry->DIR_Name[x] + 32 == name[js])) in __fat32_search_long_short()
237 ++js; in __fat32_search_long_short()
245 if (tmp_dEntry->DIR_Name[x] == name[js]) in __fat32_search_long_short()
247 ++js; in __fat32_search_long_short()
256 if (tmp_dEntry->DIR_Name[x] == name[js]) in __fat32_search_long_short()
258 ++js; in __fat32_search_long_short()
272 if (js > name_len) in __fat32_search_long_short()