Searched refs:array_nl (Results 1 - 4 of 4) sorted by relevance
/macosx-10.10.1/ruby-106/ruby/ext/json/generator/ |
H A D | generator.c | 484 if (state->array_nl) ruby_xfree(state->array_nl); 549 state->array_nl = fstrndup(RSTRING_PTR(tmp), len + 1); 628 rb_hash_aset(result, ID2SYM(i_array_nl), rb_str_new(state->array_nl, state->array_nl_len)); 723 char *array_nl = state->array_nl; local 737 if (array_nl) fbuffer_append(buffer, array_nl, array_nl_len); 748 if (array_nl) { 749 fbuffer_append(buffer, array_nl, array_nl_le 1161 cState_array_nl_set(VALUE self, VALUE array_nl) argument [all...] |
H A D | generator.h | 68 char *array_nl; member in struct:JSON_Generator_StateStruct 139 static VALUE cState_array_nl_set(VALUE self, VALUE array_nl);
|
/macosx-10.10.1/ruby-106/ruby/test/json/ |
H A D | test_json_generate.rb | 127 :array_nl => "\n", 144 :array_nl => "", 161 :array_nl => "", 237 :array_nl => '5' 245 assert_equal '5', state1.array_nl 252 assert_equal '5', state2.array_nl
|
/macosx-10.10.1/ruby-106/ruby/ext/json/lib/json/ |
H A D | common.rb | 72 :array_nl => "", 79 :array_nl => "\n" 197 # * *array_nl*: a string that is put at the end of a JSON array (default: ''),
|
Completed in 69 milliseconds