/macosx-10.10/ruby-106/ruby/ext/tk/sample/ |
H A D | safe-tk.rb | 8 TkLabel.new(:text=>'This is the Default Master Ipnterpreter').pack(:padx=>5, :pady=>3) 9 TkButton.new(:text=>'QUIT', :command=>proc{exit}).pack(:pady=>3) 25 TkLabel.new(:text=>'x = proc{p [\'proc x\', "$SAFE==#{$SAFE}"]; exit}', 28 puts 'y = proc{|label| p [\'proc y\', "$SAFE==#{$SAFE}", label]; label.text($SAFE)}' 29 y = proc{|label| p ['proc y', "$SAFE==#{$SAFE}", label]; label.text($SAFE)} 30 TkLabel.new(:text=>'y = proc{|label| p [\'proc y\', "$SAFE==#{$SAFE}", label]; label.text($SAFE)}', 35 TkLabel.new(:text=>'z = proc{p [\'proc z\', "$SAFE==#{$SAFE}"]; exit}', 41 TkLabel.new(:text=>"1st eval_proc : $SAFE == #{$SAFE}").pack 44 TkLabel.new(f, :text [all...] |
H A D | tktimer2.rb | 16 label.text format("%d.%02d", *(cnt.divmod(100))) 21 timer = TkTimer.new(50, -1, tick).start(0, proc{ label.text('0.00'); 0 }) 27 # init_proc : proc{ label.text('0.00'); 0 } 31 TkButton.new(:text=>'Start') { 35 TkButton.new(:text=>'Restart') { 36 command proc{ timer.restart(0, proc{ label.text('0.00'); 0 }) } 39 TkButton.new(:text=>'Stop') {
|
/macosx-10.10/ruby-106/ruby/lib/rdoc/markup/ |
H A D | to_html_snippet.rb | 34 # of text have been encountered. 53 @res << "<p>#{to_html heading.text}\n" 71 text = paragraph.text @hard_break 73 @res << "#{para}#{wrap to_html text}\n" 105 input = verbatim.text.rstrip 107 text = truncate input 108 text << ' ...' unless text == input 110 super RDoc::Markup::Verbatim.new text [all...] |
H A D | to_html_crossref.rb | 48 # Creates a link to the reference +name+ if the name exists. If +text+ is 49 # given it is used as the link text, otherwise +name+ is used. 51 def cross_reference name, text = nil 58 text = name unless text 60 link lookup, text 64 # We're invoked when any text matches the CROSSREF pattern. If we find the 71 name = special.text 78 # cross-references to "new" in text, for instance) 90 return cross_reference $' if special.text [all...] |
/macosx-10.10/Security-57031.1.35/Security/libsecurity_codesigning/antlr2/antlr/ |
H A D | CommonAST.hpp | 23 , text() 30 , text( t->getText() ) 37 , text(other.text) 59 return text; 89 text = txt; 101 ANTLR_USE_NAMESPACE(std)string text; member in class:antlr::CommonAST
|
H A D | TokenStreamRewriteEngine.hpp | 103 : index(idx), text(txt) 124 ANTLR_USE_NAMESPACE(std)string text; member in class:antlr::RewriteOperation 143 InsertBeforeOp( size_t index, const ANTLR_USE_NAMESPACE(std)string& text ) 144 : RewriteOperation(index, text) 150 out << text; variable 161 ReplaceOp(size_t from, size_t to, ANTLR_USE_NAMESPACE(std)string text) argument 162 : RewriteOperation(from,text) 168 out << text; variable 216 const ANTLR_USE_NAMESPACE(std)string& text ) 218 insertAfter(DEFAULT_PROGRAM_NAME, t, text); 221 insertAfter(size_t index, const ANTLR_USE_NAMESPACE(std)string& text) argument 247 insertBefore(size_t index, const ANTLR_USE_NAMESPACE(std)string& text) argument 265 replace(size_t index, const ANTLR_USE_NAMESPACE(std)string& text) argument 270 replace( size_t from, size_t to, const ANTLR_USE_NAMESPACE(std)string& text) argument [all...] |
/macosx-10.10/ruby-106/ruby/sample/openssl/ |
H A D | cipher.rb | 4 def crypt_by_password(alg, pass, salt, text) 7 puts %(plain text: "#{text}") 16 cipher = enc.update(text) 18 puts %(encrypted text: #{cipher.inspect}) 27 puts %(decrypted text: "#{plain}") 52 text = "abcdefghijklmnopqrstuvwxyz" 54 crypt_by_password(alg, pass, salt, text)
|
/macosx-10.10/ICU-531.30/icuSources/common/ |
H A D | dictbe.cpp | 43 DictionaryBreakEngine::findBreaks( UText *text, argument 52 // The span to break begins at the current position in the text, and 53 // extends towards the start or end of the text, depending on 'reverse'. 55 int32_t start = (int32_t)utext_getNativeIndex(text); 59 UChar32 c = utext_current32(text); 62 while((current = (int32_t)utext_getNativeIndex(text)) > startPos && isDict) { 63 c = utext_previous32(text); 70 while((current = (int32_t)utext_getNativeIndex(text)) < endPos && fSet.contains(c)) { 71 utext_next32(text); // TODO: recast loop for postincrement 72 c = utext_current32(text); 145 candidates( UText *text, DictionaryMatcher *dict, int32_t rangeEnd ) argument 246 divideUpDictionaryRange( UText *text, int32_t rangeStart, int32_t rangeEnd, UStack &foundBreaks ) const argument 474 divideUpDictionaryRange( UText *text, int32_t rangeStart, int32_t rangeEnd, UStack &foundBreaks ) const argument 675 divideUpDictionaryRange( UText *text, int32_t rangeStart, int32_t rangeEnd, UStack &foundBreaks ) const argument 958 divideUpDictionaryRange( UText *text, int32_t rangeStart, int32_t rangeEnd, UStack &foundBreaks ) const argument [all...] |
/macosx-10.10/passwordserver_sasl-193/cyrus_sasl/plugins/ |
H A D | scram.c | 472 server_context_t *text; local 475 text = sparams->utils->malloc(sizeof(server_context_t)); 476 if (text == NULL) { 481 memset(text, 0, sizeof(server_context_t)); 482 /* text->state = 0; */ 484 *conn_context = text; 490 scram_server_mech_step1(server_context_t *text, argument 561 text->cbindingname = p + 1; 564 text->cbindingname = NULL; 572 _plug_strdup(sparams->utils, text 1085 scram_server_mech_step2(server_context_t *text, sasl_server_params_t *sparams, const char *clientin, unsigned clientinlen, const char **serverout, unsigned *serveroutlen, sasl_out_params_t *oparams) argument 1445 server_context_t *text = (server_context_t *) conn_context; local 1716 server_context_t *text = (server_context_t *) conn_context; local 1809 client_context_t *text; local 1826 scram_client_mech_step1(client_context_t *text, sasl_client_params_t *params, const char *serverin __attribute__((unused)), unsigned serverinlen __attribute__((unused)), sasl_interact_t **prompt_need, const char **clientout, unsigned *clientoutlen, sasl_out_params_t *oparams) argument 2071 scram_client_mech_step2(client_context_t *text, sasl_client_params_t *params, const char *serverin, unsigned serverinlen, sasl_interact_t **prompt_need __attribute__((unused)), const char **clientout, unsigned *clientoutlen, sasl_out_params_t *oparams __attribute__((unused))) argument 2480 scram_client_mech_step3(client_context_t *text, sasl_client_params_t *params, const char *serverin, unsigned serverinlen, sasl_interact_t **prompt_need __attribute__((unused)), const char **clientout __attribute__((unused)), unsigned *clientoutlen __attribute__((unused)), sasl_out_params_t *oparams) argument 2596 client_context_t *text = (client_context_t *) conn_context; local 2656 client_context_t *text = (client_context_t *) conn_context; local [all...] |
/macosx-10.10/CPANInternal-159.1/SOAP-Lite-1.11/examples/ |
H A D | chat.pl | 24 my($nick, $text, $time) = @$_; chomp($text); 25 join '', mktime($time), ' ', $nick, '>', ' ', $text, "\n";
|
/macosx-10.10/ICU-531.30/icuSources/i18n/ |
H A D | regextxt.h | 36 UText *text; member in struct:URegexUTextUnescapeCharContext 39 #define U_REGEX_UTEXT_UNESCAPE_CONTEXT(text) { (text), -1 }
|
/macosx-10.10/Security-57031.1.35/Security/include/security_codesigning/ |
H A D | SecRequirement.h | 34 data structures. They can be formulated in a text form that can be compiled 35 into binary form and decompiled back into text form without loss of functionality 76 Create a SecRequirement object by compiling a valid text representation 79 @param text A CFString containing the text form of a (single) Code Requirement. 82 object that implements the conditions described in text. 90 OSStatus SecRequirementCreateWithString(CFStringRef text, SecCSFlags flags, 93 OSStatus SecRequirementCreateWithStringAndErrors(CFStringRef text, SecCSFlags flags, 116 Converts a SecRequirement object into text form. 119 Repeated application of this function may produce text tha [all...] |
/macosx-10.10/Security-57031.1.35/Security/libsecurity_codesigning/antlr2/src/ |
H A D | CommonAST.cpp | 24 ANTLR_USE_NAMESPACE(std)string t1, t2, text; variable 26 // text 27 read_AttributeNValue( in, t1, text ); 37 this->initialize( type, text );
|
H A D | CommonToken.cpp | 15 CommonToken::CommonToken() : Token(), line(1), col(1), text("") 22 , text(txt) 29 , text(s) function in namespace:antlr
|
/macosx-10.10/Security-57031.1.35/Security/libsecurity_codesigning/lib/ |
H A D | SecRequirement.h | 34 data structures. They can be formulated in a text form that can be compiled 35 into binary form and decompiled back into text form without loss of functionality 76 Create a SecRequirement object by compiling a valid text representation 79 @param text A CFString containing the text form of a (single) Code Requirement. 82 object that implements the conditions described in text. 90 OSStatus SecRequirementCreateWithString(CFStringRef text, SecCSFlags flags, 93 OSStatus SecRequirementCreateWithStringAndErrors(CFStringRef text, SecCSFlags flags, 116 Converts a SecRequirement object into text form. 119 Repeated application of this function may produce text tha [all...] |
/macosx-10.10/WebCore-7600.1.25/dom/ |
H A D | BeforeTextInsertedEvent.h | 37 static PassRefPtr<BeforeTextInsertedEvent> create(const String& text) argument 39 return adoptRef(new BeforeTextInsertedEvent(text)); 45 const String& text() const { return m_text; } function in class:WebCore::BeforeTextInsertedEvent
|
/macosx-10.10/WebInspectorUI-7600.1.17/UserInterface/Models/ |
H A D | CSSMedia.js | 26 WebInspector.CSSMedia = function(type, text, sourceCodeLocation) 31 this._text = text || ""; 54 get text()
|
H A D | TextRange.js | 99 resolveLinesAndColumns: function(text) 101 console.assert(typeof text === "string"); 102 if (typeof text !== "string") 110 function countNewLineCharacters(text) 112 var matches = text.match(/\n/g); 116 var startSubstring = text.substring(0, this._startOffset); 117 var rangeSubstring = text.substring(this._startOffset, this._endOffset); 135 resolveOffsets: function(text) 137 console.assert(typeof text === "string"); 138 if (typeof text ! [all...] |
/macosx-10.10/passwordserver_sasl-193/cyrus_sasl/include/ |
H A D | hmac-md5.h | 28 * digest may be same as text or key 30 void _sasl_hmac_md5(const unsigned char *text, int text_len, 48 #define _sasl_hmac_md5_update(hmac, text, text_len) _sasl_MD5Update(&(hmac)->ictx, (text), (text_len))
|
/macosx-10.10/postfix-255/postfix/src/util/ |
H A D | msg_vstream.c | 57 static void msg_vstream_print(int level, const char *text) argument 67 msg_tag, text); 70 msg_tag, level_text[level], text);
|
/macosx-10.10/ruby-106/ruby/ext/tk/lib/tkextlib/tcllib/ |
H A D | getstring.rb | 48 def initialize(*args) # args = (parent=nil, text='', keys=nil) 51 text = args.pop 55 text = keys 58 if text 59 @text = text.dup 61 @text = '' 78 @path, @variable, @text, *hash_kv(@keys))) 92 if slot == 'text' 93 @text [all...] |
/macosx-10.10/ruby-106/ruby/ext/tk/sample/demos-en/ |
H A D | form.rb | 25 text "This window contains a simple form where you can type in the various entries and use tabs to move circularly between the entries." 32 text 'Dismiss' 41 text 'Show Code' 58 form_data[1]['label'].text('Name:') 59 form_data[2]['label'].text('Address:') 60 form_data[5]['label'].text('Phone:')
|
/macosx-10.10/ruby-106/ruby/ext/tk/sample/demos-jp/ |
H A D | form.rb | 26 text "������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������" 33 #text '������' 34 text '���������' 43 text '���������������' 60 form_data[1]['label'].text('������:') 61 form_data[2]['label'].text('������:') 62 form_data[5]['label'].text('������:')
|
/macosx-10.10/ruby-106/ruby/test/rdoc/ |
H A D | test_rdoc_markup_paragraph.rb | 20 assert_equal 'hello world', paragraph.text 26 assert_equal 'helloworld', paragraph.text 28 assert_equal "hello\nworld", paragraph.text("\n")
|
/macosx-10.10/bash-94.1.2/bash-3.2/ |
H A D | braces.c | 50 Segregate the text into 3 sections: preamble (stuff before an open brace), 88 brace_expand (text) 89 char *text; 100 /* Find the text of the preamble. */ 101 tlen = strlen (text); 104 c = brace_gobbler (text, tlen, &i, '{'); /* } */ 106 /* Make sure that when we exit this loop, c == 0 or text[i] begins a 110 c = brace_gobbler (text, tlen, &i, '{'); /* } */ 117 c = brace_gobbler (text, tlen, &j, '}'); 137 strncpy (preamble, text, [all...] |