Home
last modified time | relevance | path

Searched refs:NAME_SIZE (Results 1 – 4 of 4) sorted by relevance

/external/gptfdisk/
Dgptpart.cc38 memset(name, 0, NAME_SIZE * sizeof(name[0]) ); in GPTPart()
84 while ( ( pos < NAME_SIZE ) && ( name[ pos ] != 0 ) ) { in GetDescription()
95 if ( pos >= NAME_SIZE ) { in GetDescription()
181 memset(name, 0, NAME_SIZE * sizeof(name[0]) );
182 theName.extractBetween(0, NAME_SIZE, (UChar*) name);
196 for ( size_t i = 0 ; pos < NAME_SIZE && i < len ; ) {
241 if ( pos > NAME_SIZE - 2 ) {
256 while ( pos < NAME_SIZE ) {
274 memcpy(name, orig.name, NAME_SIZE * sizeof( name[ 0 ] ) );
396 memset(name, 0, NAME_SIZE * sizeof( name[0]) );
[all …]
Dgptcurses.cc322 char temp[NAME_SIZE + 1]; in ShowInfo()
339 partitions[partNum].GetDescription().extract(0, NAME_SIZE , temp, NAME_SIZE ); in ShowInfo()
349 char temp[NAME_SIZE + 1]; in ChangeName()
356 partitions[partNum].GetDescription().extract(0, NAME_SIZE , temp, NAME_SIZE ); in ChangeName()
363 getnstr(temp, NAME_SIZE ); in ChangeName()
Dsupport.h70 #define NAME_SIZE 36 // GPT allows 36 UTF-16LE code units for a name in a 128 byte partition entry macro
Dgptpart.h53 uint16_t name[NAME_SIZE];