MCPcopy Create free account
hub / github.com/boostorg/build / downcase_list

Function downcase_list

v2/engine/builtins.c:688–707  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

686
687
688static LIST * downcase_list( LIST * in )
689{
690 LIST * result = L0;
691 LISTITER iter = list_begin( in );
692 LISTITER const end = list_end( in );
693
694 string s[ 1 ];
695 string_new( s );
696
697 for ( ; iter != end; iter = list_next( iter ) )
698 {
699 string_append( s, object_str( list_item( iter ) ) );
700 downcase_inplace( s->value );
701 result = list_push_back( result, object_new( s->value ) );
702 string_truncate( s, 0 );
703 }
704
705 string_free( s );
706 return result;
707}
708
709
710LIST * builtin_glob( FRAME * frame, int flags )

Callers 2

builtin_globFunction · 0.85
glob1Function · 0.85

Calls 10

list_beginFunction · 0.85
list_endFunction · 0.85
string_newFunction · 0.85
string_appendFunction · 0.85
object_strFunction · 0.85
downcase_inplaceFunction · 0.85
list_push_backFunction · 0.85
object_newFunction · 0.85
string_truncateFunction · 0.85
string_freeFunction · 0.85

Tested by

no test coverage detected