input stringlengths 16 454k | output stringlengths 13 350k | function_name stringlengths 1 100 | repo_name stringlengths 6 43 | category stringclasses 76
values | sample_id stringlengths 22 88 | decompiler stringclasses 1
value | opt_level stringclasses 1
value |
|---|---|---|---|---|---|---|---|
void report_end() {
fprintf(stderr, "\r%-79.79s\r", (const char *)&unk_4043);
fflush(stderr);
} | static void report_end(void) {
fprintf(stderr, "\r%-79.79s\r", "");
fflush(stderr);
} | report_end | libdsk-1.5.18 | app-emulation | O0/app-emulation/libdsk-1.5.18/dskdump | ida | O0 |
gchar *lw_dictionary_build_id(LwDictionary *dictionary) {
const gchar *filename;
GType type;
if (dictionary) {
type = dictionary->object.g_type_instance.g_class->g_type;
filename = lw_dictionary_get_filename(dictionary);
return lw_dictionary_build_id_from_type(type, filename);
} else {
g_return... | gchar *lw_dictionary_build_id(LwDictionary *dictionary) {
g_return_val_if_fail(dictionary != NULL, NULL);
gchar *id;
GType type;
const gchar *FILENAME;
type = G_OBJECT_TYPE(dictionary);
FILENAME = lw_dictionary_get_filename(dictionary);
id = lw_dictionary_build_id_from_type(type, FILENAME);
return i... | lw_dictionary_build_id | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gchar *lw_dictionary_build_id_from_type(GType type, const gchar *FILENAME) {
const char *directoryname;
gchar *id;
if (FILENAME) {
directoryname = lw_dictionary_get_directoryname(type);
if (directoryname) {
id = (gchar *)g_strdup_printf("%s/%s", directoryname, FILENAME);
g_free(directoryname)... | gchar *lw_dictionary_build_id_from_type(GType type, const gchar *FILENAME) {
g_return_val_if_fail(FILENAME != NULL, NULL);
gchar *id;
gchar *directoryname;
directoryname = lw_dictionary_get_directoryname(type);
if (directoryname == NULL)
return NULL;
id = g_strdup_printf("%s/%s", directoryname, FILEN... | lw_dictionary_build_id_from_type | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_dictionary_build_regex(LwDictionary *dictionary, LwQuery *query,
GError **error) {
GType v3;
LwQueryType new_type;
LwRelevance relevance;
LwQueryType type;
_BYTE i[12];
LwDictionaryClass *klass;
gchar **tokenlist;
gchar *supplimentary;
gchar **pattern;
unsigned... | void lw_dictionary_build_regex(LwDictionary *dictionary, LwQuery *query,
GError **error) {
g_return_if_fail(dictionary != NULL);
g_return_if_fail(query != NULL);
g_return_if_fail(query->tokenlist != NULL);
g_return_if_fail(error != NULL);
if (error != NULL && *error != NULL)
... | lw_dictionary_build_regex | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_dictionary_class_init(LwDictionaryClass *klass) {
GType type;
long v2;
GObjectClass *object_class;
LwDictionaryClass *dictionary_class;
object_class = (GObjectClass *)g_type_check_class_cast(klass, 80);
object_class->set_property =
(void (*)(GObject *, guint, const GValue *,
G... | static void lw_dictionary_class_init(LwDictionaryClass *klass) {
GParamSpec *pspec;
GObjectClass *object_class;
LwDictionaryClass *dictionary_class;
object_class = G_OBJECT_CLASS(klass);
object_class->set_property = lw_dictionary_set_property;
object_class->get_property = lw_dictionary_get_property;
obj... | lw_dictionary_class_init | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gboolean lw_dictionary_compare(LwDictionary *dictionary, LwQuery *query,
LwResult *result, const LwRelevance RELEVANCE) {
GType type;
LwDictionaryClass *klass;
if (dictionary) {
type = lw_dictionary_get_type();
klass = (LwDictionaryClass *)g_type_check_class_cast(
d... | gboolean lw_dictionary_compare(LwDictionary *dictionary, LwQuery *query,
LwResult *result, const LwRelevance RELEVANCE) {
g_return_val_if_fail(dictionary != NULL, FALSE);
LwDictionaryClass *klass;
klass = LW_DICTIONARY_CLASS(G_OBJECT_GET_CLASS(dictionary));
g_return_val_if_fail... | lw_dictionary_compare | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gchar *lw_dictionary_directoryname_to_typename(const gchar *DIRECTORYNAME) {
gchar *directoryname;
gchar *typename;
if (DIRECTORYNAME) {
directoryname = (gchar *)g_strdup(DIRECTORYNAME);
if (directoryname && *directoryname) {
*directoryname = g_ascii_toupper((unsigned int)*directoryname);
typ... | gchar *lw_dictionary_directoryname_to_typename(const gchar *DIRECTORYNAME) {
g_return_val_if_fail(DIRECTORYNAME != NULL, NULL);
gchar *directoryname;
gchar *typename;
directoryname = g_strdup(DIRECTORYNAME);
if (directoryname == NULL || directoryname[0] == '\0')
return NULL;
directoryname[0] = g_asci... | lw_dictionary_directoryname_to_typename | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gboolean lw_dictionary_equals(LwDictionary *dictionary1,
LwDictionary *dictionary2) {
gboolean filenames_are_equal;
gboolean types_are_equal;
const char *FILENAME1;
const char *FILENAME2;
GType type1;
GType type2;
if (dictionary1 && dictionary2) {
FILENAME1 = lw_dictiona... | gboolean lw_dictionary_equals(LwDictionary *dictionary1,
LwDictionary *dictionary2) {
g_return_val_if_fail(dictionary1 != NULL && dictionary2 != NULL, FALSE);
const gchar *FILENAME1;
const gchar *FILENAME2;
GType type1;
GType type2;
gboolean filenames_are_equal;
gboolean ty... | lw_dictionary_equals | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_dictionary_finalize(GObject *object) {
GType type;
void (*v2)(GObject *);
LwDictionaryPrivate *priv;
type = lw_dictionary_get_type();
priv =
*(LwDictionaryPrivate **)(g_type_check_instance_cast(object, type) + 24);
if (priv->filename)
g_free(priv->filename);
priv->filename = 0;
if (pr... | static void lw_dictionary_finalize(GObject *object) {
LwDictionary *dictionary;
LwDictionaryPrivate *priv;
dictionary = LW_DICTIONARY(object);
priv = dictionary->priv;
if (priv->filename != NULL)
g_free(priv->filename);
priv->filename = NULL;
if (priv->name != NULL)
g_free(priv->name);
priv->... | lw_dictionary_finalize | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gchar *lw_dictionary_get_directory(GType dictionary_type) {
gchar *path;
const char *directoryname;
path = 0;
directoryname = lw_dictionary_get_directoryname(dictionary_type);
if (directoryname) {
path = lw_util_build_filename(LW_PATH_DICTIONARY, directoryname);
g_free(directoryname);
}
g_mkdir_w... | gchar *lw_dictionary_get_directory(GType dictionary_type) {
gchar *path;
gchar *directoryname;
path = NULL;
directoryname = lw_dictionary_get_directoryname(dictionary_type);
if (directoryname != NULL) {
path = lw_util_build_filename(LW_PATH_DICTIONARY, directoryname);
g_free(directoryname);
dir... | lw_dictionary_get_directory | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gchar *lw_dictionary_get_directoryname(GType dictionary_type) {
gchar *name;
gchar *lowercase;
const char *TYPENAME;
const gchar *start;
const char *end;
name = 0;
lowercase = 0;
TYPENAME = (const char *)g_type_name(dictionary_type);
start = TYPENAME + 2;
end = &TYPENAME[strlen(TYPENAME) - 10];
i... | gchar *lw_dictionary_get_directoryname(GType dictionary_type) {
const gchar *TYPENAME;
const gchar *start;
const gchar *end;
gchar *name;
gchar *lowercase;
name = NULL;
lowercase = NULL;
TYPENAME = g_type_name(dictionary_type);
start = TYPENAME + strlen("Lw");
end = TYPENAME + strlen(TYPENAME) - s... | lw_dictionary_get_directoryname | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
const gchar *lw_dictionary_get_filename(LwDictionary *dictionary) {
return dictionary->priv->filename;
} | const gchar *lw_dictionary_get_filename(LwDictionary *dictionary) {
LwDictionaryPrivate *priv;
priv = dictionary->priv;
return priv->filename;
} | lw_dictionary_get_filename | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gchar **lw_dictionary_get_installed_idlist(GType type_filter) {
gint length;
GType *childiter;
GType *childitera;
const char **iditer;
GType *childlist;
gchar **idlist;
gchar *directorypath;
gchar *directorypatha;
GDir *directory;
GDir *directorya;
const gchar *filename;
childlist = (GType *)g_... | gchar **lw_dictionary_get_installed_idlist(GType type_filter) {
GType *childlist;
GType *childiter;
const gchar *filename;
gchar *directorypath;
GDir *directory;
gchar **idlist;
gchar **iditer;
gint length;
childiter = childlist = g_new(GType, 5);
childlist[0] = lw_edictionary_get_type();
chi... | lw_dictionary_get_installed_idlist | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
size_t lw_dictionary_get_length(LwDictionary *dictionary) {
LwDictionaryPrivate *priv;
const char *uri;
if (dictionary) {
priv = dictionary->priv;
if (!priv->length) {
uri = lw_dictionary_get_path(dictionary);
if (uri) {
priv->length = lw_io_get_size_for_uri(uri);
g_free(uri);... | size_t lw_dictionary_get_length(LwDictionary *dictionary) {
g_return_val_if_fail(dictionary != NULL, -1);
LwDictionaryPrivate *priv;
gchar *uri;
priv = dictionary->priv;
if (priv->length == 0) {
uri = lw_dictionary_get_path(dictionary);
if (uri != NULL) {
priv->length = lw_io_get_size_for_uri... | lw_dictionary_get_length | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
const gchar *lw_dictionary_get_name(LwDictionary *dictionary) {
if (dictionary)
return dictionary->priv->name;
g_return_if_fail_warning(0, "lw_dictionary_get_name", "dictionary != NULL");
return 0;
} | const gchar *lw_dictionary_get_name(LwDictionary *dictionary) {
g_return_val_if_fail(dictionary != NULL, NULL);
LwDictionaryPrivate *priv;
priv = dictionary->priv;
return priv->name;
} | lw_dictionary_get_name | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gchar *lw_dictionary_get_path(LwDictionary *dictionary) {
gchar *path;
gchar *directory;
const gchar *filename;
if (dictionary) {
directory = lw_dictionary_get_directory(
dictionary->object.g_type_instance.g_class->g_type);
filename = lw_dictionary_get_filename(dictionary);
path = 0;
if... | gchar *lw_dictionary_get_path(LwDictionary *dictionary) {
g_return_val_if_fail(dictionary != NULL, NULL);
gchar *directory;
const gchar *filename;
gchar *path;
directory = lw_dictionary_get_directory(G_OBJECT_TYPE(dictionary));
filename = lw_dictionary_get_filename(dictionary);
path = NULL;
if (dire... | lw_dictionary_get_path | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_dictionary_get_property(GObject *object, guint property_id,
GValue *value, GParamSpec *pspec) {
GType type;
const char *v5;
const char *v6;
LwDictionaryPrivate *priv;
type = lw_dictionary_get_type();
priv =
*(LwDictionaryPrivate **)(g_type_check_instance_cast(o... | static void lw_dictionary_get_property(GObject *object, guint property_id,
GValue *value, GParamSpec *pspec) {
LwDictionary *dictionary;
LwDictionaryPrivate *priv;
dictionary = LW_DICTIONARY(object);
priv = dictionary->priv;
switch (property_id) {
case PROP_FILENAME... | lw_dictionary_get_property | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_dictionary_init(LwDictionary *dictionary) {
GType type;
type = lw_dictionary_get_type();
dictionary->priv =
(LwDictionaryPrivate *)g_type_instance_get_private(dictionary, type);
memset(dictionary->priv, 0, sizeof(LwDictionaryPrivate));
} | static void lw_dictionary_init(LwDictionary *dictionary) {
dictionary->priv = LW_DICTIONARY_GET_PRIVATE(dictionary);
memset(dictionary->priv, 0, sizeof(LwDictionaryPrivate));
} | lw_dictionary_init | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gboolean lw_dictionary_install(LwDictionary *dictionary,
GCancellable *cancellable, GError **error) {
if (dictionary) {
if (dictionary->priv) {
if (!dictionary->priv->install)
g_assertion_message_expr(0, "dictionary.c", 620,
"lw_diction... | gboolean lw_dictionary_install(LwDictionary *dictionary,
GCancellable *cancellable, GError **error) {
g_return_val_if_fail(dictionary != NULL, FALSE);
g_return_val_if_fail(dictionary->priv != NULL, FALSE);
g_assert(dictionary->priv->install != NULL);
if (error != NULL && *error !... | lw_dictionary_install | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_dictionary_installer_clean(LwDictionary *dictionary,
GCancellable *cancellable) {
LwDictionaryInstall *install;
if (dictionary) {
install = dictionary->priv->install;
if (install->filelist)
g_strfreev(install->filelist);
install->filelist = 0;
if (in... | void lw_dictionary_installer_clean(LwDictionary *dictionary,
GCancellable *cancellable) {
g_return_if_fail(dictionary != NULL);
LwDictionaryPrivate *priv;
LwDictionaryInstall *install;
priv = dictionary->priv;
install = priv->install;
if (install->filelist != NULL)
... | lw_dictionary_installer_clean | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gboolean lw_dictionary_installer_convert_encoding(LwDictionary *dictionary,
GCancellable *cancellable,
GError **error) {
gchar **sourceiter;
gchar **targetiter;
LwDictionaryPrivate *priv;
gchar **sourcelist;
gc... | gboolean lw_dictionary_installer_convert_encoding(LwDictionary *dictionary,
GCancellable *cancellable,
GError **error) {
if (error != NULL && *error != NULL)
return FALSE;
g_return_val_if_fail(dictionary != NULL... | lw_dictionary_installer_convert_encoding | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gboolean lw_dictionary_installer_decompress(LwDictionary *dictionary,
GCancellable *cancellable,
GError **error) {
gchar **sourceiter;
gchar **targetiter;
LwDictionaryPrivate *priv;
gchar **sourcelist;
gchar **targetlist;
... | gboolean lw_dictionary_installer_decompress(LwDictionary *dictionary,
GCancellable *cancellable,
GError **error) {
if (error != NULL && *error != NULL)
return FALSE;
g_return_val_if_fail(dictionary != NULL, FALSE);
LwDic... | lw_dictionary_installer_decompress | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gboolean lw_dictionary_installer_download(LwDictionary *dictionary,
GCancellable *cancellable,
GError **error) {
gchar **sourceiter;
gchar **targetiter;
LwDictionaryPrivate *priv;
gchar **sourcelist;
gchar **targetlist;
if ... | gboolean lw_dictionary_installer_download(LwDictionary *dictionary,
GCancellable *cancellable,
GError **error) {
if (error != NULL && *error != NULL)
return FALSE;
g_return_val_if_fail(dictionary != NULL, FALSE);
LwDictionar... | lw_dictionary_installer_download | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gchar **lw_dictionary_installer_get_decompresslist(LwDictionary *dictionary) {
gchar **downloadlist;
gchar **tempiter;
LwDictionaryInstall *install;
gchar **templist;
char *filename;
gchar *path;
if (!dictionary) {
g_return_if_fail_warning(0, "lw_dictionary_installer_get_decompresslist",
... | static gchar **
lw_dictionary_installer_get_decompresslist(LwDictionary *dictionary) {
g_return_val_if_fail(dictionary != NULL, NULL);
LwDictionaryPrivate *priv;
LwDictionaryInstall *install;
gchar **templist, **tempiter;
gchar *filename;
gchar *path;
priv = dictionary->priv;
install = priv->install;... | lw_dictionary_installer_get_decompresslist | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
const gchar *lw_dictionary_installer_get_description(LwDictionary *dictionary) {
if (dictionary) {
if (dictionary->priv) {
if (dictionary->priv->install) {
return dictionary->priv->install->description;
} else {
g_return_if_fail_warning(0, "lw_dictionary_installer_get_description",
... | const gchar *lw_dictionary_installer_get_description(LwDictionary *dictionary) {
g_return_val_if_fail(dictionary != NULL, FALSE);
g_return_val_if_fail(dictionary->priv != NULL, FALSE);
g_return_val_if_fail(dictionary->priv->install != NULL, FALSE);
return dictionary->priv->install->description;
} | lw_dictionary_installer_get_description | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gchar **lw_dictionary_installer_get_downloadlist(LwDictionary *dictionary) {
LwDictionaryInstall *install;
if (dictionary) {
install = dictionary->priv->install;
if (!install) {
fwrite("install is not set\n", 1u, 0x13u, stderr);
exit(0);
}
if (!install->downloads) {
fwrite("instal... | static gchar **
lw_dictionary_installer_get_downloadlist(LwDictionary *dictionary) {
g_return_val_if_fail(dictionary != NULL, NULL);
LwDictionaryPrivate *priv;
LwDictionaryInstall *install;
priv = dictionary->priv;
install = priv->install;
if (install == NULL) {
fprintf(stderr, "install is not set\n"... | lw_dictionary_installer_get_downloadlist | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
const gchar *lw_dictionary_installer_get_downloads(LwDictionary *dictionary) {
if (dictionary) {
if (dictionary->priv) {
if (dictionary->priv->install) {
return dictionary->priv->install->downloads;
} else {
g_return_if_fail_warning(0, "lw_dictionary_installer_get_downloads",
... | const gchar *lw_dictionary_installer_get_downloads(LwDictionary *dictionary) {
g_return_val_if_fail(dictionary != NULL, FALSE);
g_return_val_if_fail(dictionary->priv != NULL, FALSE);
g_return_val_if_fail(dictionary->priv->install != NULL, FALSE);
return dictionary->priv->install->downloads;
} | lw_dictionary_installer_get_downloads | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gchar **lw_dictionary_installer_get_encodelist(LwDictionary *dictionary) {
gchar **decompresslist;
gchar **tempiter;
LwDictionaryInstall *install;
gchar **templist;
const char *encodingname;
char *extension;
gchar *path;
if (!dictionary) {
g_return_if_fail_warning(0, "lw_dictionary_installer_get_en... | static gchar **
lw_dictionary_installer_get_encodelist(LwDictionary *dictionary) {
g_return_val_if_fail(dictionary != NULL, NULL);
LwDictionaryPrivate *priv;
LwDictionaryInstall *install;
gchar **templist, **tempiter;
const gchar *encodingname;
gchar *extension;
gchar *path;
priv = dictionary->priv;
... | lw_dictionary_installer_get_encodelist | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
LwEncoding lw_dictionary_installer_get_encoding(LwDictionary *dictionary) {
if (dictionary) {
if (dictionary->priv) {
if (dictionary->priv->install) {
return dictionary->priv->install->encoding;
} else {
g_return_if_fail_warning(0, "lw_dictionary_installer_get_encoding",
... | LwEncoding lw_dictionary_installer_get_encoding(LwDictionary *dictionary) {
g_return_val_if_fail(dictionary != NULL, FALSE);
g_return_val_if_fail(dictionary->priv != NULL, FALSE);
g_return_val_if_fail(dictionary->priv->install != NULL, FALSE);
return dictionary->priv->install->encoding;
} | lw_dictionary_installer_get_encoding | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gint lw_dictionary_installer_get_file_index(LwDictionary *dictionary) {
if (dictionary)
return dictionary->priv->install->index;
g_return_if_fail_warning(0, "lw_dictionary_installer_get_file_index",
"dictionary != NULL");
return -1;
} | gint lw_dictionary_installer_get_file_index(LwDictionary *dictionary) {
g_return_val_if_fail(dictionary != NULL, -1);
LwDictionaryPrivate *priv;
LwDictionaryInstall *install;
priv = dictionary->priv;
install = priv->install;
return install->index;
} | lw_dictionary_installer_get_file_index | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gchar **lw_dictionary_installer_get_filelist(LwDictionary *dictionary) {
gchar **filelist;
LwDictionaryInstall *install;
if (dictionary) {
install = dictionary->priv->install;
if (!install->filelist)
return (gchar **)g_strsplit(install->files, ";", 0xFFFFFFFFLL);
return filelist;
} else {
... | gchar **lw_dictionary_installer_get_filelist(LwDictionary *dictionary) {
g_return_val_if_fail(dictionary != NULL, NULL);
LwDictionaryPrivate *priv;
LwDictionaryInstall *install;
gchar **filelist;
priv = dictionary->priv;
install = priv->install;
if (install->filelist == NULL) {
filelist = g_strspl... | lw_dictionary_installer_get_filelist | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
const gchar *lw_dictionary_installer_get_files(LwDictionary *dictionary) {
if (dictionary) {
if (dictionary->priv) {
if (dictionary->priv->install) {
return dictionary->priv->install->files;
} else {
g_return_if_fail_warning(0, "lw_dictionary_installer_get_files",
... | const gchar *lw_dictionary_installer_get_files(LwDictionary *dictionary) {
g_return_val_if_fail(dictionary != NULL, FALSE);
g_return_val_if_fail(dictionary->priv != NULL, FALSE);
g_return_val_if_fail(dictionary->priv->install != NULL, FALSE);
return dictionary->priv->install->files;
} | lw_dictionary_installer_get_files | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gchar **lw_dictionary_installer_get_installedlist(LwDictionary *dictionary) {
gchar **tempiter;
LwDictionaryInstall *install;
gchar *directory;
gchar **templist;
gchar *path;
if (!dictionary) {
g_return_if_fail_warning(0, "lw_dictionary_installer_get_installedlist",
"dictio... | static gchar **
lw_dictionary_installer_get_installedlist(LwDictionary *dictionary) {
g_return_val_if_fail(dictionary != NULL, NULL);
LwDictionaryPrivate *priv;
LwDictionaryInstall *install;
gchar **templist, **tempiter;
gchar *path;
gchar *directory;
priv = dictionary->priv;
install = priv->install;... | lw_dictionary_installer_get_installedlist | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gchar **lw_dictionary_installer_get_installlist(LwDictionary *dictionary) {
gchar **tempiter;
LwDictionaryInstall *install;
gchar **templist;
gchar *path;
if (!dictionary) {
g_return_if_fail_warning(0, "lw_dictionary_installer_get_installlist",
"dictionary != NULL");
retu... | static gchar **
lw_dictionary_installer_get_installlist(LwDictionary *dictionary) {
g_return_val_if_fail(dictionary != NULL, NULL);
LwDictionaryPrivate *priv;
LwDictionaryInstall *install;
gchar **templist, **tempiter;
gchar *path;
priv = dictionary->priv;
install = priv->install;
templist = NULL;
... | lw_dictionary_installer_get_installlist | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gboolean lw_dictionary_installer_get_postprocessing(LwDictionary *dictionary) {
if (dictionary) {
if (dictionary->priv) {
if (dictionary->priv->install) {
return dictionary->priv->install->postprocess;
} else {
g_return_if_fail_warning(0,
"lw_dictionary... | gboolean lw_dictionary_installer_get_postprocessing(LwDictionary *dictionary) {
g_return_val_if_fail(dictionary != NULL, FALSE);
g_return_val_if_fail(dictionary->priv != NULL, FALSE);
g_return_val_if_fail(dictionary->priv->install != NULL, FALSE);
return dictionary->priv->install->postprocess;
} | lw_dictionary_installer_get_postprocessing | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gchar **lw_dictionary_installer_get_postprocesslist(LwDictionary *dictionary) {
gchar **encodelist;
gchar **tempiter;
LwDictionaryInstall *install;
const char *encodingname;
gchar **templist;
char *extension;
gchar *path;
if (!dictionary) {
g_return_if_fail_warning(0, "lw_dictionary_installer_get_p... | static gchar **
lw_dictionary_installer_get_postprocesslist(LwDictionary *dictionary) {
g_return_val_if_fail(dictionary != NULL, NULL);
LwDictionaryPrivate *priv;
LwDictionaryInstall *install;
gchar **templist, **tempiter;
const gchar *encodingname;
gchar *extension;
gchar *path;
priv = dictionary->p... | lw_dictionary_installer_get_postprocesslist | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gdouble lw_dictionary_installer_get_progress(LwDictionary *dictionary) {
return dictionary->priv->progress;
} | gdouble lw_dictionary_installer_get_progress(LwDictionary *dictionary) {
LwDictionaryPrivate *priv;
priv = dictionary->priv;
return priv->progress;
} | lw_dictionary_installer_get_progress | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gdouble lw_dictionary_installer_get_stage_progress(LwDictionary *dictionary) {
LwDictionaryInstallerStatus status;
int index;
gchar **list;
double fraction;
double final;
fraction = dictionary->priv->progress;
status = lw_dictionary_installer_get_status(dictionary);
index = lw_dictionary_installer_get_... | gdouble lw_dictionary_installer_get_stage_progress(LwDictionary *dictionary) {
LwDictionaryPrivate *priv;
LwDictionaryInstallerStatus status;
gint index;
gdouble current;
gdouble final;
gchar **list;
gdouble fraction;
priv = dictionary->priv;
fraction = priv->progress;
current = final = 0.0;
st... | lw_dictionary_installer_get_stage_progress | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
LwDictionaryInstallerStatus
lw_dictionary_installer_get_status(LwDictionary *dictionary) {
if (dictionary)
return dictionary->priv->install->status;
g_return_if_fail_warning(0, "lw_dictionary_installer_get_status",
"dictionary != NULL");
return -1;
} | LwDictionaryInstallerStatus
lw_dictionary_installer_get_status(LwDictionary *dictionary) {
g_return_val_if_fail(dictionary != NULL, -1);
LwDictionaryPrivate *priv;
LwDictionaryInstall *install;
priv = dictionary->priv;
install = priv->install;
return install->status;
} | lw_dictionary_installer_get_status | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gchar *lw_dictionary_installer_get_status_message(LwDictionary *dictionary,
gboolean long_form) {
char *v2;
char *v3;
char *v4;
const char *encodingname;
char *v6;
char *v7;
char *v8;
char *v9;
char *v10;
char *v11;
char *v12;
gchar *text;
LwDi... | gchar *lw_dictionary_installer_get_status_message(LwDictionary *dictionary,
gboolean long_form) {
LwDictionaryPrivate *priv;
gchar *text;
const gchar *name;
LwDictionaryInstallerStatus status;
priv = dictionary->priv;
name = lw_dictionary_get_name(dictiona... | lw_dictionary_installer_get_status_message | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gdouble lw_dictionary_installer_get_total_progress(LwDictionary *dictionary) {
gint i;
LwDictionaryInstallerStatus status;
double current;
double currenta;
double final;
double temp;
gchar **list;
status = lw_dictionary_installer_get_status(dictionary);
final = 0.0;
current = 0.0;
for (i = 0; i <... | gdouble lw_dictionary_installer_get_total_progress(LwDictionary *dictionary) {
LwDictionaryPrivate *priv;
LwDictionaryInstallerStatus status;
gdouble current;
gdouble final;
gdouble fraction;
gdouble temp;
gint i;
gchar **list;
priv = dictionary->priv;
status = lw_dictionary_installer_get_status(d... | lw_dictionary_installer_get_total_progress | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gboolean lw_dictionary_installer_install(LwDictionary *dictionary,
GCancellable *cancellable,
GError **error) {
gchar **sourceiter;
gchar **targetiter;
LwDictionaryPrivate *priv;
gchar **sourcelist;
if (error && *error)
ret... | gboolean lw_dictionary_installer_install(LwDictionary *dictionary,
GCancellable *cancellable,
GError **error) {
if (error != NULL && *error != NULL)
return FALSE;
g_return_val_if_fail(dictionary != NULL, FALSE);
LwDictionaryPr... | lw_dictionary_installer_install | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gboolean lw_dictionary_installer_is_builtin(LwDictionary *dictionary) {
if (dictionary) {
if (dictionary->priv) {
if (dictionary->priv->install) {
return dictionary->priv->install->builtin;
} else {
g_return_if_fail_warning(0, "lw_dictionary_installer_is_builtin",
... | gboolean lw_dictionary_installer_is_builtin(LwDictionary *dictionary) {
g_return_val_if_fail(dictionary != NULL, FALSE);
g_return_val_if_fail(dictionary->priv != NULL, FALSE);
g_return_val_if_fail(dictionary->priv->install != NULL, FALSE);
return dictionary->priv->install->builtin;
} | lw_dictionary_installer_is_builtin | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gboolean lw_dictionary_installer_is_valid(LwDictionary *dictionary) {
LwDictionaryInstall *install;
if (dictionary) {
install = dictionary->priv->install;
return install->files && install->downloads;
} else {
g_return_if_fail_warning(0, "lw_dictionary_installer_is_valid",
... | gboolean lw_dictionary_installer_is_valid(LwDictionary *dictionary) {
g_return_val_if_fail(dictionary != NULL, FALSE);
LwDictionaryPrivate *priv;
LwDictionaryInstall *install;
priv = dictionary->priv;
install = priv->install;
return (install->files != NULL && install->downloads != NULL);
} | lw_dictionary_installer_is_valid | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
LwDictionary *lw_dictionary_installer_new(GType type) {
GType v1;
GType v3;
long v4;
v1 = lw_dictionary_get_type();
if ((unsigned int)g_type_is_a(type, v1)) {
v3 = lw_dictionary_get_type();
v4 = g_object_new(type, 0);
return (LwDictionary *)g_type_check_instance_cast(v4, v3);
} else {
g_ret... | LwDictionary *lw_dictionary_installer_new(GType type) {
g_return_val_if_fail(g_type_is_a(type, LW_TYPE_DICTIONARY) != FALSE, NULL);
LwDictionary *dictionary;
dictionary = LW_DICTIONARY(g_object_new(type, NULL));
return dictionary;
} | lw_dictionary_installer_new | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gboolean lw_dictionary_installer_postprocess(LwDictionary *dictionary,
GCancellable *cancellable,
GError **error) {
GType type;
gchar **sourceiter;
gchar **targetiter;
LwDictionaryClass *klass;
LwDictionaryPrivate *priv;... | gboolean lw_dictionary_installer_postprocess(LwDictionary *dictionary,
GCancellable *cancellable,
GError **error) {
if (error != NULL && *error != NULL)
return FALSE;
g_return_val_if_fail(dictionary != NULL, FALSE);
Lw... | lw_dictionary_installer_postprocess | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_dictionary_installer_reset_downloads(LwDictionary *dictionary) {
if (dictionary) {
if (!dictionary->priv->install)
g_assertion_message_expr(0, "dictionary-installer.c", 1097,
"lw_dictionary_installer_reset_downloads",
"dictionary->priv->i... | void lw_dictionary_installer_reset_downloads(LwDictionary *dictionary) {
g_return_if_fail(dictionary != NULL);
g_assert(dictionary->priv->install != NULL);
LwDictionaryPrivate *priv;
LwDictionaryInstall *install;
LwPreferences *preferences;
const gchar *KEY;
priv = dictionary->priv;
install = priv->i... | lw_dictionary_installer_reset_downloads | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_dictionary_installer_set_downloads(LwDictionary *dictionary,
const gchar *DOWNLOADS) {
if (dictionary) {
if (DOWNLOADS) {
if (!dictionary->priv->install)
g_assertion_message_expr(0, "dictionary-installer.c", 1074,
"l... | void lw_dictionary_installer_set_downloads(LwDictionary *dictionary,
const gchar *DOWNLOADS) {
g_return_if_fail(dictionary != NULL);
g_return_if_fail(DOWNLOADS != NULL);
g_assert(dictionary->priv->install != NULL);
LwDictionaryPrivate *priv;
LwDictionaryInstall *in... | lw_dictionary_installer_set_downloads | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_dictionary_installer_set_encoding(LwDictionary *dictionary,
const LwEncoding ENCODING) {
dictionary->priv->install->encoding = ENCODING;
} | void lw_dictionary_installer_set_encoding(LwDictionary *dictionary,
const LwEncoding ENCODING) {
LwDictionaryPrivate *priv;
priv = dictionary->priv;
priv->install->encoding = ENCODING;
} | lw_dictionary_installer_set_encoding | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_dictionary_installer_set_files(LwDictionary *dictionary,
const gchar *files) {
LwDictionaryInstall *install;
if (dictionary) {
if (dictionary->priv) {
if (dictionary->priv->install) {
if (dictionary->priv->install->files)
g_free(dictionary-... | void lw_dictionary_installer_set_files(LwDictionary *dictionary,
const gchar *files) {
g_return_if_fail(dictionary != NULL);
g_return_if_fail(dictionary->priv != NULL);
g_return_if_fail(dictionary->priv->install != NULL);
if (dictionary->priv->install->files != NULL)
... | lw_dictionary_installer_set_files | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_dictionary_installer_set_postprocess(LwDictionary *dictionary,
const gboolean POSTPROCESS) {
dictionary->priv->install->postprocess = POSTPROCESS;
} | void lw_dictionary_installer_set_postprocess(LwDictionary *dictionary,
const gboolean POSTPROCESS) {
LwDictionaryPrivate *priv;
priv = dictionary->priv;
priv->install->postprocess = POSTPROCESS;
} | lw_dictionary_installer_set_postprocess | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_dictionary_installer_set_postprocessing(LwDictionary *dictionary,
gboolean postprocess) {
if (dictionary) {
if (dictionary->priv) {
if (dictionary->priv->install)
dictionary->priv->install->postprocess = postprocess;
else
g_return... | void lw_dictionary_installer_set_postprocessing(LwDictionary *dictionary,
gboolean postprocess) {
g_return_if_fail(dictionary != NULL);
g_return_if_fail(dictionary->priv != NULL);
g_return_if_fail(dictionary->priv->install != NULL);
dictionary->priv->install->po... | lw_dictionary_installer_set_postprocessing | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_dictionary_installer_set_status(LwDictionary *dictionary,
LwDictionaryInstallerStatus status) {
if (dictionary)
dictionary->priv->install->status = status;
else
g_return_if_fail_warning(0, "lw_dictionary_installer_set_status",
"dic... | void lw_dictionary_installer_set_status(LwDictionary *dictionary,
LwDictionaryInstallerStatus status) {
g_return_if_fail(dictionary != NULL);
LwDictionaryPrivate *priv;
LwDictionaryInstall *install;
priv = dictionary->priv;
install = priv->install;
install->status... | lw_dictionary_installer_set_status | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gboolean lw_dictionary_is_selected(LwDictionary *dictionary) {
if (dictionary)
return dictionary->priv->selected;
g_return_if_fail_warning(0, "lw_dictionary_is_selected",
"dictionary != NULL");
return 0;
} | gboolean lw_dictionary_is_selected(LwDictionary *dictionary) {
g_return_val_if_fail(dictionary != NULL, FALSE);
LwDictionaryPrivate *priv;
priv = dictionary->priv;
return priv->selected;
} | lw_dictionary_is_selected | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
FILE *lw_dictionary_open(LwDictionary *dictionary) {
FILE *file;
const char *path;
file = 0;
path = lw_dictionary_get_path(dictionary);
if (path) {
file = fopen(path, "r");
g_free(path);
}
return file;
} | FILE *lw_dictionary_open(LwDictionary *dictionary) {
FILE *file;
gchar *path;
file = NULL;
path = lw_dictionary_get_path(dictionary);
if (path != NULL) {
file = fopen(path, "r");
g_free(path);
path = NULL;
}
return file;
} | lw_dictionary_open | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gboolean lw_dictionary_parse_query(LwDictionary *dictionary, LwQuery *query,
const gchar *TEXT, GError **error) {
GType type;
LwDictionaryClass *klass;
if (dictionary && query && TEXT) {
if (error && *error) {
return 0;
} else {
type = lw_dictionary_get_type... | gboolean lw_dictionary_parse_query(LwDictionary *dictionary, LwQuery *query,
const gchar *TEXT, GError **error) {
g_return_val_if_fail(dictionary != NULL && query != NULL && TEXT != NULL,
FALSE);
if (error != NULL && *error != NULL)
return FALSE;
LwDi... | lw_dictionary_parse_query | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gboolean lw_dictionary_parse_result(LwDictionary *dictionary, LwResult *result,
FILE *fd) {
GType type;
LwDictionaryClass *klass;
if (dictionary && result && fd) {
type = lw_dictionary_get_type();
klass = (LwDictionaryClass *)g_type_check_class_cast(
dictionary... | gboolean lw_dictionary_parse_result(LwDictionary *dictionary, LwResult *result,
FILE *fd) {
g_return_val_if_fail(dictionary != NULL && result != NULL && fd != NULL,
FALSE);
LwDictionaryClass *klass;
klass = LW_DICTIONARY_CLASS(G_OBJECT_GET_CLASS(diction... | lw_dictionary_parse_result | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_dictionary_set_builtin_installer_full(
LwDictionary *dictionary, const gchar *FILES, LwPreferences *preferences,
const gchar *KEY, const gchar *DESCRIPTION, LwEncoding encoding,
gboolean postprocess) {
LwDictionaryInstall *install;
if (dictionary) {
if (FILES) {
if (preferences) {
... | void lw_dictionary_set_builtin_installer_full(
LwDictionary *dictionary, const gchar *FILES, LwPreferences *preferences,
const gchar *KEY, const gchar *DESCRIPTION, LwEncoding encoding,
gboolean postprocess) {
g_return_if_fail(dictionary != NULL);
g_return_if_fail(FILES != NULL);
g_return_if_fail(pre... | lw_dictionary_set_builtin_installer_full | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_dictionary_set_installer(LwDictionary *dictionary,
LwDictionaryInstall *install) {
if (dictionary) {
if (install)
dictionary->priv->install = install;
else
g_return_if_fail_warning(0, "lw_dictionary_set_installer",
"install !=... | void lw_dictionary_set_installer(LwDictionary *dictionary,
LwDictionaryInstall *install) {
g_return_if_fail(dictionary != NULL);
g_return_if_fail(install != NULL);
dictionary->priv->install = install;
} | lw_dictionary_set_installer | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_dictionary_set_installer_full(
LwDictionary *dictionary, const gchar *FILES, const gchar *DOWNLOADS,
const gchar *DESCRIPTION, LwEncoding encoding, gboolean postprocess) {
LwDictionaryPrivate *priv;
LwDictionaryInstall *install;
if (dictionary) {
if (FILES && *FILES) {
priv = dictionary... | void lw_dictionary_set_installer_full(
LwDictionary *dictionary, const gchar *FILES, const gchar *DOWNLOADS,
const gchar *DESCRIPTION, LwEncoding encoding, gboolean postprocess) {
g_return_if_fail(dictionary != NULL);
g_return_if_fail(FILES != NULL && *FILES != '\0');
LwDictionaryPrivate *priv;
LwDicti... | lw_dictionary_set_installer_full | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_dictionary_set_property(GObject *object, guint property_id,
const GValue *value, GParamSpec *pspec) {
GType type;
const char *v5;
const char *v6;
LwDictionaryPrivate *priv;
type = lw_dictionary_get_type();
priv =
*(LwDictionaryPrivate **)(g_type_check_instance_... | static void lw_dictionary_set_property(GObject *object, guint property_id,
const GValue *value, GParamSpec *pspec) {
LwDictionary *dictionary;
LwDictionaryPrivate *priv;
dictionary = LW_DICTIONARY(object);
priv = dictionary->priv;
switch (property_id) {
case PROP_FI... | lw_dictionary_set_property | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_dictionary_set_selected(LwDictionary *dictionary, gboolean selected) {
if (dictionary)
dictionary->priv->selected = selected;
else
g_return_if_fail_warning(0, "lw_dictionary_set_selected",
"dictionary != NULL");
} | void lw_dictionary_set_selected(LwDictionary *dictionary, gboolean selected) {
g_return_if_fail(dictionary != NULL);
LwDictionaryPrivate *priv;
priv = dictionary->priv;
priv->selected = selected;
} | lw_dictionary_set_selected | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
LwDictionaryInstall *lw_dictionary_steal_installer(LwDictionary *dictionary) {
LwDictionaryInstall *install;
if (dictionary) {
install = dictionary->priv->install;
dictionary->priv = 0;
return install;
} else {
g_return_if_fail_warning(0, "lw_dictionary_steal_installer",
... | LwDictionaryInstall *lw_dictionary_steal_installer(LwDictionary *dictionary) {
g_return_val_if_fail(dictionary != NULL, NULL);
LwDictionaryInstall *install;
install = dictionary->priv->install;
dictionary->priv = NULL;
return install;
} | lw_dictionary_steal_installer | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_dictionary_sync_downloadlist_cb(GSettings *settings, gchar *key,
gpointer data) {
GType type;
LwDictionaryInstall *install;
gchar downloads[200];
unsigned long v7;
v7 = __readfsqword(0x28u);
type = lw_dictionary_get_type();
install = *(LwDictionaryInstall *... | void lw_dictionary_sync_downloadlist_cb(GSettings *settings, gchar *key,
gpointer data) {
LwDictionary *dictionary;
LwDictionaryPrivate *priv;
LwDictionaryInstall *install;
gchar downloads[200];
dictionary = LW_DICTIONARY(data);
priv = dictionary->priv;
install = ... | lw_dictionary_sync_downloadlist_cb | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gint lw_dictionary_sync_progress_cb(gdouble fraction, gpointer data) {
GType type;
GType v3;
guint v4;
long v5;
LwDictionary *dictionary;
LwDictionaryPrivate *priv;
LwDictionaryClass *klass;
type = lw_dictionary_get_type();
dictionary = (LwDictionary *)g_type_check_instance_cast(data, type);
priv =... | gint lw_dictionary_sync_progress_cb(gdouble fraction, gpointer data) {
LwDictionary *dictionary;
LwDictionaryPrivate *priv;
LwDictionaryClass *klass;
dictionary = LW_DICTIONARY(data);
priv = dictionary->priv;
klass = LW_DICTIONARY_CLASS(G_OBJECT_GET_CLASS(dictionary));
if (priv->progress != fraction) {
... | lw_dictionary_sync_progress_cb | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gboolean lw_dictionary_uninstall(LwDictionary *dictionary,
LwIoProgressCallback cb, GError **error) {
const gchar *uri;
if (error && *error)
return 0;
if (!dictionary)
g_assertion_message_expr(0, "dictionary.c", 313, "lw_dictionary_uninstall",
... | gboolean lw_dictionary_uninstall(LwDictionary *dictionary,
LwIoProgressCallback cb, GError **error) {
if (error != NULL && *error != NULL)
return FALSE;
g_assert(dictionary != NULL);
gchar *uri;
uri = lw_dictionary_get_path(dictionary);
if (uri != NULL) {
lw_io_rem... | lw_dictionary_uninstall | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_dictionaryinstall_free(LwDictionaryInstall *install) {
if (install->files)
g_free(install->files);
install->files = 0;
if (install->downloads)
g_free(install->downloads);
install->downloads = 0;
if (install->decompresslist)
g_strfreev(install->decompresslist);
install->decompresslist = 0... | void lw_dictionaryinstall_free(LwDictionaryInstall *install) {
if (install->files != NULL)
g_free(install->files);
install->files = NULL;
if (install->downloads != NULL)
g_free(install->downloads);
install->downloads = NULL;
if (install->decompresslist != NULL)
g_strfreev(install->decompresslist)... | lw_dictionaryinstall_free | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
LwDictionaryInstall *lw_dictionaryinstall_new() {
return (LwDictionaryInstall *)g_malloc0_n(1, 136);
} | LwDictionaryInstall *lw_dictionaryinstall_new() {
LwDictionaryInstall *install;
install = g_new0(LwDictionaryInstall, 1);
return install;
} | lw_dictionaryinstall_new | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_dictionarylist_append(LwDictionaryList *dictionarylist,
LwDictionary *dictionary) {
GType type;
LwDictionaryListPrivate *priv;
LwDictionaryListClass *klass;
if (dictionarylist) {
if (dictionary) {
if (!lw_dictionarylist_dictionary_exists(dictionarylist, dictionar... | void lw_dictionarylist_append(LwDictionaryList *dictionarylist,
LwDictionary *dictionary) {
g_return_if_fail(dictionarylist != NULL);
g_return_if_fail(dictionary != NULL);
if (lw_dictionarylist_dictionary_exists(dictionarylist, dictionary))
return;
LwDictionaryListPrivate *pr... | lw_dictionarylist_append | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_dictionarylist_class_init(LwDictionaryListClass *klass) {
GObjectClass *object_class;
object_class = (GObjectClass *)g_type_check_class_cast(klass, 80);
object_class->finalize = (void (*)(GObject *))lw_dictionarylist_finalize;
klass->signalid[0] =
g_signal_new("changed", object_class->g_type_clas... | static void lw_dictionarylist_class_init(LwDictionaryListClass *klass) {
GObjectClass *object_class;
object_class = G_OBJECT_CLASS(klass);
object_class->finalize = lw_dictionarylist_finalize;
klass->signalid[LW_DICTIONARYLIST_CLASS_SIGNALID_CHANGED] = g_signal_new(
"changed", G_OBJECT_CLASS_TYPE(object... | lw_dictionarylist_class_init | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_dictionarylist_clear(LwDictionaryList *dictionarylist) {
GType type;
GType v2;
GList *link;
LwDictionaryListPrivate *priv;
LwDictionaryListClass *klass;
LwDictionary *dictionary;
if (dictionarylist) {
priv = dictionarylist->priv;
type = lw_dictionarylist_get_type();
klass = (LwDiction... | void lw_dictionarylist_clear(LwDictionaryList *dictionarylist) {
g_return_if_fail(dictionarylist != NULL);
LwDictionaryListPrivate *priv;
LwDictionaryListClass *klass;
LwDictionary *dictionary;
GList *link;
priv = dictionarylist->priv;
klass = LW_DICTIONARYLIST_CLASS(G_OBJECT_GET_CLASS(dictionarylist))... | lw_dictionarylist_clear | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gboolean lw_dictionarylist_dictionary_exists(LwDictionaryList *dictionarylist,
LwDictionary *dictionary) {
GType type;
LwDictionary *v4;
gboolean exists;
GList *link;
if (dictionary) {
exists = 0;
for (link = dictionarylist->priv->list; link && !exists;
... | gboolean lw_dictionarylist_dictionary_exists(LwDictionaryList *dictionarylist,
LwDictionary *dictionary) {
g_return_val_if_fail(dictionary != NULL, FALSE);
g_return_val_if_fail(dictionary != NULL, FALSE);
LwDictionaryListPrivate *priv;
gboolean exists;
GList *lin... | lw_dictionarylist_dictionary_exists | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_dictionarylist_finalize(GObject *object) {
GType type;
void (*v2)(GObject *);
LwDictionaryList *dictionarylist;
LwDictionaryListPrivate *priv;
type = lw_dictionarylist_get_type();
dictionarylist = (LwDictionaryList *)g_type_check_instance_cast(object, type);
priv = dictionarylist->priv;
lw_dict... | static void lw_dictionarylist_finalize(GObject *object) {
LwDictionaryList *dictionarylist;
LwDictionaryListPrivate *priv;
dictionarylist = LW_DICTIONARYLIST(object);
priv = dictionarylist->priv;
lw_dictionarylist_clear(dictionarylist);
g_mutex_clear(&priv->mutex);
G_OBJECT_CLASS(lw_dictionarylist_par... | lw_dictionarylist_finalize | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
LwDictionary *lw_dictionarylist_get_dictionary(LwDictionaryList *dictionarylist,
const GType TYPE,
const gchar *FILENAME) {
GType v4;
GList *iter;
LwDictionary *dictionary;
GType type;
const char *FILENAME2;
if (d... | LwDictionary *lw_dictionarylist_get_dictionary(LwDictionaryList *dictionarylist,
const GType TYPE,
const gchar *FILENAME) {
g_return_val_if_fail(dictionarylist != NULL && FILENAME != NULL, NULL);
LwDictionaryListPrivate ... | lw_dictionarylist_get_dictionary | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
LwDictionary *
lw_dictionarylist_get_dictionary_by_filename(LwDictionaryList *dictionarylist,
const gchar *FILENAME) {
GType type;
GList *iter;
LwDictionary *dictionary;
const gchar *FILENAME2;
if (!FILENAME)
g_assertion_message_expr(0, "dictionarylist.c", 425... | LwDictionary *
lw_dictionarylist_get_dictionary_by_filename(LwDictionaryList *dictionarylist,
const gchar *FILENAME) {
g_assert(FILENAME != NULL);
LwDictionaryListPrivate *priv;
GList *iter;
LwDictionary *dictionary;
const gchar *FILENAME2;
priv = dictionaryli... | lw_dictionarylist_get_dictionary_by_filename | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
LwDictionary *
lw_dictionarylist_get_dictionary_by_id(LwDictionaryList *dictionarylist,
const gchar *ENGINE_AND_FILENAME) {
GType type;
GList *link;
LwDictionary *dictionary;
LwDictionaryListPrivate *priv;
gchar **pair;
GType type1;
const gchar *FILENAME1;
const gc... | LwDictionary *
lw_dictionarylist_get_dictionary_by_id(LwDictionaryList *dictionarylist,
const gchar *ENGINE_AND_FILENAME) {
g_return_val_if_fail(dictionarylist != NULL && ENGINE_AND_FILENAME != NULL,
NULL);
LwDictionaryListPrivate *priv;
GList *link;... | lw_dictionarylist_get_dictionary_by_id | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
LwDictionary *
lw_dictionarylist_get_dictionary_by_position(LwDictionaryList *dictionarylist,
gint position) {
return (LwDictionary *)g_list_nth_data(dictionarylist->priv->list,
(unsigned int)position);
} | LwDictionary *
lw_dictionarylist_get_dictionary_by_position(LwDictionaryList *dictionarylist,
gint position) {
LwDictionary *dictionary;
dictionary = g_list_nth_data(dictionarylist->priv->list, position);
return dictionary;
} | lw_dictionarylist_get_dictionary_by_position | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
LwDictionary *
lw_dictionarylist_get_dictionary_fuzzy(LwDictionaryList *dictionarylist,
const char *FUZZY_DESCRIPTION) {
GType type;
LwDictionary *dictionary;
LwDictionaryListPrivate *priv;
priv = dictionarylist->priv;
if (FUZZY_DESCRIPTION) {
dictionary = lw_dictio... | LwDictionary *
lw_dictionarylist_get_dictionary_fuzzy(LwDictionaryList *dictionarylist,
const char *FUZZY_DESCRIPTION) {
LwDictionaryListPrivate *priv;
LwDictionary *dictionary;
priv = dictionarylist->priv;
dictionary = NULL;
if (FUZZY_DESCRIPTION == NULL) {
if (p... | lw_dictionarylist_get_dictionary_fuzzy | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
GList *lw_dictionarylist_get_list(LwDictionaryList *dictionarylist) {
if (dictionarylist)
return dictionarylist->priv->list;
g_return_if_fail_warning(0, "lw_dictionarylist_get_list",
"dictionarylist != NULL");
return 0;
} | GList *lw_dictionarylist_get_list(LwDictionaryList *dictionarylist) {
g_return_val_if_fail(dictionarylist != NULL, NULL);
return dictionarylist->priv->list;
} | lw_dictionarylist_get_list | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gint lw_dictionarylist_get_position(LwDictionaryList *dictionarylist,
LwDictionary *dictionary) {
if (dictionarylist) {
if (dictionary) {
return g_list_index(dictionarylist->priv->list, dictionary);
} else {
g_return_if_fail_warning(0, "lw_dictionarylist_get_pos... | gint lw_dictionarylist_get_position(LwDictionaryList *dictionarylist,
LwDictionary *dictionary) {
g_return_val_if_fail(dictionarylist != NULL, -1);
g_return_val_if_fail(dictionary != NULL, -1);
return g_list_index(dictionarylist->priv->list, dictionary);
} | lw_dictionarylist_get_position | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gint lw_dictionarylist_get_total(LwDictionaryList *dictionarylist) {
if (dictionarylist)
return g_list_length(dictionarylist->priv->list);
g_return_if_fail_warning(0, "lw_dictionarylist_get_total",
"dictionarylist != NULL");
return 0;
} | gint lw_dictionarylist_get_total(LwDictionaryList *dictionarylist) {
g_return_val_if_fail(dictionarylist != NULL, 0);
LwDictionaryListPrivate *priv;
priv = dictionarylist->priv;
return g_list_length(priv->list);
} | lw_dictionarylist_get_total | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_dictionarylist_init(LwDictionaryList *dictionarylist) {
GType type;
type = lw_dictionarylist_get_type();
dictionarylist->priv = (LwDictionaryListPrivate *)g_type_instance_get_private(
dictionarylist, type);
memset(dictionarylist->priv, 0, sizeof(LwDictionaryListPrivate));
g_mutex_init(&dictiona... | static void lw_dictionarylist_init(LwDictionaryList *dictionarylist) {
dictionarylist->priv = LW_DICTIONARYLIST_GET_PRIVATE(dictionarylist);
memset(dictionarylist->priv, 0, sizeof(LwDictionaryListPrivate));
g_mutex_init(&dictionarylist->priv->mutex);
} | lw_dictionarylist_init | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gboolean
lw_dictionarylist_installer_is_valid(LwDictionaryList *dictionarylist) {
GType type;
gint number_selected;
gboolean valid;
gboolean selected;
GList *link;
LwDictionary *dictionary;
if (dictionarylist) {
link = dictionarylist->priv->list;
number_selected = 0;
while (link) {
type... | gboolean
lw_dictionarylist_installer_is_valid(LwDictionaryList *dictionarylist) {
g_return_val_if_fail(dictionarylist != NULL, FALSE);
LwDictionaryListPrivate *priv;
GList *link;
LwDictionary *dictionary;
gint number_selected;
gboolean selected;
gboolean valid;
priv = dictionarylist->priv;
link = p... | lw_dictionarylist_installer_is_valid | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_dictionarylist_load_installable(LwDictionaryList *dictionarylist,
LwPreferences *preferences) {
GType type;
char *v3;
char *v4;
char *v5;
char *v6;
LwDictionaryListPrivate *priv;
LwDictionaryListClass *klass;
LwDictionary *dictionary;
LwDictionary *dicti... | void lw_dictionarylist_load_installable(LwDictionaryList *dictionarylist,
LwPreferences *preferences) {
LwDictionaryListPrivate *priv;
LwDictionaryListClass *klass;
LwDictionary *dictionary;
priv = dictionarylist->priv;
klass = LW_DICTIONARYLIST_CLASS(G_OBJECT_GET_CLAS... | lw_dictionarylist_load_installable | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_dictionarylist_load_installed(LwDictionaryList *dictionarylist) {
GType v1;
GType v2;
long v3;
gboolean __r;
gchar **iditer;
LwDictionaryListClass *klass;
gchar **idlist;
gchar **pair;
gchar *typename;
GType type;
LwDictionary *dictionary;
GType __t;
if (dictionarylist) {
lw_dicti... | void lw_dictionarylist_load_installed(LwDictionaryList *dictionarylist) {
g_return_if_fail(dictionarylist != NULL);
LwDictionaryListClass *klass;
gchar **idlist;
gchar **iditer;
gchar **pair;
gchar *typename;
GType type;
LwDictionary *dictionary;
const gchar *FILENAME;
lw_dictionarylist_clear(dic... | lw_dictionarylist_load_installed | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_dictionarylist_load_order(LwDictionaryList *dictionarylist,
LwPreferences *preferences) {
void *v2;
GType type;
GList *v4;
LwPreferences *preferencesa;
LwDictionaryList *dictionarylista;
gint i;
gchar **ptr;
long v9;
gchar(*p_order)[];
LwDictionaryListPrivat... | void lw_dictionarylist_load_order(LwDictionaryList *dictionarylist,
LwPreferences *preferences) {
g_return_if_fail(dictionarylist != NULL && preferences != NULL);
LwDictionaryListPrivate *priv;
LwDictionaryListClass *klass;
const static gint MAX = 512;
gchar order[MAX];
g... | lw_dictionarylist_load_order | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
LwDictionaryList *lw_dictionarylist_new() {
GType type;
GType v1;
long v2;
type = lw_dictionarylist_get_type();
v1 = lw_dictionarylist_get_type();
v2 = g_object_new(v1, 0);
return (LwDictionaryList *)g_type_check_instance_cast(v2, type);
} | LwDictionaryList *lw_dictionarylist_new() {
LwDictionaryList *dictionary;
dictionary = LW_DICTIONARYLIST(g_object_new(LW_TYPE_DICTIONARYLIST, NULL));
return dictionary;
} | lw_dictionarylist_new | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
LwDictionary *lw_dictionarylist_remove(LwDictionaryList *dictionarylist,
LwDictionary *dictionary) {
GType type;
LwDictionary *removed_dictionary;
LwDictionaryListPrivate *priv;
LwDictionaryListClass *klass;
GList *link;
if (dictionarylist) {
if (dictionary) {
... | LwDictionary *lw_dictionarylist_remove(LwDictionaryList *dictionarylist,
LwDictionary *dictionary) {
g_return_val_if_fail(dictionarylist != NULL, NULL);
g_return_val_if_fail(dictionary != NULL, NULL);
LwDictionaryListPrivate *priv;
LwDictionaryListClass *klass;
GList *... | lw_dictionarylist_remove | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
LwDictionary *
lw_dictionarylist_remove_by_position(LwDictionaryList *dictionarylist,
gint position) {
GType type;
LwDictionary *removed_dictionary;
LwDictionaryListPrivate *priv;
LwDictionaryListClass *klass;
GList *link;
if (dictionarylist) {
priv = dictionarylist... | LwDictionary *
lw_dictionarylist_remove_by_position(LwDictionaryList *dictionarylist,
gint position) {
g_return_val_if_fail(dictionarylist != NULL, NULL);
LwDictionaryListPrivate *priv;
LwDictionaryListClass *klass;
GList *link;
LwDictionary *removed_dictionary;
priv ... | lw_dictionarylist_remove_by_position | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_dictionarylist_save_order(LwDictionaryList *dictionarylist,
LwPreferences *preferences) {
gint total;
GType type;
GList *link;
gchar **ptr;
LwDictionaryListPrivate *priv;
gchar **atoms;
LwDictionary *dictionary;
gchar *order;
priv = dictionarylist->priv;
to... | void lw_dictionarylist_save_order(LwDictionaryList *dictionarylist,
LwPreferences *preferences) {
LwDictionaryListPrivate *priv;
LwDictionary *dictionary;
gchar *order;
GList *link;
gchar **atoms;
gchar **ptr;
priv = dictionarylist->priv;
atoms = g_new(gchar *, lw_dic... | lw_dictionarylist_save_order | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gint lw_dictionarylist_sort_compare_function(gconstpointer_0 a,
gconstpointer_0 b, gpointer data) {
GType type;
GType v5;
gint position_a;
gint position_b;
gboolean found_a;
gboolean found_b;
gpointer position_a_ptr;
gpointer position_b_ptr;
GHashTable *has... | static gint lw_dictionarylist_sort_compare_function(gconstpointer a,
gconstpointer b,
gpointer data) {
g_return_val_if_fail(data != NULL, 0);
GHashTable *hashtable;
gchar *description_a, *description_b;
LwD... | lw_dictionarylist_sort_compare_function | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_dictionarylist_sort_with_data(LwDictionaryList *dictionarylist,
GCompareDataFunc compare_func,
gpointer user_data) {
LwDictionaryListPrivate *priv;
if (dictionarylist) {
priv = dictionarylist->priv;
priv->list =
(GL... | void lw_dictionarylist_sort_with_data(LwDictionaryList *dictionarylist,
GCompareDataFunc compare_func,
gpointer user_data) {
g_return_if_fail(dictionarylist != NULL);
LwDictionaryListPrivate *priv;
priv = dictionarylist->priv;
priv-... | lw_dictionarylist_sort_with_data | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_edictionary_class_init(LwEDictionaryClass *klass) {
GType type;
gchar ***v2;
gint i;
GObjectClass *object_class;
LwDictionaryClass *dictionary_class;
object_class = (GObjectClass *)g_type_check_class_cast(klass, 80);
object_class->finalize = (void (*)(GObject *))lw_edictionary_finalize;
object_... | static void lw_edictionary_class_init(LwEDictionaryClass *klass) {
GObjectClass *object_class;
LwDictionaryClass *dictionary_class;
gint i;
object_class = G_OBJECT_CLASS(klass);
object_class->finalize = lw_edictionary_finalize;
object_class->constructed = lw_edictionary_constructed;
dictionary_class = ... | lw_edictionary_class_init | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gboolean lw_edictionary_compare(LwDictionary *dictionary, LwQuery *query,
LwResult *result, const LwRelevance RELEVANCE) {
gint j;
gint ja;
gboolean found;
gboolean founda;
gboolean checked;
GList *link;
GList *linka;
GList *linkb;
GList *linkc;
gchar *text;
gpointe... | static gboolean lw_edictionary_compare(LwDictionary *dictionary, LwQuery *query,
LwResult *result,
const LwRelevance RELEVANCE) {
g_return_val_if_fail(dictionary != NULL, FALSE);
g_return_val_if_fail(query != NULL, FALSE);
g_return_val... | lw_edictionary_compare | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_edictionary_constructed(GObject *object) {
void (*v1)(GObject *);
GType type;
char *v3;
char *v4;
char *v5;
char *v6;
LwDictionaryPrivate *priv;
v1 = *(void (**)(GObject *))(
g_type_check_class_cast(lw_edictionary_parent_class, 80) + 72);
v1(object);
type = lw_dictionary_get_type();
... | static void lw_edictionary_constructed(GObject *object) {
{
G_OBJECT_CLASS(lw_edictionary_parent_class)->constructed(object);
}
LwDictionary *dictionary;
LwDictionaryPrivate *priv;
dictionary = LW_DICTIONARY(object);
priv = dictionary->priv;
if (strcmp(priv->filename, "English") == 0) {
if (pr... | lw_edictionary_constructed | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_edictionary_create_primary_tokens(LwDictionary *dictionary,
LwQuery *query) {
const char *text;
const gchar *delimited;
gchar *delimiteda;
gchar **tokeniter;
const gchar *tempa;
gchar *temp;
gchar **tokens;
text = lw_query_get_text(query);
delimited =... | static void lw_edictionary_create_primary_tokens(LwDictionary *dictionary,
LwQuery *query) {
gchar *temp;
gchar *delimited;
gboolean split_script_changes, split_whitespace;
gchar **tokens;
gchar **tokeniter;
delimited = lw_util_prepare_query(lw_query_get_te... | lw_edictionary_create_primary_tokens | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_edictionary_finalize(GObject *object) {
void (*v1)(GObject *);
v1 = *(void (**)(GObject *))(
g_type_check_class_cast(lw_edictionary_parent_class, 80) + 48);
v1(object);
} | static void lw_edictionary_finalize(GObject *object) {
G_OBJECT_CLASS(lw_edictionary_parent_class)->finalize(object);
} | lw_edictionary_finalize | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
void lw_edictionary_init(LwEDictionary *dictionary) { ; } | static void lw_edictionary_init(LwEDictionary *dictionary) {} | lw_edictionary_init | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
gboolean lw_edictionary_installer_postprocess(
LwDictionary *dictionary, gchar **sourcelist, gchar **targetlist,
LwIoProgressCallback cb, gpointer data, GCancellable *cancellable,
GError **error) {
gint i;
if (dictionary) {
if (sourcelist) {
if (targetlist) {
if (*error) {
r... | static gboolean lw_edictionary_installer_postprocess(
LwDictionary *dictionary, gchar **sourcelist, gchar **targetlist,
LwIoProgressCallback cb, gpointer data, GCancellable *cancellable,
GError **error) {
g_return_val_if_fail(dictionary != NULL, FALSE);
g_return_val_if_fail(sourcelist != NULL, FALSE);
... | lw_edictionary_installer_postprocess | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
LwDictionary *lw_edictionary_new(const gchar *FILENAME) {
GType type;
GType v2;
long v3;
type = lw_dictionary_get_type();
v2 = lw_edictionary_get_type();
v3 = g_object_new(v2, "filename");
return (LwDictionary *)g_type_check_instance_cast(v3, type);
} | LwDictionary *lw_edictionary_new(const gchar *FILENAME) {
LwDictionary *dictionary;
dictionary = LW_DICTIONARY(
g_object_new(LW_TYPE_EDICTIONARY, "filename", FILENAME, NULL));
return dictionary;
} | lw_edictionary_new | gwaei-3.6.2 | app-dicts | O0/app-dicts/gwaei-3.6.2/libwaei.so.2.0.0 | ida | O0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.