/dports/net-im/cawbird/cawbird-1.4.2/src/ |
H A D | CbTweet.c | 77 return tweet->quoted_tweet != NULL && tweet->quoted_tweet->n_medias > 0; in cb_tweet_has_quoted_inline_media() 292 tweet->my_retweet = tweet->id; in cb_tweet_load_from_json() 312 …return (tweet->retweeted_tweet != NULL && tweet->retweeted_tweet->reply_id != 0) || (tweet->retwee… in cb_tweet_is_reply() 330 tweet->state |= flag; in cb_tweet_set_flag() 345 tweet->state &= ~flag; in cb_tweet_unset_flag() 405 quote_id = tweet->quoted_tweet != NULL ? tweet->quoted_tweet->id : 0; in cb_tweet_get_trimmed_text() 470 return tweet->seen; in cb_tweet_get_seen() 480 if (value && !tweet->seen && tweet->notification_id != NULL) in cb_tweet_set_seen() 488 tweet->seen = value; in cb_tweet_set_seen() 550 tweet->state = 0; in cb_tweet_init() [all …]
|
H A D | CbTweet.h | 95 gboolean cb_tweet_is_hidden (CbTweet *tweet); 96 gboolean cb_tweet_is_reply (CbTweet *tweet); 97 CbUserIdentity * cb_tweet_get_reply_users (CbTweet *tweet, 100 CbMedia ** cb_tweet_get_medias (CbTweet *tweet, 102 CbMedia ** cb_tweet_get_quoted_medias(CbTweet *tweet, 104 char ** cb_tweet_get_mentions (CbTweet *tweet, 106 gboolean cb_tweet_has_inline_media (CbTweet *tweet); 111 void cb_tweet_load_from_json (CbTweet *tweet, 126 char * cb_tweet_get_trimmed_text (CbTweet *tweet, 131 gboolean cb_tweet_get_seen (CbTweet *tweet); [all …]
|
H A D | CbTweetModel.c | 44 CbTweet *tweet; in cb_tweet_model_get_item() local 176 if (tweet->id == id) in cb_tweet_model_index_of() 194 if (tweet->retweeted_tweet != NULL && tweet->retweeted_tweet->id == id) in cb_tweet_model_index_of_retweet() 207 gint64 id = tweet->id; in remove_tweet_at_pos() 221 …gint64 id = self->thread_mode && tweet->retweeted_tweet != NULL ? tweet->retweeted_tweet->id : twe… in insert_sorted() 277 g_object_ref (tweet); in insert_sorted() 294 gint64 id = tweet->id; in hide_tweet_internal() 296 g_object_ref (tweet); in hide_tweet_internal() 300 g_object_unref (tweet); in hide_tweet_internal() 311 g_object_ref (tweet); in show_tweet_internal() [all …]
|
H A D | TweetInfoPage.vala | 51 private Cb.Tweet tweet; 302 this.tweet = tweet; 303 set_tweet_data (tweet); 305 this.tweet = null; 424 prev_id = tweet.id; 732 * Loads the tweet this tweet is a reply to. 735 * @param reply_id The id of the tweet the previous tweet was a reply to. 821 tweet.retweeted_tweet != null ? tweet.retweeted_tweet.created_at : 881 // to the original tweet, therefore we need to link to the RTed tweet to be useful. 886 set_source_link (tweet.source_tweet.id, tweet.source_tweet.author.screen_name); [all …]
|
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/ndb/nodejs/samples/tweet/ |
H A D | test_tweet.sh | 37 node tweet post tweet caligula '@agrippina You really are my favorite sister.' 38 node tweet post tweet agrippina '@nero Remember to be nice to Uncle Claudius!' 39 node tweet post tweet nero 'I love to sing!' 40 node tweet post tweet nero 'I am the best #poet and the best #gladiator!' 41 node tweet post tweet agrippina \ 43 node tweet post tweet uncle_claudius 'I am writing a new history of #carthage' 44 node tweet post tweet caligula '@agrippina you are my worst sister! worst!' 45 node tweet post tweet caligula '@agrippina Rome is terrible!!!' 49 node tweet get tweets-by nero 50 node tweet get tweets-recent 5 [all …]
|
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/storage/ndb/nodejs/samples/tweet/ |
H A D | test_tweet.sh | 37 node tweet post tweet caligula '@agrippina You really are my favorite sister.' 38 node tweet post tweet agrippina '@nero Remember to be nice to Uncle Claudius!' 39 node tweet post tweet nero 'I love to sing!' 40 node tweet post tweet nero 'I am the best #poet and the best #gladiator!' 41 node tweet post tweet agrippina \ 43 node tweet post tweet uncle_claudius 'I am writing a new history of #carthage' 44 node tweet post tweet caligula '@agrippina you are my worst sister! worst!' 45 node tweet post tweet caligula '@agrippina Rome is terrible!!!' 49 node tweet get tweets-by nero 50 node tweet get tweets-recent 5 [all …]
|
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/storage/ndb/nodejs/samples/tweet/ |
H A D | test_tweet.sh | 37 node tweet post tweet caligula '@agrippina You really are my favorite sister.' 38 node tweet post tweet agrippina '@nero Remember to be nice to Uncle Claudius!' 39 node tweet post tweet nero 'I love to sing!' 40 node tweet post tweet nero 'I am the best #poet and the best #gladiator!' 41 node tweet post tweet agrippina \ 43 node tweet post tweet uncle_claudius 'I am writing a new history of #carthage' 44 node tweet post tweet caligula '@agrippina you are my worst sister! worst!' 45 node tweet post tweet caligula '@agrippina Rome is terrible!!!' 49 node tweet get tweets-by nero 50 node tweet get tweets-recent 5 [all …]
|
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/ndb/nodejs/samples/tweet/ |
H A D | test_tweet.sh | 37 node tweet post tweet caligula '@agrippina You really are my favorite sister.' 38 node tweet post tweet agrippina '@nero Remember to be nice to Uncle Claudius!' 39 node tweet post tweet nero 'I love to sing!' 40 node tweet post tweet nero 'I am the best #poet and the best #gladiator!' 41 node tweet post tweet agrippina \ 43 node tweet post tweet uncle_claudius 'I am writing a new history of #carthage' 44 node tweet post tweet caligula '@agrippina you are my worst sister! worst!' 45 node tweet post tweet caligula '@agrippina Rome is terrible!!!' 49 node tweet get tweets-by nero 50 node tweet get tweets-recent 5 [all …]
|
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/storage/ndb/nodejs/samples/tweet/ |
H A D | test_tweet.sh | 37 node tweet post tweet caligula '@agrippina You really are my favorite sister.' 38 node tweet post tweet agrippina '@nero Remember to be nice to Uncle Claudius!' 39 node tweet post tweet nero 'I love to sing!' 40 node tweet post tweet nero 'I am the best #poet and the best #gladiator!' 41 node tweet post tweet agrippina \ 43 node tweet post tweet uncle_claudius 'I am writing a new history of #carthage' 44 node tweet post tweet caligula '@agrippina you are my worst sister! worst!' 45 node tweet post tweet caligula '@agrippina Rome is terrible!!!' 49 node tweet get tweets-by nero 50 node tweet get tweets-recent 5 [all …]
|
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/storage/ndb/nodejs/samples/tweet/ |
H A D | demo_populate_data.sh | 15 node tweet put follow nero agrippina 16 node tweet put follow agrippina nero 18 node tweet put follow agrippina caligula 23 node tweet post tweet caligula '@agrippina You really are my favorite sister.' 24 node tweet post tweet agrippina '@nero Remember to be nice to Uncle Claudius!' 25 node tweet post tweet nero 'I love to sing!' 26 node tweet post tweet nero 'I am the best #poet and the best #gladiator!' 27 node tweet post tweet agrippina \ 29 node tweet post tweet uncle_claudius 'I am writing a new history of #carthage' 30 node tweet post tweet caligula '@agrippina you are my worst sister! worst!' [all …]
|
/dports/multimedia/tautulli/Tautulli-2.8.0/lib/twitter/ |
H A D | parse_tweet.py | 39 def __init__(self, timeline_owner, tweet): argument 47 self.tweet = tweet 50 self.URLs = ParseTweet.getURLs(tweet) 51 self.RT = ParseTweet.getAttributeRT(tweet) 52 self.MT = ParseTweet.getAttributeMT(tweet) 66 def getAttributeEmoticon(tweet): argument 78 def getAttributeRT(tweet): argument 83 def getAttributeMT(tweet): argument 88 def getUserHandles(tweet): argument 93 def getHashtags(tweet): argument [all …]
|
/dports/net/py-python-twitter/python-twitter-3.4.2/twitter/ |
H A D | parse_tweet.py | 39 def __init__(self, timeline_owner, tweet): argument 47 self.tweet = tweet 50 self.URLs = ParseTweet.getURLs(tweet) 51 self.RT = ParseTweet.getAttributeRT(tweet) 52 self.MT = ParseTweet.getAttributeMT(tweet) 66 def getAttributeEmoticon(tweet): argument 78 def getAttributeRT(tweet): argument 83 def getAttributeMT(tweet): argument 88 def getUserHandles(tweet): argument 93 def getHashtags(tweet): argument [all …]
|
/dports/www/gallery-dl/gallery-dl-1.21.0/gallery_dl/extractor/ |
H A D | twitter.py | 67 data = tweet 151 card = tweet["card"] 194 tweet_id = tweet.get("rest_id") or tweet["id_str"] 211 if "core" in tweet: 217 if "legacy" in tweet: 218 tweet = tweet["legacy"] 264 if "author" in tweet: 1054 tweet["user"] = users[tweet["user_id_str"]] 1055 yield tweet 1174 tweet = tweet["tweet"] [all …]
|
/dports/www/horde-base/horde-5.2.23/lib/Ajax/Application/ |
H A D | TwitterHandler.php | 138 * @param stdClass $tweet The tweet object. 142 protected function _buildTweet($tweet) argument 154 foreach ($tweet->entities->urls as $link) { 158 if (!empty($tweet->entities->media)) { 165 if (!empty($tweet->entities->user_mentions)) { 171 if (!empty($tweet->entities->hashtags)) { 195 if (!empty($tweet->retweeted_status)) { 196 $tweetObj = $tweet->retweeted_status; 198 $tweetObj = $tweet; 259 $view = $this->_buildTweet($tweet); [all …]
|
/dports/sysutils/go-wtf/wtf-0.21.0/modules/twitter/ |
H A D | tweet.go | 14 func (tweet *Tweet) String() string { 15 return fmt.Sprintf("Tweet: %s at %s by %s", tweet.Text, tweet.CreatedAt, tweet.User.ScreenName) 20 func (tweet *Tweet) Username() string { 21 return tweet.User.ScreenName 24 func (tweet *Tweet) Created() time.Time { 25 newTime, _ := time.Parse(time.RubyDate, tweet.CreatedAt) 29 func (tweet *Tweet) PrettyCreatedAt() string { 30 newTime := tweet.Created()
|
/dports/devel/simdjson/simdjson-0.9.6/benchmark/partial_tweets/ |
H A D | nlohmann_json.h | 17 bool run(simdjson::padded_string &json, std::vector<tweet<std::string>> &result) { in run() 19 for (auto tweet : root["statuses"]) { in run() local 20 auto user = tweet["user"]; in run() 21 result.emplace_back(partial_tweets::tweet<std::string>{ in run() 22 tweet["created_at"], in run() 23 tweet["id"], in run() 24 tweet["text"], in run() 25 nullable_int(tweet["in_reply_to_status_id"]), in run() 27 tweet["retweet_count"], in run() 28 tweet["favorite_count"] in run()
|
H A D | simdjson_dom.h | 21 bool run(simdjson::padded_string &json, std::vector<tweet<std::string_view>> &result) { in run() 22 for (dom::element tweet : parser.parse(json)["statuses"]) { in run() local 23 auto user = tweet["user"]; in run() 24 result.emplace_back(partial_tweets::tweet<std::string_view>{ in run() 25 tweet["created_at"], in run() 26 tweet["id"], in run() 27 tweet["text"], in run() 28 nullable_int(tweet["in_reply_to_status_id"]), in run() 30 tweet["retweet_count"], in run() 31 tweet["favorite_count"] in run()
|
H A D | ondemand.h | 21 simdjson_really_inline const std::vector<tweet> &Result() { return tweets; } in Result() 26 std::vector<tweet> tweets{}; 45 for (ondemand::object tweet : doc.find_field("statuses")) { in Run() local 46 tweets.emplace_back(partial_tweets::tweet{ in Run() 47 tweet.find_field("created_at"), in Run() 48 tweet.find_field("id"), in Run() 49 tweet.find_field("text"), in Run() 50 nullable_int(tweet.find_field("in_reply_to_status_id")), in Run() 51 read_user(tweet.find_field("user")), in Run() 52 tweet.find_field("retweet_count"), in Run() [all …]
|
H A D | yyjson.h | 44 yyjson_val *tweet; in run() local 45 yyjson_arr_foreach(statuses, tweet_idx, tweets_max, tweet) { in run() 46 if (!yyjson_is_obj(tweet)) { return false; } in run() 48 result.emplace_back(partial_tweets::tweet<std::string_view>{ in run() 49 get_string_view(tweet, "created_at"), in run() 50 get_uint64 (tweet, "id"), in run() 51 get_string_view(tweet, "text"), in run() 52 get_nullable_uint64 (tweet, "in_reply_to_status_id"), in run() 53 get_user (tweet, "user"), in run() 54 get_uint64 (tweet, "retweet_count"), in run() [all …]
|
H A D | simdjson_ondemand.h | 25 bool run(simdjson::padded_string &json, std::vector<tweet<std::string_view>> &result) { in run() 28 for (ondemand::object tweet : doc.find_field("statuses")) { in run() local 29 result.emplace_back(partial_tweets::tweet<std::string_view>{ in run() 30 tweet.find_field("created_at"), in run() 31 tweet.find_field("id"), in run() 32 tweet.find_field("text"), in run() 33 nullable_int(tweet.find_field("in_reply_to_status_id")), in run() 34 read_user(tweet.find_field("user")), in run() 35 tweet.find_field("retweet_count"), in run() 36 tweet.find_field("favorite_count") in run()
|
/dports/databases/redisdesktopmanager/RedisDesktopManager-2021.8/3rdparty/simdjson/benchmark/partial_tweets/ |
H A D | simdjson_dom.h | 21 bool run(simdjson::padded_string &json, std::vector<tweet<std::string_view>> &result) { in run() 22 for (dom::element tweet : parser.parse(json)["statuses"]) { in run() local 23 auto user = tweet["user"]; in run() 24 result.emplace_back(partial_tweets::tweet<std::string_view>{ in run() 25 tweet["created_at"], in run() 26 tweet["id"], in run() 27 tweet["text"], in run() 28 nullable_int(tweet["in_reply_to_status_id"]), in run() 30 tweet["retweet_count"], in run() 31 tweet["favorite_count"] in run()
|
H A D | nlohmann_json.h | 17 bool run(simdjson::padded_string &json, std::vector<tweet<std::string>> &result) { in run() 19 for (auto tweet : root["statuses"]) { in run() local 20 auto user = tweet["user"]; in run() 21 result.emplace_back(partial_tweets::tweet<std::string>{ in run() 22 tweet["created_at"], in run() 23 tweet["id"], in run() 24 tweet["text"], in run() 25 nullable_int(tweet["in_reply_to_status_id"]), in run() 27 tweet["retweet_count"], in run() 28 tweet["favorite_count"] in run()
|
H A D | ondemand.h | 21 simdjson_really_inline const std::vector<tweet> &Result() { return tweets; } in Result() 26 std::vector<tweet> tweets{}; 45 for (ondemand::object tweet : doc.find_field("statuses")) { in Run() local 46 tweets.emplace_back(partial_tweets::tweet{ in Run() 47 tweet.find_field("created_at"), in Run() 48 tweet.find_field("id"), in Run() 49 tweet.find_field("text"), in Run() 50 nullable_int(tweet.find_field("in_reply_to_status_id")), in Run() 51 read_user(tweet.find_field("user")), in Run() 52 tweet.find_field("retweet_count"), in Run() [all …]
|
H A D | yyjson.h | 44 yyjson_val *tweet; in run() local 45 yyjson_arr_foreach(statuses, tweet_idx, tweets_max, tweet) { in run() 46 if (!yyjson_is_obj(tweet)) { return false; } in run() 48 result.emplace_back(partial_tweets::tweet<std::string_view>{ in run() 49 get_string_view(tweet, "created_at"), in run() 50 get_uint64 (tweet, "id"), in run() 51 get_string_view(tweet, "text"), in run() 52 get_nullable_uint64 (tweet, "in_reply_to_status_id"), in run() 53 get_user (tweet, "user"), in run() 54 get_uint64 (tweet, "retweet_count"), in run() [all …]
|
/dports/net-im/cawbird/cawbird-1.4.2/src/list/ |
H A D | TweetListEntry.vala | 82 public Cb.Tweet tweet; 102 this.tweet = tweet; 115 if (tweet.avatar_url != null) { 140 …var author_id = (tweet.retweeted_tweet != null) ? tweet.retweeted_tweet.author.id : tweet.source_t… 210 if (tweet.has_inline_media () || tweet.has_quoted_inline_media ()) { 213 if (tweet.is_flag_set (Cb.TweetState.NSFW) || tweet.is_quoted_flag_set (Cb.TweetState.NSFW)) 274 if (tweet.is_flag_set (Cb.TweetState.NSFW) || tweet.is_quoted_flag_set (Cb.TweetState.NSFW)) 556 new_text = Cb.TextTransform.tweet (ref tweet.retweeted_tweet, flags, 0); 558 new_text = Cb.TextTransform.tweet (ref tweet.source_tweet, flags, 0); 569 string new_quote_text = Cb.TextTransform.tweet (ref tweet.quoted_tweet, [all …]
|