/dports/sysutils/lnav/lnav-0.10.1/src/yajlpp/ |
H A D | json_op.cc | 162 if (jo->check_index()) { in handle_null() 176 if (jo->check_index()) { in handle_boolean() 190 if (jo->check_index()) { in handle_number() 204 if (jo->check_index()) { in handle_string() 224 if (!jo->jo_ptr.expect_map(jo->jo_depth, jo->jo_array_index)) { in handle_start_map() 242 if (!jo->jo_ptr.at_key(jo->jo_depth, (const char *)key, len)) { in handle_map_key() 254 if (jo->check_index()) { in handle_end_map() 260 jo->jo_ptr.exit_container(jo->jo_depth, jo->jo_array_index); in handle_end_map() 276 jo->jo_ptr.expect_array(jo->jo_depth, jo->jo_array_index); in handle_start_array() 286 if (jo->check_index()) { in handle_end_array() [all …]
|
H A D | drive_json_op.cc | 49 json_op *jo = (json_op *)ctx; in handle_start_map() local 59 json_op *jo = (json_op *)ctx; in handle_map_key() local 69 json_op *jo = (json_op *)ctx; in handle_end_map() local 79 json_op *jo = (json_op *)ctx; in handle_null() local 89 json_op *jo = (json_op *)ctx; in handle_boolean() local 99 json_op *jo = (json_op *)ctx; in handle_number() local 109 json_op *jo = (json_op *)ctx; in handle_string() local 119 json_op *jo = (json_op *)ctx; in handle_start_array() local 129 json_op *jo = (json_op *)ctx; in handle_end_array() local 150 json_op jo(jptr); in main() local [all …]
|
/dports/net/rclone-browser/RcloneBrowser-1.8.0/src/ |
H A D | list_of_job_options.cpp | 149 << jo.syncTiming << jo.skipNewer << jo.skipExisting << jo.compare in operator <<() 151 << jo.dontUpdateModified << jo.transfers << jo.checkers << jo.bandwidth in operator <<() 152 << jo.minSize << jo.minAge << jo.maxAge << jo.maxDepth in operator <<() 154 << jo.lowLevelRetries << jo.deleteExcluded << jo.excluded << jo.extra in operator <<() 155 << jo.DriveSharedWithMe << jo.source << jo.dest << jo.isFolder in operator <<() 173 stream >> jo.description >> jo.jobType >> jo.operation >> in operator >>() 175 jo.skipExisting >> jo.compare >> jo.compareOption >> jo.verbose >> in operator >>() 177 jo.checkers >> jo.bandwidth >> jo.minSize >> jo.minAge >> jo.maxAge >> in operator >>() 178 jo.maxDepth >> jo.connectTimeout >> jo.idleTimeout >> jo.retries >> in operator >>() 179 jo.lowLevelRetries >> jo.deleteExcluded >> jo.excluded >> jo.extra >> in operator >>() [all …]
|
/dports/astro/stellarium/stellarium-0.21.3/plugins/Satellites/util/ |
H A D | ini2json.pl | 36 jo("{\n"); 42 jo("{\n"); 49 jo("{\n"); 115 jo("}\n"); 117 jo("}\n"); 121 sub jo { subroutine 166 jo("{\n"); 172 jo("{\n"); 245 jo("}\n"); 247 jo("}\n"); [all …]
|
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/ |
H A D | condition.cpp | 50 if( !jo.has_string( "type" ) || !jo.has_string( "context" ) || in get_talk_varname() 51 ( check_value && !( jo.has_string( "value" ) || jo.has_member( "time" ) ) ) ) { in get_talk_varname() 52 jo.throw_error( "invalid " + member + " condition in " + jo.str() ); in get_talk_varname() 346 const bool time_check = jo.has_member( "time" ) && jo.get_bool( "time" ); in set_has_var() 978 set_npc_allies( jo ); in conditional_t() 982 set_u_has_cash( jo ); in conditional_t() 984 set_u_are_owed( jo ); in conditional_t() 994 set_npc_rule( jo ); in conditional_t() 998 set_days_since( jo ); in conditional_t() 1000 set_is_season( jo ); in conditional_t() [all …]
|
H A D | condition.h | 74 explicit conditional_t( const JsonObject &jo ); 85 void set_npc_has_class( const JsonObject &jo ); 100 void set_npc_allies( const JsonObject &jo ); 101 void set_u_has_cash( const JsonObject &jo ); 102 void set_u_are_owed( const JsonObject &jo ); 103 void set_npc_aim_rule( const JsonObject &jo ); 107 void set_npc_rule( const JsonObject &jo ); 108 void set_npc_override( const JsonObject &jo ); 109 void set_days_since( const JsonObject &jo ); 110 void set_is_season( const JsonObject &jo ); [all …]
|
H A D | mutation_data.cpp | 227 if( jo.has_string( "body_part" ) ) { in load_mutation_attack() 231 jo.read( "chance", ret.chance ); in load_mutation_attack() 233 if( jo.has_array( "base_damage" ) ) { in load_mutation_attack() 252 jo.throw_error( "Damage unset" ); in load_mutation_attack() 267 jo.read( "lie", ret.lie ); in load_mutation_social_mods() 268 jo.read( "persuade", ret.persuade ); in load_mutation_social_mods() 275 trait_factory.load( jo, src ); in load_trait() 342 load( jo ); in deserialize() 368 if( jo.has_object( "spawn_item" ) ) { in load() 378 if( jo.has_object( "transform" ) ) { in load() [all …]
|
H A D | regional_settings.cpp | 25 if( !jo.read( member, tmp ) ) { in read_and_set_or_throw() 45 if( !jo.has_object( "types" ) ) { in load_forest_biome_component() 47 jo.throw_error( "types required" ); in load_forest_biome_component() 72 if( !jo.has_object( "furniture" ) ) { in load_forest_biome_terrain_dependent_furniture() 104 if( !jo.has_object( "components" ) ) { in load_forest_biome() 123 if( !jo.has_object( "groundcover" ) ) { in load_forest_biome() 434 if( !jo.read( "id", new_region.id ) ) { in load_region_settings() 506 if( !jo.has_object( "map_extras" ) ) { in load_region_settings() 539 if( !jo.has_object( "city" ) ) { in load_region_settings() 575 if( !jo.has_object( "weather" ) ) { in load_region_settings() [all …]
|
H A D | item_factory.cpp | 1659 load( jo ); in deserialize() 1686 load( jo ); in deserialize() 1717 load( jo ); in deserialize() 1748 load( jo ); in deserialize() 1774 if( jo.has_member( "burst" ) && jo.has_member( "modes" ) ) { in load() 2021 load( jo ); in deserialize() 2038 load( jo ); in deserialize() 2175 load( jo ); in deserialize() 2326 load( jo ); in deserialize() 2352 load( jo ); in deserialize() [all …]
|
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/ |
H A D | condition.cpp | 50 if( !jo.has_string( "type" ) || !jo.has_string( "context" ) || in get_talk_varname() 51 ( check_value && !( jo.has_string( "value" ) || jo.has_member( "time" ) ) ) ) { in get_talk_varname() 52 jo.throw_error( "invalid " + member + " condition in " + jo.str() ); in get_talk_varname() 346 const bool time_check = jo.has_member( "time" ) && jo.get_bool( "time" ); in set_has_var() 978 set_npc_allies( jo ); in conditional_t() 982 set_u_has_cash( jo ); in conditional_t() 984 set_u_are_owed( jo ); in conditional_t() 994 set_npc_rule( jo ); in conditional_t() 998 set_days_since( jo ); in conditional_t() 1000 set_is_season( jo ); in conditional_t() [all …]
|
H A D | condition.h | 74 explicit conditional_t( const JsonObject &jo ); 85 void set_npc_has_class( const JsonObject &jo ); 100 void set_npc_allies( const JsonObject &jo ); 101 void set_u_has_cash( const JsonObject &jo ); 102 void set_u_are_owed( const JsonObject &jo ); 103 void set_npc_aim_rule( const JsonObject &jo ); 107 void set_npc_rule( const JsonObject &jo ); 108 void set_npc_override( const JsonObject &jo ); 109 void set_days_since( const JsonObject &jo ); 110 void set_is_season( const JsonObject &jo ); [all …]
|
H A D | mutation_data.cpp | 227 if( jo.has_string( "body_part" ) ) { in load_mutation_attack() 231 jo.read( "chance", ret.chance ); in load_mutation_attack() 233 if( jo.has_array( "base_damage" ) ) { in load_mutation_attack() 252 jo.throw_error( "Damage unset" ); in load_mutation_attack() 267 jo.read( "lie", ret.lie ); in load_mutation_social_mods() 268 jo.read( "persuade", ret.persuade ); in load_mutation_social_mods() 275 trait_factory.load( jo, src ); in load_trait() 342 load( jo ); in deserialize() 368 if( jo.has_object( "spawn_item" ) ) { in load() 378 if( jo.has_object( "transform" ) ) { in load() [all …]
|
H A D | regional_settings.cpp | 25 if( !jo.read( member, tmp ) ) { in read_and_set_or_throw() 45 if( !jo.has_object( "types" ) ) { in load_forest_biome_component() 47 jo.throw_error( "types required" ); in load_forest_biome_component() 72 if( !jo.has_object( "furniture" ) ) { in load_forest_biome_terrain_dependent_furniture() 104 if( !jo.has_object( "components" ) ) { in load_forest_biome() 123 if( !jo.has_object( "groundcover" ) ) { in load_forest_biome() 434 if( !jo.read( "id", new_region.id ) ) { in load_region_settings() 506 if( !jo.has_object( "map_extras" ) ) { in load_region_settings() 539 if( !jo.has_object( "city" ) ) { in load_region_settings() 575 if( !jo.has_object( "weather" ) ) { in load_region_settings() [all …]
|
/dports/textproc/jo/jo-1.4/ |
H A D | Makefile.am | 15 jo.1: jo.pandoc 20 jo.md: jo.pandoc 43 tests/jo.01.sh tests/jo.01.exp \ 44 tests/jo.02.sh tests/jo.02.exp \ 45 tests/jo.03.sh tests/jo.03.exp \ 46 tests/jo.04.sh tests/jo.04.exp \ 47 tests/jo.05.sh tests/jo.05.exp \ 48 tests/jo.06.sh tests/jo.06.exp \ 50 tests/jo.08.sh tests/jo.08.exp \ 55 tests/jo.13.sh tests/jo.13.exp tests/jo-logo.png \ [all …]
|
H A D | README | 1 # jo 3 ![jo logo](tests/jo-logo.png) 8 $ jo -p name=jo n=17 parser=false 10 "name": "jo", 19 $ seq 1 10 | jo -a 23 It has a [manual](jo.md), and you can read [why I wrote jo](http://jpmens.net/2016/03/05/a-shell-co… 31 cd jo-1.3 47 cd jo 57 brew install jo 63 apt-get install jo [all …]
|
/dports/databases/jlog/jlog-cf3085f/php/ |
H A D | jlog.c | 199 if(!jo || !jo->ctx || jlog_ctx_remove_subscriber(jo->ctx, subscriber) != 0) in PHP_METHOD() 225 if(!jo || !jo->ctx) { in PHP_METHOD() 254 if(!jo || !jo->ctx) { in PHP_METHOD() 279 if(!jo || !jo->ctx) { return; } in PHP_METHOD() 330 if(!jo || !jo->ctx) { in PHP_METHOD() 360 if(!jo || !jo->ctx) { in PHP_METHOD() 411 if(!jo || !jo->ctx) { in PHP_METHOD() 442 if(!jo || !jo->ctx) { in PHP_METHOD() 448 cnt = jlog_ctx_read_interval(jo->ctx, &jo->start, &jo->end); in PHP_METHOD() 519 if(!jo || !jo->ctx) { RETURN_NULL(); } in PHP_METHOD() [all …]
|
/dports/net-im/spectral/libQuotient-58dfe74390ebdd8ec6611d3b8fecfe7d051ff955/lib/csapi/definitions/ |
H A D | sync_filter.cpp | 9 void JsonObjectConverter<StateFilter>::dumpTo(QJsonObject& jo, in dumpTo() argument 12 fillJson<RoomEventFilter>(jo, pod); in dumpTo() 22 fillFromJson<RoomEventFilter>(jo, result); in fillFrom() 24 fromJson(jo.value("include_redundant_members"_ls), in fillFrom() 43 fromJson(jo.value("not_rooms"_ls), result.notRooms); in fillFrom() 44 fromJson(jo.value("rooms"_ls), result.rooms); in fillFrom() 45 fromJson(jo.value("ephemeral"_ls), result.ephemeral); in fillFrom() 47 fromJson(jo.value("state"_ls), result.state); in fillFrom() 48 fromJson(jo.value("timeline"_ls), result.timeline); in fillFrom() 65 fromJson(jo.value("presence"_ls), result.presence); in fillFrom() [all …]
|
H A D | public_rooms_response.cpp | 17 addParam<>(jo, QStringLiteral("room_id"), pod.roomId); in dumpTo() 27 fromJson(jo.value("aliases"_ls), result.aliases); in fillFrom() 29 fromJson(jo.value("name"_ls), result.name); in fillFrom() 31 fromJson(jo.value("room_id"_ls), result.roomId); in fillFrom() 32 fromJson(jo.value("topic"_ls), result.topic); in fillFrom() 35 fromJson(jo.value("avatar_url"_ls), result.avatarUrl); in fillFrom() 39 QJsonObject& jo, const PublicRoomsResponse& pod) in dumpTo() argument 41 addParam<>(jo, QStringLiteral("chunk"), pod.chunk); in dumpTo() 49 const QJsonObject& jo, PublicRoomsResponse& result) in fillFrom() argument 51 fromJson(jo.value("chunk"_ls), result.chunk); in fillFrom() [all …]
|
/dports/security/keepass/KeePass-2.49-Source/KeePass/DataExchange/Formats/ |
H A D | BitwardenJson112.cs | 67 if(jo.GetValue<bool>("encrypted", false)) in ImportRoot() 82 foreach(JsonObject jo in vGroups) in ImportGroups() 100 foreach(JsonObject jo in vEntries) in ImportEntries() 104 ImportEntry(jo, dGroups, pd); in ImportEntries() 128 joSub = jo.GetValue<JsonObject>("card"); in ImportEntry() 143 ImportString(jo, "totp", pe, "TOTP", pd); in ImportLogin() 170 ImportString(jo, "brand", pe, "Brand", pd); in ImportCard() 191 foreach(JsonObject jo in vFields) in ImportFields() 197 long lType = jo.GetValue<long>("type", 0); in ImportFields() 223 ImportString(jo, "city", pe, "City", pd); in ImportIdentity() [all …]
|
/dports/net-im/spectral/libQuotient-58dfe74390ebdd8ec6611d3b8fecfe7d051ff955/lib/application-service/definitions/ |
H A D | protocol.cpp | 9 void JsonObjectConverter<FieldType>::dumpTo(QJsonObject& jo, in dumpTo() argument 12 addParam<>(jo, QStringLiteral("regexp"), pod.regexp); in dumpTo() 19 fromJson(jo.value("regexp"_ls), result.regexp); in fillFrom() 26 addParam<>(jo, QStringLiteral("desc"), pod.desc); in dumpTo() 28 addParam<>(jo, QStringLiteral("fields"), pod.fields); in dumpTo() 35 fromJson(jo.value("desc"_ls), result.desc); in fillFrom() 36 fromJson(jo.value("icon"_ls), result.icon); in fillFrom() 37 fromJson(jo.value("fields"_ls), result.fields); in fillFrom() 42 QJsonObject& jo, const ThirdPartyProtocol& pod) in dumpTo() argument 46 addParam<>(jo, QStringLiteral("icon"), pod.icon); in dumpTo() [all …]
|
/dports/science/siesta/siesta-4.1.5/Src/ |
H A D | pdos3g.F | 108 jo = indxuo(jo) 109 Saux(1,jo,1,io) = Saux(1,jo,1,io) + dcmplx( S(ind), 0.0_dp) 110 Saux(2,jo,2,io) = Saux(2,jo,2,io) + dcmplx( S(ind), 0.0_dp) 130 jo = indxuo(jo) 131 Saux(1,jo,1,io) = Saux(1,jo,1,io) + dcmplx( S(ind), 0.0_dp) 149 jo = indxuo(jo) 150 Spr(jo,io) = Spr(jo,io) + S(ind) 223 dpr(ihist,jo,1)=dpr(ihist,jo,1)+rpipj*Spr(io,jo) 226 dpr(ihist,jo,2)=dpr(ihist,jo,2)+rpipj*Spr(io,jo) 229 dpr(ihist,jo,3)=dpr(ihist,jo,3)+rpipj*Spr(io,jo) [all …]
|
H A D | pdos2g.F | 109 jo = indxuo(jo) 110 Saux(1,jo,1,io) = Saux(1,jo,1,io) + dcmplx( S(ind), 0.0_dp) 111 Saux(2,jo,2,io) = Saux(2,jo,2,io) + dcmplx( S(ind), 0.0_dp) 132 jo = indxuo(jo) 133 Saux(1,jo,1,io) = Saux(1,jo,1,io) +dcmplx( S(ind), 0.0_dp) 151 jo = indxuo(jo) 152 Spr(jo,io) = Spr(jo,io) + S(ind) 224 dpr(ihist,jo,1)=dpr(ihist,jo,1)+rpipj*Spr(io,jo) 227 dpr(ihist,jo,2)=dpr(ihist,jo,2)+rpipj*Spr(io,jo) 230 dpr(ihist,jo,3)=dpr(ihist,jo,3)+rpipj*Spr(io,jo) [all …]
|
/dports/net-im/libquotient/libQuotient-0.6.8/lib/csapi/definitions/ |
H A D | public_rooms_response.h | 50 addParam<>(jo, QStringLiteral("num_joined_members"), 60 fromJson(jo.value("aliases"_ls), pod.aliases); 62 fromJson(jo.value("name"_ls), pod.name); 64 fromJson(jo.value("room_id"_ls), pod.roomId); 65 fromJson(jo.value("topic"_ls), pod.topic); 68 fromJson(jo.value("avatar_url"_ls), pod.avatarUrl); 96 addParam<>(jo, QStringLiteral("chunk"), pod.chunk); 104 fromJson(jo.value("chunk"_ls), pod.chunk); 105 fromJson(jo.value("next_batch"_ls), pod.nextBatch); 106 fromJson(jo.value("prev_batch"_ls), pod.prevBatch); [all …]
|
H A D | sync_filter.h | 45 static void dumpTo(QJsonObject& jo, const RoomFilter& pod) 59 fromJson(jo.value("not_rooms"_ls), pod.notRooms); 60 fromJson(jo.value("rooms"_ls), pod.rooms); 61 fromJson(jo.value("ephemeral"_ls), pod.ephemeral); 63 fromJson(jo.value("state"_ls), pod.state); 64 fromJson(jo.value("timeline"_ls), pod.timeline); 65 fromJson(jo.value("account_data"_ls), pod.accountData); 94 static void dumpTo(QJsonObject& jo, const Filter& pod) 105 static void fillFrom(const QJsonObject& jo, Filter& pod) 109 fromJson(jo.value("presence"_ls), pod.presence); [all …]
|
/dports/net-im/libquotient/libQuotient-0.6.8/lib/application-service/definitions/ |
H A D | protocol.h | 23 static void dumpTo(QJsonObject& jo, const FieldType& pod) 25 addParam<>(jo, QStringLiteral("regexp"), pod.regexp); 30 fromJson(jo.value("regexp"_ls), pod.regexp); 54 addParam<>(jo, QStringLiteral("desc"), pod.desc); 61 fromJson(jo.value("desc"_ls), pod.desc); 62 fromJson(jo.value("icon"_ls), pod.icon); 63 fromJson(jo.value("fields"_ls), pod.fields); 64 fromJson(jo.value("network_id"_ls), pod.networkId); 103 addParam<>(jo, QStringLiteral("icon"), pod.icon); 111 fromJson(jo.value("icon"_ls), pod.icon); [all …]
|