Home
last modified time | relevance | path

Searched refs:strlen (Results 1 – 25 of 31) sorted by relevance

12

/TwlSDK-5.4/build/tools/stripdebug/
Dsearcharg.c78 stripped_elf_fname = malloc(strlen(optarg)+1); in SA_searchopt()
87 added_elf_fname = malloc(strlen(optarg)+1); in SA_searchopt()
100 input_elf_fname = malloc(strlen(argv[optind])+1); in SA_searchopt()
Dstripdebug.c119 …elf_namesize = strlen( STRIPPED_ELF_FILENAME) + strlen( input_elf_fname) + 1;//+1 is the last null… in main()
160 …elf_namesize = strlen( ADDED_ELF_FILENAME) + strlen( input_elf_fname) + 1;//+1 is the last null ch… in main()
221 fwrite( c_str, 1, strlen( c_str), Fp); in file_write()
Dinsertsection.c136 CurrentShdrEx->str = (char*)malloc( strlen(SPECIAL_SECTION_NAME) + 1 );
186 CurrentShdrEx->Shdr.sh_size += (strlen( SPECIAL_SECTION_NAME) + 1);
188 ElfHandle->buf_current += (strlen( SPECIAL_SECTION_NAME) + 1);
Dloader_subset.c96 total_size += (strlen( CurrentShdrEx->str) + 1); in ELi_CopyShStrToBuffer()
510 if( strncmp( str_adr, "$a\0", strlen("$a\0")) == 0) { in ELi_CodeIsThumb()
512 }else if( strncmp( str_adr, "$t\0", strlen("$t\0")) == 0) { in ELi_CodeIsThumb()
Delf_loader.c383 CurrentShdrEx->str = (char*)malloc( strlen(SPECIAL_SECTION_NAME) + 1 ); in ELi_LoadObject()
500 strlen( symstr) + 1); in ELi_LoadObject()
506 StrShEx->str_table_size += ( strlen( symstr) + 1); in ELi_LoadObject()
840 sym_str = (char*)malloc( strlen( UnrEnt->sym_str ) + 1 ); in EL_ResolveAllLibrary()
/TwlSDK-5.4/build/tools/defval/
Dmisc.c79 len1 = str1 ? strlen(str1) : 0; in StrCatDup()
80 len2 = str2 ? strlen(str2) : 0; in StrCatDup()
257 buffer_gets = strlen(buffer); in Fgets()
301 int path_len = strlen(path); in UnpackFileName()
Dset_defval.c192 for (n = strlen(str) - 1; n >= 0; n--) in clip_whitespace()
Dget_defval.c134 int name_len = strlen(name_copy); in get_modified_dvalue()
/TwlSDK-5.4/build/tools/makelcf/
Ddefval.c107 read_size = strlen(buffer); in AddDefValFromFile()
170 lastword = strlen(t->value) - 1; in AddDefVal()
243 int value_len = strlen(in_value); in ResolveStringModifier()
325 int len_name = strlen(in_name); in SearchDefValWithOption()
Dcontainer.c374 char *s = Alloc(strlen(t->objectName) + strlen(sectionName) + 80); in SetObjectSection()
721 char *name = Alloc(strlen(target) + strlen(t->overlaydefs + 1) + 1); in CheckProperty()
734 char *name = Alloc(strlen(target) + strlen(t->overlaytable + 1) + 1); in CheckProperty()
Dmisc.c87 size = strlen(vbuf->buffer); in PutVBuffer()
/TwlSDK-5.4/build/tools/makelcf.TWL/
Ddefval.c70 read_size = strlen(buffer); in AddDefValFromFile()
133 lastword = strlen(t->value) - 1; in AddDefVal()
206 int value_len = strlen(in_value); in ResolveStringModifier()
288 int len_name = strlen(in_name); in SearchDefValWithOption()
Dcontainer.c330 char *s = Alloc(strlen(t->objectName) + strlen(sectionName) + 80); in SetObjectSection()
671 char *name = Alloc(strlen(Static.name) + strlen(t->overlaydefs + 1) + 1); in CheckProperty()
684 char *name = Alloc(strlen(Static.name) + strlen(t->overlaytable + 1) + 1); in CheckProperty()
697 char *name = Alloc(strlen(Static.name) + strlen(t->ltdoverlaydefs + 1) + 1); in CheckProperty()
710 char *name = Alloc(strlen(Static.name) + strlen(t->ltdoverlaytable + 1) + 1); in CheckProperty()
Dmisc.c73 size = strlen(vbuf->buffer); in PutVBuffer()
/TwlSDK-5.4/build/tools/bin2obj/
Dcookargs.c271 str_len = strlen(*str); in replace_word()
276 substr_len = strlen(substr); in replace_word()
378 len1 = str1 ? strlen(str1) : 0; in StrCatDup()
379 len2 = str2 ? strlen(str2) : 0; in StrCatDup()
431 int path_len = strlen(path); in UnpackFileName()
Dsection.c288 int new_size = s->size + strlen(string) + 1; in section_add_string()
/TwlSDK-5.4/build/tools/makelst/
Dmakelst.c125 c_filename = malloc( strlen( C_SOURCE_FILENAME)); in main()
209 fwrite( c_str, 1, strlen( c_str), Fp); in file_write()
Dloader_subset.c315 copy_size = (u32)strlen( sym_str) + 1; in ELi_RelocateSym()
370 copy_size = (u32)strlen( sym_str) + 1; in ELi_RelocateSym()
487 copy_size = (u32)strlen( sym_str) + 1; in ELi_DiscriminateGlobalSym()
723 if( strncmp( str_adr, "$a\0", strlen("$a\0")) == 0) { in ELi_CodeIsThumb()
725 }else if( strncmp( str_adr, "$t\0", strlen("$t\0")) == 0) { in ELi_CodeIsThumb()
/TwlSDK-5.4/build/tools/loadrun.TWL/
Dloadrun.c322 tmpStrLen = strlen(tmpStr); in searchDevice()
588 gDeviceSerialStringLen = strlen( gDeviceSerialString ); in parseOption()
642 int length = strlen(gAbortString); in parseOption()
923 gExitStrLength = strlen(OS_EXIT_STRING_1); in procPrintf()
1081 int abortStrLength = gAbortString ? strlen(gAbortString) : 0; in outputString()
1101 gConbineBufPtr[console] += strlen(p); in outputString()
/TwlSDK-5.4/build/demos/env/env-1/src/
Dmain.c164 OS_Printf("- strlen(\"abcdef\") = %d\n", strlen("abcdef")); in NitroMain()
170 OS_Printf("- strlen(\"\\0\\0\\0\") = %d\n", strlen("\0\0\0")); in NitroMain()
/TwlSDK-5.4/build/tools/mic2wav/
Dmain.cpp240 const int n = strlen(s_dir) - 1; in main()
245 int n = strlen(s_dir) - 1; in main()
/TwlSDK-5.4/build/tools/loadrun/
Dloadrun.c535 int length = strlen(gAbortString); in parseOption()
760 gExitStrLength = strlen(OS_EXIT_STRING_1); in procPrintf()
881 int abortStrLength = gAbortString ? strlen(gAbortString) : 0; in outputString()
892 gConbineBufPtr += strlen(p); in outputString()
/TwlSDK-5.4/build/demos.TWL/crypto/sign-2/src/
Dmain.c376 signparam.in_len = strlen(teststr); in sign_verify()
403 if(CRYPTO_VerifySignature(teststr, (int)strlen(teststr), signstr, mod_ptr) == FALSE) in sign_verify()
/TwlSDK-5.4/build/demos/wbt/wbt-1/src/
Dbt.c98 static int strlen(char *str) in strlen() function
127 offset = BT_DATA_SIZE - (strlen(end_string) + 1); in bt_register_blocks()
/TwlSDK-5.4/build/demos.TWL/crypto/rsa-1/src/
Dmain.c389 encparam.in_len = strlen((char*)teststr); in RsaTest()

12