Home
last modified time | relevance | path

Searched refs:entry (Results 1 – 25 of 30) sorted by relevance

12

/TwlSDK-5.1.0/tools/bin/
Dpacknlf62 entry = t;
65 if (entry ~/^[*]/){
66 return entry;
69 new_entry = "./"entry;
75 if (entry !~/:/){
76 entry = root"/"entry;
77 gsub(/\/\//,"/",entry);
81 cmd = "install -D "enquote(entry)" "enquote(arcdir"/"new_entry);
90 entry = t;
100 return entry;
/TwlSDK-5.1.0/build/libraries/fs/common/src/
Dfs_proc_mem.c59 FSDirEntry *entry = p_file->arg.readdir.p_entry; in FSi_MemArchiveProc() local
63 entry->name_len = 0; in FSi_MemArchiveProc()
64 entry->is_directory = 0; in FSi_MemArchiveProc()
70 entry->name_len = (u32)(STD_GetStringLength(arcname) + 1); in FSi_MemArchiveProc()
71 entry->is_directory = TRUE; in FSi_MemArchiveProc()
74 (void)STD_TSPrintf(entry->name, "%s:", arcname); in FSi_MemArchiveProc()
75 entry->dir_id.arc = p_file->arc; in FSi_MemArchiveProc()
76 entry->dir_id.own_id = 0; in FSi_MemArchiveProc()
77 entry->dir_id.index = 0; in FSi_MemArchiveProc()
78 entry->dir_id.pos = 0; in FSi_MemArchiveProc()
Dfs_proc_default.c206 FSDirEntry *entry = file->arg.readdir.p_entry; in FSi_ReadDirDefault() local
217 entry->name_len = (u32)(len & BIT_MASK(7)); in FSi_ReadDirDefault()
218 entry->is_directory = (u32)((len >> 7) & 1); in FSi_ReadDirDefault()
219 if (entry->name_len == 0) in FSi_ReadDirDefault()
227 result = FSi_ReadTable(&param, entry->name, entry->name_len); in FSi_ReadDirDefault()
232 entry->name[entry->name_len] = '\0'; in FSi_ReadDirDefault()
236 param.pos += entry->name_len; in FSi_ReadDirDefault()
238 if (!entry->is_directory) in FSi_ReadDirDefault()
240 entry->file_id.arc = file->arc; in FSi_ReadDirDefault()
241 entry->file_id.file_id = file->prop.dir.pos.index; in FSi_ReadDirDefault()
[all …]
Dfs_file.c2252 static void FSi_ConvertToDirEntry(FSDirEntry *entry, const FSDirectoryEntryInfo *info) in FSi_ConvertToDirEntry() argument
2254 entry->name_len = info->longname_length; in FSi_ConvertToDirEntry()
2255 if (entry->name_len > sizeof(entry->name) - 1) in FSi_ConvertToDirEntry()
2257 entry->name_len = sizeof(entry->name) - 1; in FSi_ConvertToDirEntry()
2259 MI_CpuCopy8(info->longname, entry->name, entry->name_len); in FSi_ConvertToDirEntry()
2260 entry->name[entry->name_len] = '\0'; in FSi_ConvertToDirEntry()
2263 entry->is_directory = FALSE; in FSi_ConvertToDirEntry()
2264 entry->file_id.file_id = FS_INVALID_FILE_ID; in FSi_ConvertToDirEntry()
2268 entry->is_directory = TRUE; in FSi_ConvertToDirEntry()
2269 entry->dir_id.own_id = (u16)(info->id >> 0); in FSi_ConvertToDirEntry()
[all …]
/TwlSDK-5.1.0/build/demos.TWL/nandApp/backup/src/
Dmain.c289 FSDirectoryEntryInfo entry; in DeleteData() local
303 while(FS_ReadDirectory(&fp, &entry)) in DeleteData()
305 if(!STD_StrCmp(".", entry.longname) || !STD_StrCmp("..", entry.longname)) in DeleteData()
308 (void)STD_TSNPrintf(buf, BUF_SIZE, "%s/%s", path, entry.longname); in DeleteData()
309 if(entry.attributes & FS_ATTRIBUTE_IS_DIRECTORY) in DeleteData()
384 FSDirectoryEntryInfo entry; in ReadData() local
401 while(FS_ReadDirectory(&fp, &entry)) in ReadData()
403 if(!STD_StrCmp(".", entry.longname) || !STD_StrCmp("..", entry.longname)) in ReadData()
406 (void)STD_TSNPrintf(buf, BUF_SIZE, "%s/%s", arc_name, entry.longname); in ReadData()
407 if(!(entry.attributes & FS_ATTRIBUTE_IS_DIRECTORY)) in ReadData()
[all …]
/TwlSDK-5.1.0/build/demos.TWL/nandApp/other_backup/src/
Dmain.c309 FSDirectoryEntryInfo entry; in DeleteData() local
322 while(FS_ReadDirectory(&fp, &entry)) in DeleteData()
324 if(!STD_StrCmp(".", entry.longname) || !STD_StrCmp("..", entry.longname)) in DeleteData()
327 (void)STD_TSNPrintf(buf, BUF_SIZE, "%s/%s", path, entry.longname); in DeleteData()
328 if(entry.attributes & FS_ATTRIBUTE_IS_DIRECTORY) in DeleteData()
403 FSDirectoryEntryInfo entry; in ReadData() local
420 while(FS_ReadDirectory(&fp, &entry)) in ReadData()
422 if(!STD_StrCmp(".", entry.longname) || !STD_StrCmp("..", entry.longname)) in ReadData()
425 (void)STD_TSNPrintf(buf, BUF_SIZE, "%s/%s", arc_name, entry.longname); in ReadData()
426 if(!(entry.attributes & FS_ATTRIBUTE_IS_DIRECTORY)) in ReadData()
[all …]
/TwlSDK-5.1.0/build/libraries/prc/common/src/
Dprc.c68 const PRCPrototypeList *prototypeList, const PRCPrototypeEntry *entry) in PRC_GetEntryStrokes() argument
70 if (entry != NULL) in PRC_GetEntryStrokes()
72 strokes->points = (PRCPoint *)&prototypeList->pointArray[entry->pointIndex]; in PRC_GetEntryStrokes()
73 strokes->size = entry->pointCount; in PRC_GetEntryStrokes()
74 strokes->capacity = entry->pointCount; in PRC_GetEntryStrokes()
Dprc_algo_light.c129 if (!proto->entry->enabled || !(proto->entry->kind & kindMask)) in PRC_GetRecognizedEntriesEx_Light()
141 if (proto->entry->correction != 0) in PRC_GetRecognizedEntriesEx_Light()
145 if (proto->entry->correction < -FX32_ONE) in PRC_GetRecognizedEntriesEx_Light()
149 else if (proto->entry->correction < 0) in PRC_GetRecognizedEntriesEx_Light()
152 patternBorder = FX_Mul(patternBorder, FX32_ONE + proto->entry->correction / 2); in PRC_GetRecognizedEntriesEx_Light()
154 else if (proto->entry->correction < FX32_ONE / 2) in PRC_GetRecognizedEntriesEx_Light()
157 patternBorder = FX_Mul(patternBorder, FX32_ONE + proto->entry->correction * 2); in PRC_GetRecognizedEntriesEx_Light()
254 if (proto->entry->correction != 0) in PRC_GetRecognizedEntriesEx_Light()
256 wholeScore = FX_Mul(wholeScore, FX32_ONE - proto->entry->correction); in PRC_GetRecognizedEntriesEx_Light()
268 resultEntries[numRanking - 1] = (PRCPrototypeEntry *)proto->entry; in PRC_GetRecognizedEntriesEx_Light()
Dprc_algo_common.c329 const PRCPrototypeEntry *entry; in PRCi_CountPrototypeList_Common() local
334 entry = prototypeList->entries; in PRCi_CountPrototypeList_Common()
335 for (i = 0; i < prototypeList->entrySize; i++, entry++) in PRCi_CountPrototypeList_Common()
337 if (!entry->enabled && ignoreDisabledEntries) in PRCi_CountPrototypeList_Common()
339 if (entry->kind & kindMask) in PRCi_CountPrototypeList_Common()
341 pointCnt += entry->pointCount; in PRCi_CountPrototypeList_Common()
342 strokeCnt += entry->strokeCount; in PRCi_CountPrototypeList_Common()
345 if (maxPointCnt < entry->pointCount) in PRCi_CountPrototypeList_Common()
347 maxPointCnt = entry->pointCount; in PRCi_CountPrototypeList_Common()
349 if (maxStrokeCnt < entry->strokeCount) in PRCi_CountPrototypeList_Common()
[all …]
Dprc_algo_standard.c150 if (!proto->entry->enabled || !(proto->entry->kind & kindMask)) in PRC_GetRecognizedEntriesEx_Standard()
260 if (proto->entry->correction != 0) in PRC_GetRecognizedEntriesEx_Standard()
262 wholeScore = FX_Mul(wholeScore, FX32_ONE - proto->entry->correction) in PRC_GetRecognizedEntriesEx_Standard()
263 + proto->entry->correction; in PRC_GetRecognizedEntriesEx_Standard()
275 resultEntries[numRanking - 1] = (PRCPrototypeEntry *)proto->entry; in PRC_GetRecognizedEntriesEx_Standard()
Dprc_algo_fine.c160 if (!proto->entry->enabled || !(proto->entry->kind & kindMask)) in PRC_GetRecognizedEntriesEx_Fine()
193 if (proto->entry->correction != 0) in PRC_GetRecognizedEntriesEx_Fine()
195 wholeScore = FX_Mul(wholeScore, FX32_ONE - proto->entry->correction) in PRC_GetRecognizedEntriesEx_Fine()
196 + proto->entry->correction; in PRC_GetRecognizedEntriesEx_Fine()
202 resultEntries[numRanking - 1] = (PRCPrototypeEntry *)proto->entry; in PRC_GetRecognizedEntriesEx_Fine()
Dprc_algo_superfine.c166 if (!proto->entry->enabled || !(proto->entry->kind & kindMask)) in PRC_GetRecognizedEntriesEx_Superfine()
198 if (proto->entry->correction != 0) in PRC_GetRecognizedEntriesEx_Superfine()
200 wholeScore = FX_Mul(wholeScore, FX32_ONE - proto->entry->correction) in PRC_GetRecognizedEntriesEx_Superfine()
201 + proto->entry->correction; in PRC_GetRecognizedEntriesEx_Superfine()
207 resultEntries[numRanking - 1] = (PRCPrototypeEntry *)proto->entry; in PRC_GetRecognizedEntriesEx_Superfine()
/TwlSDK-5.1.0/build/libraries/os/common/src/
Dos_functionCost.c35 static void OSi_SetStatistics(void *statBuf, OSFunctionCost *entry, OSFunctionCost *exit);
369 str r0, [ r2, #OSFunctionCost.entry.name ] in __PROFILE_ENTRY()
375 str r0, [ r2, #OSFunctionCost.entry.time ] in __PROFILE_ENTRY()
521 static void OSi_SetStatistics(void *statBuf, OSFunctionCost *entry, OSFunctionCost *exit) in OSi_SetStatistics() argument
529 time = exit->exit.time - entry->entry.time; in OSi_SetStatistics()
534 time = (time > entry->entry.interval) ? (u32)(time - entry->entry.interval) : 0; in OSi_SetStatistics()
541 p->name = entry->entry.name; in OSi_SetStatistics()
547 if (p->name == entry->entry.name) in OSi_SetStatistics()
592 u32 name = p->entry.name; in OS_CalcThreadStatistics()
602 if (bp->entry.name == OSi_FUNCTIONCOST_EXIT_TAG) in OS_CalcThreadStatistics()
[all …]
Dos_thread.c354 if (!OSi_ThreadInfo.entry[i]) in OSi_SearchFreeEntry()
512 OSi_ThreadInfo.entry[i] = NULL; in OS_InitThread()
531 OSi_ThreadInfo.entry[0] = &OSi_LauncherThread; in OS_InitThread()
656 OSi_ThreadInfo.entry[index] = thread; in OS_CreateThread()
795 SDK_ASSERT(OSi_ThreadInfo.entry[currentThread->id] == currentThread); in OSi_ExitThread_Destroy()
813 OSi_ThreadInfo.entry[currentThread->id] = NULL; in OSi_ExitThread_Destroy()
905 OSi_ThreadInfo.entry[thread->id] = NULL; in OS_DestroyThread()
1427 OSThread *thread = OSi_ThreadInfo.entry[i]; in OS_DumpThreadList()
1471 if (OSi_ThreadInfo.entry[i]) in OS_GetNumberOfThread()
/TwlSDK-5.1.0/include/nitro/prc/
Dcommon.h72 const PRCPrototypeList *prototypeList, const PRCPrototypeEntry *entry);
99 static inline int PRC_GetEntryCode(const PRCPrototypeEntry *entry) in PRC_GetEntryCode() argument
101 return (entry != NULL) ? entry->code : -1; in PRC_GetEntryCode()
113 static inline void *PRC_GetEntryData(const PRCPrototypeEntry *entry) in PRC_GetEntryData() argument
115 return (entry != NULL) ? entry->data : NULL; in PRC_GetEntryData()
Dalgo_common.h131 const PRCPrototypeEntry *entry; member
/TwlSDK-5.1.0/build/demos/fs/explorer/src/
Dmain.c59 FSDirectoryEntryInfo entry[entry_max]; member
93 FS_ReadDirectory(file, &context->entry[context->entry_count])) in CommandLS()
101 FSDirectoryEntryInfo *p = &context->entry[context->entry_count]; in CommandLS()
199 if ((explorer->entry[cursor].attributes & FS_ATTRIBUTE_IS_DIRECTORY) != 0) in NitroMain()
201 CommandCD(explorer, explorer->entry[cursor].longname); in NitroMain()
210 … (void)STD_TSPrintf(path, "%s/%s", explorer->current, explorer->entry[cursor].longname); in NitroMain()
224 (explorer->entry[cursor].filesize > 0x7FFFFFFFUL) ? in NitroMain()
302 const FSDirectoryEntryInfo *p = &explorer->entry[i]; in NitroMain()
/TwlSDK-5.1.0/build/demos/fs/file-2/src/
Dmain.c68 FSDirEntry entry; in DumpRomDir() local
73 entry.name[0] = '\0'; in DumpRomDir()
74 (void)FS_TellDir(&dir, &entry.dir_id); in DumpRomDir()
75 DumpRomDirectorySub(0, &entry); in DumpRomDir()
/TwlSDK-5.1.0/build/demos/fs/arc-1/src/
Dmain.c130 FSDirEntry entry; in DumpRomDir() local
135 entry.name[0] = '\0'; in DumpRomDir()
136 (void)FS_TellDir(&dir, &entry.dir_id); in DumpRomDir()
137 DumpRomDirectorySub(0, &entry); in DumpRomDir()
/TwlSDK-5.1.0/build/demos/mb/multiboot/src/
Dmain.c263 u8 entry = GetMaxEntry(); in Menu() local
266 (void)RotateU8(&entry, 1, MB_MAX_CHILD, 1); in Menu()
270 (void)RotateU8(&entry, 1, MB_MAX_CHILD, -1); in Menu()
272 SetMaxEntry(entry); in Menu()
/TwlSDK-5.1.0/build/libraries/wfs/common/src/
Dwfs_format.c139 WFSFATFormat entry; in WFS_LoadTable() local
140 (void)MI_ReadDevice(device, &entry, in WFS_LoadTable()
142 sizeof(entry)); in WFS_LoadTable()
143 MI_StoreLE32(&fat[count].top, MI_LEToH32(entry.top) + diff); in WFS_LoadTable()
144 MI_StoreLE32(&fat[count].bottom, MI_LEToH32(entry.bottom) + diff); in WFS_LoadTable()
/TwlSDK-5.1.0/build/demos/fs/arc-2/src/
Dmain.c261 FSDirEntry entry; in DumpRomDir() local
266 entry.name[0] = '\0'; in DumpRomDir()
267 (void)FS_TellDir(&dir, &entry.dir_id); in DumpRomDir()
268 DumpRomDirectorySub(0, &entry); in DumpRomDir()
/TwlSDK-5.1.0/build/demos/mb/multiboot/
Dreadme.txt25 [A Button: Allow entry. B Button: Disallow entry]
/TwlSDK-5.1.0/include/nitro/os/common/
DfunctionCost.h50 entry; member
Dthread.h177 OSThread *entry[OS_THREAD_MAX_NUM]; member
504 return OS_GetThreadInfo()->entry[id]; in OS_GetThread()

12